mrmclovin
04-01-2009 19:44:11
Hello,
I have a resource group defined in resources.cfg.
The group is called 'gui' (notice only lower cases).
I define the resource groups in ogre startup.
Im initializing MyGUI with:
At this point I receive an exception.
Notice the uppercase 'G'. Where does that come from?
The last couple of lines in mygui log:
I can't find any place in my code where I've literally written 'Gui'...only 'gui'.
I have a resource group defined in resources.cfg.
[gui]
FileSystem=../media/gameproject/gui
The group is called 'gui' (notice only lower cases).
I define the resource groups in ogre startup.
Im initializing MyGUI with:
mGui->initialise(Ogre::Root::getSingletonPtr()->getAutoCreatedWindow(), "core.xml", "gui");
At this point I receive an exception.
OGRE EXCEPTION(5:ItemIdentityException): Cannot locate a resource group called 'Gui' in ResourceGroupManager::findResourceFileInfo at f:\codingextra\ogre\shoggoth_vc9\ogre\ogremain\src\ogreresourcegroupmanager.cpp
Notice the uppercase 'G'. Where does that come from?
The last couple of lines in mygui log:
[...]
20:28:37 | General | Info | DelegateManager successfully initialized | c:\development\sdk\mygui\myguiengine\src\mygui_delegatemanager.cpp | 21
20:28:37 | General | Info | * Initialise: LanguageManager | c:\development\sdk\mygui\myguiengine\src\mygui_languagemanager.cpp | 21
20:28:37 | General | Info | LanguageManager successfully initialized | c:\development\sdk\mygui\myguiengine\src\mygui_languagemanager.cpp | 28
20:28:37 | General | Info | Load ini file 'core.lang' from resource group : Gui | c:\development\sdk\mygui\myguiengine\src\mygui_resourcemanager.cpp | 155
I can't find any place in my code where I've literally written 'Gui'...only 'gui'.