Page 1 of 1

Problems

Posted: Fri Aug 06, 2004 16:21
by mickyoun
I throw(launch) the demo 7 with ogre 0.14.1 but the mistletoe(boom) does not display.

I look at the CEGUI.log and I notice one error:


Code: Select all

06/07/2004 15:55:11 (InfL2)   ---- Begining resource loading for GUI scheme 'TaharezDemo' ----
06/07/2004 15:55:11 (InfL2)   Imageset 'TaharezImagery' has been created from the information specified in file 'TaharezImageset.xml'.
06/07/2004 15:55:11 (Error)   Exception: Font::load - An unexpected error occurred while parsing Font file 'test_font.xml'.
06/07/2004 15:55:11 (Error)   Exception: WindowManager::getWindow - A Window object with the name 'OPAverageFPS' does not exist within the system
.
.
.
06/07/2004 15:55:12 (Error)   Exception: WindowManager::getWindow - A Window object with the name 'OPAverageFPS' does not exist within the system
06/07/2004 15:55:12 (InfL1)   ---- Begining CEGUI System destruction ----
06/07/2004 15:55:12 (InfL1)   ---- Begining cleanup of GUI Scheme system ----
06/07/2004 15:55:12 (InfL1)   CEGUI::SchemeManager singleton destroyed.
06/07/2004 15:55:12 (InfL1)   CEGUI::WindowManager singleton destroyed
06/07/2004 15:55:12 (InfL1)   CEGUI::WindowFactoryManager singleton destroyed
06/07/2004 15:55:12 (InfL1)   ---- Begining cleanup of Font system ----
06/07/2004 15:55:12 (InfL1)   CEGUI::FontManager singleton destroyed.
06/07/2004 15:55:12 (InfL1)   CEGUI::MouseCursor singleton destroyed.
06/07/2004 15:55:12 (InfL1)   ---- Begining cleanup of Imageset system ----
06/07/2004 15:55:12 (InfL2)   Imageset 'TaharezImagery' has been destroyed.
06/07/2004 15:55:12 (InfL1)   CEGUI::ImagesetManager singleton destroyed
06/07/2004 15:55:12 (InfL1)   CEGUI::System singleton destroyed.
06/07/2004 15:55:12 (InfL1)   ---- CEGUI System destruction completed ----
06/07/2004 15:55:12 (InfL1)   CEGUI::Logger singleton destroyed.


How I can resolve the probleme?

Problems

Posted: Fri Aug 06, 2004 17:10
by jwace81
That looks like the error you get when you have a mismatched Font.xsd file. Make sure that you get the .xsd files from the 'XMLRefSchema' directory of cegui_mk2

J.W.

Problems

Posted: Sat Aug 07, 2004 13:27
by mickyoun
I replaced xsd file and I view fps and logo but I don't see panel.

In CEGUI.log there are an error on:

(Error) Exception: Imageset::getImage - The Image named 'NewTitlebarLeft' could not be found in Imageset 'TaharezImagery'.


I view that when I compile and execute demo7:

Image

Problems

Posted: Sat Aug 07, 2004 13:42
by mickyoun
I modified TaharezImageset.xml because the name of components changed and several things were missing.

I send you modified TaharezImageset.xml:

http://mickyoun.free.fr/ogre/TaharezImageset.xml

Demo7 works very good :P beautiful work

Problems

Posted: Sat Aug 07, 2004 13:44
by CrazyEddie
Hi,

This is due to an out-of-date Imageset. You need the updated imageset from http://crazy-eddie.myby.co.uk/files/TaharezImageset.zip. Copy the files from this .zip over the old versions.

Sorry about all this file version confustion :) The problem is that various things have been changed since the demos were released, and so the files in the demo distribution are out of date when used with the latest code base.

HTH

CE.

Edit:
Hehe :) You fixed it while I was typing the reply! Thanks for the kind words ;)