Setting Cegui up with ogre
Posted: Thu Dec 11, 2008 20:37
Hello
Im trying to configure and initialize my ogre and cegui manually
im using this code to find the resources related to cegui
than initialize them with
this action gives no error but when i try to set up cegui with this line
it gives an file not found exception . Well but the files are inside!! and i initialised them : /
i'm doing something wrong but where? (the gui.zip file is in the same directory as the .exe of the file)
Im trying to configure and initialize my ogre and cegui manually
im using this code to find the resources related to cegui
Code: Select all
Ogre::ResourceGroupManager::getSingleton().addResourceLocation("gui.zip","Zip", "GUI");
than initialize them with
Code: Select all
Ogre::ResourceGroupManager::getSingleton().initialiseResourceGroup("GUI");
this action gives no error but when i try to set up cegui with this line
Code: Select all
CEGUI::SchemeManager::getSingleton().loadScheme((CEGUI::utf8*)"TaharezLook.scheme", (CEGUI::utf8*)"GUI");
it gives an file not found exception . Well but the files are inside!! and i initialised them : /
i'm doing something wrong but where? (the gui.zip file is in the same directory as the .exe of the file)