Page 1 of 1

CEGUI won't even intialize, unknown exception [SOLVED]

Posted: Mon Jun 04, 2007 10:01 pm
by ahmedali
My project is a pythonModule/DLL. Im using final Eihort downloaded source.

Code: Select all

mGUIRenderer = new CEGUI::OgreCEGUIRenderer(mWindow,
			Ogre::RENDER_QUEUE_OVERLAY, false, 3000, mSceneMgr);

// The project exits with unknown exception after this point
mGUISystem = new CEGUI::System(mGUIRenderer);
Both mWindow & mSceneMgr are valid and project works without any problem without CEGUI. But even in debug mode, I cant trace any proper cause.

  • using Eihort downloaded source
    Cegui works in both Release & Debug Samples and all other my exes.
    SceneMgr is OctreeSceneManager
    Im using EditableTerrainManager
    mGUIRenderer is a valid pointer
Any help?

Posted: Mon Jun 04, 2007 10:17 pm
Any chance you recently upgraded CEGUI, changed the headers and .lib, but forgot the DLL (or changed the DLL, but forgot the headers and .lib)? That's a mistake that will cause weird things like this...

Posted: Mon Jun 04, 2007 11:03 pm
by ahmedali
No but I upgrade from Eihort RC1 to latest release. But didnt downloaded the latest dependency package.
But if that was the problem, why all Cegui exe samples and projects are working fine in both Release/Debug. The issue may be something else.

Posted: Tue Jun 05, 2007 1:44 am
by ahmedali

Code: Select all

'pythonw.exe': Loaded 'E:\Libraries\ogre_erc1\ogrenew\Samples\Common\bin\Debug\CEGUIBase_d.dll', No symbols loaded.
'pythonw.exe': Loaded 'E:\Libraries\ogre_erc1\ogrenew\Samples\Common\bin\Debug\OgreGUIRenderer_d.dll', Symbols loaded.
No symbols loaded for CEGUIBase_d.dll ?

Posted: Tue Jun 05, 2007 10:08 am
by ahmedali
Another thing Cegui is working in Release mode, not in debug.

Posted: Tue Jun 05, 2007 10:20 am
So if you run your project in Release mode, it works fine, correct?

"No Symbols Loaded" means that it cannot find debug information for CEGUIBase_d.dll. You will usually only have a debug file if you've compiled the project yourself, so that's ok. You don't need debug information to run a DLL.

Did you compile Ogre from source, or did you use the SDK?

Posted: Tue Jun 05, 2007 11:22 am
by ahmedali
Compiled from Ogre Soure Eihort 1.4.1 and the dependency package is also latest now.


Posted: Tue Jun 05, 2007 7:36 pm
by ahmedali
Well I just downloaded cegui sources and compiled myself. And thanks god its working now.