I am trying to initialize CEGUI 0.6 on Mac OS X Leopard. I am using Ogre, so the code is that:
This Code causes the following errors:mGUIRenderer = new CEGUI::OgreCEGUIRenderer(mWindow, Ogre::RENDER_QUEUE_OVERLAY, false, 3000, mSceneMgr);
mGUISystem = new CEGUI::System(mGUIRenderer, 0, 0, 0, "", "cegui.log");
If I comment the CEGUI::System line (2) out, the following errors are displayed:terminate called after throwing an instance of 'CEGUI::GenericException'
(0) : fatal error C9999: *** exception during compilation ***
Cg compiler terminated due to fatal error
Exited with exit code: 15
If I leave both lines out, all works well without any error.Assertion failed: (ms_Singleton), function getSingleton, file CEGUISingleton.h, line 79.
(0) : fatal error C9999: *** exception during compilation ***
Cg compiler terminated due to fatal error
Exited with exit code: 15
I was not able to get the log file, because it will not be created, whatever path I write in the param list of System().
Can somebody help me fix these errors?
thanks
tobi11