I spent all day getting the libraries all working @_@
I'm using the 0.4.1 version of CEGUI that's tailored to 2005, since I didn't see a 2008.
anywayz, the first problem I'm having is this error message:
Code: Select all
Unhandled exception at 0x7c812a5b in World Writer.exe: Microsoft C++ exception: CEGUI::InvalidRequestException at memory location 0x0012ee58..
The offending code (line that crashes is commented):
Code: Select all
CEGUI::OpenGLRenderer* Renderer = new CEGUI::OpenGLRenderer(0);
new CEGUI::System(Renderer);
CEGUI::SchemeManager::getSingleton().loadScheme("../datafiles/schemes/WindowsLook.scheme"); // THIS IS THE LINE
CEGUI::FontManager::getSingleton().createFont("../datafiles/fonts/Commonwealth-10.font");
System::getSingleton().setDefaultMouseCursor("WindowsLook", "MouseArrow");
The CEGUI.log:
Code: Select all
02/02/2008 20:08:42 (InfL1) Attempting to load Scheme from file '../datafiles/schemes/WindowsLook.scheme'.
02/02/2008 20:08:42 (Error) Exception: DefaultResourceProvider::load - ../datafiles/schemes/WindowsLook.scheme does not exist
02/02/2008 20:08:42 (Error) Scheme::Scheme - loading of Scheme from file '../datafiles/schemes/WindowsLook.scheme' failed.
This is the code I used in 6.0. The thing that's bothering me is that I literally copied the datafiles folder hierarchy from my MSVC 6 project to this 2008 one... so no directories have been changed that I can see..
Any hints? ^^;