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

Problems building or running the engine, queries about how to use features etc.
Post Reply
User avatar
ahmedali
Gnome
Posts: 302
Joined: Fri Feb 20, 2004 8:52 pm
Location: Lahore, Pakistan

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

Post 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.

SOME FACTS
  • 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?
Last edited by ahmedali on Tue Jun 05, 2007 7:37 pm, edited 1 time in total.
User avatar
BRAINLESS
Goblin
Posts: 282
Joined: Tue Jan 04, 2005 6:56 pm
Location: The Netherlands

Post by BRAINLESS »

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...
Proud member of the OpenFRAG Game Development community
User avatar
ahmedali
Gnome
Posts: 302
Joined: Fri Feb 20, 2004 8:52 pm
Location: Lahore, Pakistan

Post 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.
User avatar
ahmedali
Gnome
Posts: 302
Joined: Fri Feb 20, 2004 8:52 pm
Location: Lahore, Pakistan

Post 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 ?
User avatar
ahmedali
Gnome
Posts: 302
Joined: Fri Feb 20, 2004 8:52 pm
Location: Lahore, Pakistan

Post by ahmedali »

Another thing Cegui is working in Release mode, not in debug.
User avatar
BRAINLESS
Goblin
Posts: 282
Joined: Tue Jan 04, 2005 6:56 pm
Location: The Netherlands

Post by BRAINLESS »

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?
Proud member of the OpenFRAG Game Development community
User avatar
ahmedali
Gnome
Posts: 302
Joined: Fri Feb 20, 2004 8:52 pm
Location: Lahore, Pakistan

Post by ahmedali »

Compiled from Ogre Soure Eihort 1.4.1 and the dependency package is also latest now.
User avatar
ahmedali
Gnome
Posts: 302
Joined: Fri Feb 20, 2004 8:52 pm
Location: Lahore, Pakistan

SOLVED

Post by ahmedali »

Well I just downloaded cegui sources and compiled myself. And thanks god its working now.
Post Reply