Code: Select all
CEGUI::OgreRenderer &renderer = CEGUI::OgreRenderer::bootstrapSystem (*mRenderWindow);
CEGUI::System::create (renderer);
The RenderWindow passed is correct as the game works correctly without CEGUI. This is the assertion error:
Assertion Failed!
Expression: !ms_Singleton
System::create () creates the System Object but inside its constructor it dies.
_wassert(const wchar_t * expr=0x010fb3ec, const wchar_t * filename=0x01328ad0, unsigned int lineno=73) Line 335 C
CEGUI::Singleton<CEGUI::System>::Singleton<CEGUI::System>() Line 73 + 0x1a bytes C++
> CEGUI::System::System(CEGUI::Renderer & renderer={...}, CEGUI::ResourceProvider * resourceProvider=0x00000000, CEGUI::XMLParser * xmlParser=0x00000000, CEGUI::ImageCodec * imageCodec=0x00000000, CEGUI::ScriptModule * scriptModule=0x00000000, const CEGUI::String & configFile={...}, const CEGUI::String & logFile={...}) Line 229 + 0x54 bytes C++
CEGUI::System::create(CEGUI::Renderer & renderer={...}, CEGUI::ResourceProvider * resourceProvider=0x00000000, CEGUI::XMLParser * xmlParser=0x00000000, CEGUI::ImageCodec * imageCodec=0x00000000, CEGUI::ScriptModule * scriptModule=0x00000000, const CEGUI::String & configFile={...}, const CEGUI::String & logFile={...}) Line 1823 + 0x4a bytes C++
Running a debug build, statically linked. Log says nothing.