[SOLVED] CEGUI throws CEGUI::GenericException

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

pighead10
Just popping in
Just popping in
Posts: 8
Joined: Fri Jan 21, 2011 15:43

[SOLVED] CEGUI throws CEGUI::GenericException

Postby pighead10 » Fri Jan 21, 2011 17:52

I'm working on the basic tutorial 7, having just spent ages building CEGUI and getting all the dlls and libs to build and putting them in the correct place. It's still not working, although I'm not sure if it's because of missing dlls or libs. I've configuring the project correctly.

Visual Studio 2010 pulls up this code when it throws the exception:

Code: Select all

// check for library load failure
    if (!d_handle)
        CEGUI_THROW(GenericException(
            "DynamicModule::DynamicModule - Failed to load module '" +
            d_moduleName + "': " + getFailureString()));


Hope someone can help!

Here is the output from the debug:

Code: Select all

'BasicTutorial7.exe': Loaded 'C:\Users\Samuel and Oliver\OgreSDK\bin\debug\BasicTutorial7.exe', Symbols loaded.
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\ntdll.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\kernel32.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\KernelBase.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Users\Samuel and Oliver\OgreSDK\bin\debug\OgreMain_d.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\user32.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\gdi32.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\lpk.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\usp10.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\msvcrt.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\advapi32.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\sechost.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\rpcrt4.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\sspicli.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\cryptbase.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\msvcp100d.dll', Symbols loaded.
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\msvcr100d.dll', Symbols loaded.
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\ws2_32.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\nsi.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Users\Samuel and Oliver\OgreSDK\bin\debug\OIS_d.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\dinput8.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Users\Samuel and Oliver\OgreSDK\bin\debug\CEGUIOgreRenderer_d.dll', Symbols loaded.
'BasicTutorial7.exe': Loaded 'C:\Users\Samuel and Oliver\OgreSDK\bin\debug\CEGUIBase_d.dll', Symbols loaded.
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\winmm.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\shlwapi.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\imm32.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\msctf.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Users\Samuel and Oliver\OgreSDK\bin\debug\RenderSystem_Direct3D9_d.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\d3d9.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\version.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\d3d8thk.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\dwmapi.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\D3DX9_42.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\uxtheme.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\atiumdag.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\atiumdva.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Users\Samuel and Oliver\OgreSDK\bin\debug\RenderSystem_GL_d.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\glu32.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\opengl32.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\ddraw.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\dciman32.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\setupapi.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\cfgmgr32.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\oleaut32.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\ole32.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\devobj.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Program Files (x86)\McAfee\SiteAdvisor\sahook.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\atioglxx.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\atiadlxy.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\wintrust.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\crypt32.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\msasn1.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Users\Samuel and Oliver\OgreSDK\bin\debug\Plugin_ParticleFX_d.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Users\Samuel and Oliver\OgreSDK\bin\debug\Plugin_BSPSceneManager_d.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Users\Samuel and Oliver\OgreSDK\bin\debug\Plugin_CgProgramManager_d.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Users\Samuel and Oliver\OgreSDK\bin\debug\cg.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Users\Samuel and Oliver\OgreSDK\bin\debug\Plugin_PCZSceneManager_d.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Users\Samuel and Oliver\OgreSDK\bin\debug\Plugin_OctreeZone_d.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Users\Samuel and Oliver\OgreSDK\bin\debug\Plugin_OctreeSceneManager_d.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Windows\winsxs\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7600.16661_none_420fe3fa2b8113bd\comctl32.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\clbcatq.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Unloaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll'
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Unloaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll'
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Unloaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll'
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Unloaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll'
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Unloaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll'
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Unloaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll'
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Unloaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll'
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Unloaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll'
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Unloaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll'
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Unloaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll'
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Unloaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll'
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Unloaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll'
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Unloaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll'
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Unloaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll'
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Unloaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll'
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Unloaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll'
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Unloaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll'
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Unloaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll'
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Unloaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll'
First-chance exception at 0x75b8b727 in BasicTutorial7.exe: Microsoft C++ exception: Ogre::InvalidParametersException at memory location 0x001edfd0..
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Unloaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll'
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Unloaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll'
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Unloaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll'
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Unloaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll'
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Unloaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll'
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Unloaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll'
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Unloaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll'
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Unloaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll'
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Unloaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll'
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Unloaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll'
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Unloaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll'
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Unloaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll'
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Unloaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll'
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Unloaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll'
First-chance exception at 0x75b8b727 in BasicTutorial7.exe: Microsoft C++ exception: Ogre::InternalErrorException at memory location 0x001eaf1c..
First-chance exception at 0x75b8b727 in BasicTutorial7.exe: Microsoft C++ exception: Ogre::InternalErrorException at memory location 0x001eaf1c..
First-chance exception at 0x75b8b727 in BasicTutorial7.exe: Microsoft C++ exception: Ogre::InternalErrorException at memory location 0x001eaf1c..
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Unloaded 'C:\Windows\SysWOW64\D3DCompiler_42.dll'
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\hid.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\ntmarta.dll', Cannot find or open the PDB file
'BasicTutorial7.exe': Loaded 'C:\Windows\SysWOW64\Wldap32.dll', Cannot find or open the PDB file
First-chance exception at 0x75b8b727 in BasicTutorial7.exe: Microsoft C++ exception: CEGUI::GenericException at memory location 0x001ec810..
Unhandled exception at 0x75b8b727 in BasicTutorial7.exe: Microsoft C++ exception: CEGUI::GenericException at memory location 0x001ec810..
The program '[1704] BasicTutorial7.exe: Native' has exited with code -529697949 (0xe06d7363).
Last edited by pighead10 on Fri Jan 21, 2011 20:48, edited 1 time in total.

User avatar
Kulik
CEGUI Team
Posts: 1382
Joined: Mon Jul 26, 2010 18:47
Location: Czech Republic
Contact:

Re: CEGUI throws CEGUI::GenericException

Postby Kulik » Fri Jan 21, 2011 19:51

Please post your CEGUI.log!

The exception message should be there. If it's not, just encapsulate the code with try&catch and get the message yourself. I think some of the dlls aren't in the path (expat, SILLY, ...). Once you get which of the modules isn't loading, you can examine it with depends.exe to find out what it's missing.

pighead10
Just popping in
Just popping in
Posts: 8
Joined: Fri Jan 21, 2011 15:43

Re: CEGUI throws CEGUI::GenericException

Postby pighead10 » Fri Jan 21, 2011 20:48

I couldn't find my log file!

Anyways, I fixed it by looking at another thread about the same thread (OMG SEARCH BAR). Yep, I was missing quite a few DLLs...


Return to “Help”

Who is online

Users browsing this forum: Baidu [Spider] and 16 guests