Exception of the example

ugagisroy

08-03-2011 04:15:13

I got one problem running the examples

it breaks in:

renderTexture = TextureManager::getSingleton().createManual()................


Unhandled exception at 0x75c79617 in Example1- TreeLoader3D.exe. Microsoft C++ exception: Ogre::ItemIdentityException at memory location...


Any suggestions will be appreciated.

gloomykeel

07-04-2011 12:21:56

I'v met the same Exception.
the Ogre.log says OGRE EXCEPTION(5:ItemIdentityException): Cannot find a group named Impostors in ResourceGroupManager::isResourceGroupInitialised at ..\..\..\..\OgreMain\src\OgreResourceGroupManager.cpp (line 1889)

Surely, there's no resourcegroup named Impostors in the Examples.

To solve this we just have to create the resourceGroup Impostors and here is my solution (Example1,for example):
//Example1.cpp line 155
ResourceGroupManager::getSingleton().addResourceLocation("../../media/grass", "FileSystem");
+ ResourceGroupManager::getSingleton().createResourceGroup("Impostors");
ResourceGroupManager::getSingleton().initialiseAllResourceGroups();


Other examples can be fixed like this.

alterfritz

08-04-2011 06:45:09

I think I had the same problem with version 1.05 and downloading the latest one with the cmake stuff solved the problem, but I am not sure.

m2codeGEN

31-05-2011 20:18:34

Try last version