Page 1 of 1

CEGUI + HGE

Posted: Mon Dec 18, 2006 00:48
by DaiShiva
I'm trying to get CEGUI and HGE working together with the hgeRenderer previously created. The original link is broken, I got them from this link.

I run my program, and its failing on the System initialization line:
[code]
CEGUI::HgeRenderer* hgeRenderer= new CEGUI::HgeRenderer();
new CEGUI::System(hgeRenderer);
[code]

The error is not obvious as to what is wrong. All the output window says is:
Unhandled exception at 0x7c59bc81 in sample.exe: Microsoft C++ exception: CEGUI::GenericException at memory location 0x0012e208..

I'm thinking I might need to put all the CEGUI sources in my project so I can see what is throwing the exception, and the sheer number of sources makes it quite intimidating.

Posted: Mon Dec 18, 2006 07:17
by lindquist
Take a look inside CEGUI.log.
CEGUI exceptions should log their message!

Posted: Tue Dec 19, 2006 07:32
by DaiShiva
Hmmm, sounds like there are problems with my quick setup then. There is no CEGUI.log file being created.

Posted: Wed Dec 20, 2006 00:36
by DaiShiva
It's crashing while loading the dynamic modules (ceguisystem.cpp line 184) probably because I didnt copy over the dll files required for setting up the XML parser.

Since there is no log file at that time, perhaps the logger should be set to print to stderr?