Jump to content
  • Advertisement
Sign in to follow this  
jonathanc

Some problems with OGRE SDK

This topic is 3326 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi all, First of all, I'm sorry if this is a trivial question. I have spent hours on this but still can't seem to find a solution. I have an old project that was compiled with the 1.4.9 version of Ogre with the addon MyGUI. I have downloaded the new version of Ogre (1.6.4) on this PC and decide to recompile the code. I had minor problems in the start but managed to actually compile but the program won't run. It won't render anything on the screen. Just opens a window and then crash. I checked Ogre.log and there's some errors that I have no clue how to rectify. Below are the errors from the Ogre log :
23:36:17: Parsing script DOF.material
23:36:17: Compiler error: object name expected in DOF.material(55)

23:36:18: Parsing script OffsetMapping.material
23:36:18: Compiler error: object unsupported by render system in OffsetMapping.material(18)

23:36:17: Parsing script Examples-Advanced.material
23:36:17: Compiler error: object unsupported by render system in Examples-Advanced.material(648)
23:36:17: Compiler error: number expected in Examples-Advanced.material(679): incorrect float constant declaration

23:36:17: Compiler error: object name expected in DOF.material(55)
23:36:20: Texture: Blockade.jpg: Loading 1 faces(PF_R8G8B8,1024x1024x1) with 5 generated mipmaps from Image. Internal format is PF_X8R8G8B8,1024x1024x1.

00:03:15: Mesh: Loading Blockade.mesh.
00:03:15: Texture: Blockade.jpg: Loading 1 faces(PF_R8G8B8,1024x1024x1) with 5 generated mipmaps from Image. Internal format is PF_X8R8G8B8,1024x1024x1.

00:03:15: Mesh: Loading Metal1.mesh.
00:03:15: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource Metal in resource group General or any other group. in ResourceGroupManager::openResource at f:\codingextra\ogre\shoggoth_vc8\ogre\ogremain\src\ogreresourcegroupmanager.cpp (line 763)

00:03:15: Error loading texture Metal. Texture layer will be blank. Loading the texture failed with the following exception: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource Metal in resource group General or any other group. in ResourceGroupManager::openResource at f:\codingextra\ogre\shoggoth_vc8\ogre\ogremain\src\ogreresourcegroupmanager.cpp (line 763)

00:03:15: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource Metal in resource group General or any other group. in ResourceGroupManager::openResource at f:\codingextra\ogre\shoggoth_vc8\ogre\ogremain\src\ogreresourcegroupmanager.cpp (line 763)

00:03:15: Error loading texture Metal. Texture layer will be blank. Loading the texture failed with the following exception: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource Metal in resource group General or any other group. in ResourceGroupManager::openResource at f:\codingextra\ogre\shoggoth_vc8\ogre\ogremain\src\ogreresourcegroupmanager.cpp (line 763)

00:03:15: Mesh: Loading Material1.mesh.
00:03:15: Texture: MaterialPlanet.jpg: Loading 1 faces(PF_R8G8B8,1024x1024x1) with 5 generated mipmaps from Image. Internal format is PF_X8R8G8B8,1024x1024x1.

00:03:15: Mesh: Loading String1.mesh.
00:03:16: Texture: String1.jpg: Loading 1 faces(PF_R8G8B8,1024x1024x1) with 5 generated mipmaps from Image. Internal format is PF_X8R8G8B8,1024x1024x1.

00:03:16: Mesh: Loading OrgPlanet.mesh.
00:03:16: Texture: Org.jpg: Loading 1 faces(PF_R8G8B8,1024x1024x1) with 5 generated mipmaps from Image. Internal format is PF_X8R8G8B8,1024x1024x1.
(This is the last line in the log)
The first 3 errors can be "fixed" by deleting the relevant .material files from the scripts folder. However, I can't seem to remedy the errors after that. I have double checked and I am sure that Metal.jpg is in the media/models folder but that doesn't seem to help. I have tried to remove Metal1.mesh but then I get a window saying the resource cannot be located. Any advice/input welcomed. Thank you.

Share this post


Link to post
Share on other sites
Advertisement
This thread's a little old, so I hope you figured it out. In case you haven't, though, did you create the models/materials/textures you're trying to load? How did you do it?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!