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 » Mon Jun 04, 2007 10:01 pm

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.
0 x

User avatar
BRAINLESS
Goblin
Posts: 282
Joined: Tue Jan 04, 2005 6:56 pm
Location: The Netherlands

Post by BRAINLESS » 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...
0 x
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 » Mon Jun 04, 2007 11:03 pm

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.
0 x

User avatar
ahmedali
Gnome
Posts: 302
Joined: Fri Feb 20, 2004 8:52 pm
Location: Lahore, Pakistan

Post by ahmedali » Tue Jun 05, 2007 1:44 am

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 ?
0 x

User avatar
ahmedali
Gnome
Posts: 302
Joined: Fri Feb 20, 2004 8:52 pm
Location: Lahore, Pakistan

Post by ahmedali » Tue Jun 05, 2007 10:08 am

Another thing Cegui is working in Release mode, not in debug.
0 x

User avatar
BRAINLESS
Goblin
Posts: 282
Joined: Tue Jan 04, 2005 6:56 pm
Location: The Netherlands

Post by BRAINLESS » 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?
0 x
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 » Tue Jun 05, 2007 11:22 am

Compiled from Ogre Soure Eihort 1.4.1 and the dependency package is also latest now.
0 x

User avatar
ahmedali
Gnome
Posts: 302
Joined: Fri Feb 20, 2004 8:52 pm
Location: Lahore, Pakistan

SOLVED

Post by ahmedali » Tue Jun 05, 2007 7:36 pm

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

Post Reply