Trouble loading a scheme
Posted: Sat Apr 16, 2005 00:00
Hello there, I've recently started using CEGui for the project I'm involved in but have run into a few problems.
As you may guess from the title my problem lies with attempting to load a scheme file as I get an exception thrown. I have the CEGUI::System initialised ok but when I call SchemeManager::loadScheme() it all goes wrong.
I'm using CEGui with OGRE and have checked that the scheme files are located correctly and are being found, here's the log in case it helps:
15/04/2005 23:56:27 (InfL1) CEGUI::Logger singleton created.
15/04/2005 23:56:27 (InfL1) ---- Begining CEGUI System initialisation ----
15/04/2005 23:56:27 (InfL1) CEGUI::ImagesetManager singleton created
15/04/2005 23:56:27 (InfL1) CEGUI::FontManager singleton created.
15/04/2005 23:56:27 (InfL1) CEGUI::WindowFactoryManager singleton created
15/04/2005 23:56:27 (InfL1) CEGUI::WindowManager singleton created
15/04/2005 23:56:27 (InfL1) CEGUI::SchemeManager singleton created.
15/04/2005 23:56:27 (InfL1) CEGUI::MouseCursor singleton created.
15/04/2005 23:56:27 (InfL1) CEGUI::GlobalEventSet singleton created.
15/04/2005 23:56:27 (InfL1) WindowFactory for 'DefaultWindow' windows added.
15/04/2005 23:56:27 (InfL1) Window type alias named 'DefaultGUISheet' added for window type 'DefaultWindow'.
15/04/2005 23:56:27 (InfL1) CEGUI::System singleton created.
15/04/2005 23:56:27 (InfL1) ---- CEGUI System initialisation completed ----
15/04/2005 23:56:27 (InfL1) Attempting to load Scheme from file 'TaharezLook.scheme'.
15/04/2005 23:56:27 (InfL1) Attempting to create an Imageset from the information specified in file 'TaharezLook.imageset'.
15/04/2005 23:56:27 (InfL1) Attempting to create Font from the information specified in file 'tahoma-12.font'.
15/04/2005 23:56:27 (InfL1) Attempting to create Imageset 'Tahoma-12_auto_glyph_images' with texture only.
15/04/2005 23:56:27 (Error) Exception: FactoryModule::FactoryModule - Failed to load module 'CEGUITaharezLook'.
I am a novice to this having only started looking into CEGui seriously a few days ago so I apologise in advance if I've missed anything obvious.
One thing to note is the data files (.scheme etc) were taken from a GUI demo which worked fine, I haven't modified them at all, I've checked the contents of the files to make sure they don't contain any invalid directory information so I'm really puzzled as to why this isn't working.
Any help is greatly appreciated.
As you may guess from the title my problem lies with attempting to load a scheme file as I get an exception thrown. I have the CEGUI::System initialised ok but when I call SchemeManager::loadScheme() it all goes wrong.
I'm using CEGui with OGRE and have checked that the scheme files are located correctly and are being found, here's the log in case it helps:
15/04/2005 23:56:27 (InfL1) CEGUI::Logger singleton created.
15/04/2005 23:56:27 (InfL1) ---- Begining CEGUI System initialisation ----
15/04/2005 23:56:27 (InfL1) CEGUI::ImagesetManager singleton created
15/04/2005 23:56:27 (InfL1) CEGUI::FontManager singleton created.
15/04/2005 23:56:27 (InfL1) CEGUI::WindowFactoryManager singleton created
15/04/2005 23:56:27 (InfL1) CEGUI::WindowManager singleton created
15/04/2005 23:56:27 (InfL1) CEGUI::SchemeManager singleton created.
15/04/2005 23:56:27 (InfL1) CEGUI::MouseCursor singleton created.
15/04/2005 23:56:27 (InfL1) CEGUI::GlobalEventSet singleton created.
15/04/2005 23:56:27 (InfL1) WindowFactory for 'DefaultWindow' windows added.
15/04/2005 23:56:27 (InfL1) Window type alias named 'DefaultGUISheet' added for window type 'DefaultWindow'.
15/04/2005 23:56:27 (InfL1) CEGUI::System singleton created.
15/04/2005 23:56:27 (InfL1) ---- CEGUI System initialisation completed ----
15/04/2005 23:56:27 (InfL1) Attempting to load Scheme from file 'TaharezLook.scheme'.
15/04/2005 23:56:27 (InfL1) Attempting to create an Imageset from the information specified in file 'TaharezLook.imageset'.
15/04/2005 23:56:27 (InfL1) Attempting to create Font from the information specified in file 'tahoma-12.font'.
15/04/2005 23:56:27 (InfL1) Attempting to create Imageset 'Tahoma-12_auto_glyph_images' with texture only.
15/04/2005 23:56:27 (Error) Exception: FactoryModule::FactoryModule - Failed to load module 'CEGUITaharezLook'.
I am a novice to this having only started looking into CEGui seriously a few days ago so I apologise in advance if I've missed anything obvious.
One thing to note is the data files (.scheme etc) were taken from a GUI demo which worked fine, I haven't modified them at all, I've checked the contents of the files to make sure they don't contain any invalid directory information so I'm really puzzled as to why this isn't working.
Any help is greatly appreciated.