Crash during load of layout specified in CEGUI tutorial

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

User avatar
davesh
Not too shy to talk
Not too shy to talk
Posts: 36
Joined: Fri Feb 03, 2006 22:59

Crash during load of layout specified in CEGUI tutorial

Postby davesh » Tue Feb 07, 2006 14:55

I am continuing to work through the first steps of learning to create, load, and utilize GUI layouts.

I've attempted to load the layout specified in the tutorial located here: http://www.cegui.org.uk/wiki/index.php/ ... GUI_Window

For the sake of expedience I include the layout file here:

[color=000099]<?xml version="1.0" ?>
<GUILayout>
<Window Type=”DefaultWindow” Name=”root”>
<Window Type=”TaharezLook/FrameWindow” Name=”testWindow”>
<Property Name=”Position” Value=”x:0.25 y:0.25” />
<Property Name=”Size” Value=”w:0.5 h:0.5” />
<!-- with CEGUI >= 0.4.0 you can and should use instead:
<Property Name="UnifiedPosition" Value="{{0.25,0},{0.25,0}}" />
<Property Name="UnifiedSize" Value="{{0.5,0},{0.5,0}}" />
-->
<Property Name=”Text” Value=”Hello World!” />
</Window>
</Window>
</GUILayout>
[/color]


My program crashes. I know the problem is in the layout, not the program (I have layouts that load just fine).

I took a snapshot of the window that pops up during the crash is attached.

Could someone please tell me what is wrong with this layout.

Additionally, given that the tutorial seems to be broken someone may wish to fix the layout file in the tutorial. Though I'm a new CEGUI user, I will offer to help fix any such problems with the tutorials. Please let me know how I can help. Finally can someone please tell me whether the log file (included below) has sufficient information to understand the issue with the layout file (I don't see it).

The content of the CEGUI log file follows:

[color=000099]

07/02/2006 09:42:21 (InfL1) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
07/02/2006 09:42:21 (InfL1) + Crazy Eddie's GUI System - Event log +
07/02/2006 09:42:21 (InfL1) + (http://www.cegui.org.uk/) +
07/02/2006 09:42:21 (InfL1) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

07/02/2006 09:42:21 (InfL1) CEGUI::Logger singleton created.
07/02/2006 09:42:21 (InfL1) ---- Begining CEGUI System initialisation ----
07/02/2006 09:42:21 (InfL1) CEGUI::ImagesetManager singleton created
07/02/2006 09:42:21 (InfL1) CEGUI::FontManager singleton created.
07/02/2006 09:42:21 (InfL1) CEGUI::WindowFactoryManager singleton created
07/02/2006 09:42:21 (InfL1) CEGUI::WindowManager singleton created
07/02/2006 09:42:21 (InfL1) CEGUI::SchemeManager singleton created.
07/02/2006 09:42:21 (InfL1) CEGUI::MouseCursor singleton created.
07/02/2006 09:42:21 (InfL1) CEGUI::GlobalEventSet singleton created.
07/02/2006 09:42:21 (InfL1) WindowFactory for 'DefaultWindow' windows added.
07/02/2006 09:42:21 (InfL1) WindowFactory for 'DragContainer' windows added.
07/02/2006 09:42:21 (InfL1) WindowFactory for 'ScrolledContainer' windows added.
07/02/2006 09:42:21 (InfL1) Window type alias named 'DefaultGUISheet' added for window type 'DefaultWindow'.
07/02/2006 09:42:21 (InfL1) CEGUI::System singleton created.
07/02/2006 09:42:21 (InfL1) ---- CEGUI System initialisation completed ----
07/02/2006 09:42:21 (InfL1) Attempting to load Scheme from file 'TaharezLook.scheme'.
07/02/2006 09:42:21 (InfL2) Started creation of Scheme 'TaharezLook' via XML file.
07/02/2006 09:42:21 (InfL2) Finished creation of Scheme 'TaharezLook' via XML file.
07/02/2006 09:42:21 (InfL2) Loaded GUI scheme 'TaharezLook' from data in file 'TaharezLook.scheme'.
07/02/2006 09:42:21 (InfL2) ---- Begining resource loading for GUI scheme 'TaharezLook' ----
07/02/2006 09:42:21 (InfL1) Attempting to create an Imageset from the information specified in file 'TaharezLook.imageset'.
07/02/2006 09:42:21 (InfL2) Started creation of Imageset 'TaharezLook' via XML file.
07/02/2006 09:42:21 (InfL2) Finished creation of Imageset 'TaharezLook' via XML file.
07/02/2006 09:42:21 (InfL1) Attempting to create Font from the information specified in file 'tahoma-12.font'.
07/02/2006 09:42:21 (InfL2) Started creation of Font 'Tahoma-12' via XML file.
07/02/2006 09:42:21 (InfL1) Attempting to create Imageset 'Tahoma-12_auto_glyph_images' with texture only.
07/02/2006 09:42:21 (InfL2) Font 'Tahoma-12' now has the following glyphs defined: ' !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~'.
07/02/2006 09:42:21 (InfL2) Finished creation of Font 'Tahoma-12' via XML file.
07/02/2006 09:42:21 (InfL1) WindowFactory for 'TaharezLook/AlternateProgressBar' windows added.
07/02/2006 09:42:21 (InfL1) WindowFactory for 'TaharezLook/Button' windows added.
07/02/2006 09:42:21 (InfL1) WindowFactory for 'TaharezLook/Checkbox' windows added.
07/02/2006 09:42:21 (InfL1) WindowFactory for 'TaharezLook/CloseButton' windows added.
07/02/2006 09:42:21 (InfL1) WindowFactory for 'TaharezLook/Combobox' windows added.
07/02/2006 09:42:21 (InfL1) WindowFactory for 'TaharezLook/ComboDropList' windows added.
07/02/2006 09:42:21 (InfL1) WindowFactory for 'TaharezLook/ComboEditbox' windows added.
07/02/2006 09:42:21 (InfL1) WindowFactory for 'TaharezLook/Editbox' windows added.
07/02/2006 09:42:21 (InfL1) WindowFactory for 'TaharezLook/FrameWindow' windows added.
07/02/2006 09:42:21 (InfL1) WindowFactory for 'TaharezLook/LargeVerticalScrollbar' windows added.
07/02/2006 09:42:21 (InfL1) WindowFactory for 'TaharezLook/LargeVerticalScrollbarThumb' windows added.
07/02/2006 09:42:21 (InfL1) WindowFactory for 'TaharezLook/Listbox' windows added.
07/02/2006 09:42:21 (InfL1) WindowFactory for 'TaharezLook/ListHeader' windows added.
07/02/2006 09:42:21 (InfL1) WindowFactory for 'TaharezLook/ListHeaderSegment' windows added.
07/02/2006 09:42:21 (InfL1) WindowFactory for 'TaharezLook/HorizontalScrollbar' windows added.
07/02/2006 09:42:21 (InfL1) WindowFactory for 'TaharezLook/HorizontalScrollbarThumb' windows added.
07/02/2006 09:42:21 (InfL1) WindowFactory for 'TaharezLook/MultiColumnList' windows added.
07/02/2006 09:42:21 (InfL1) WindowFactory for 'TaharezLook/MultiLineEditbox' windows added.
07/02/2006 09:42:21 (InfL1) WindowFactory for 'TaharezLook/ProgressBar' windows added.
07/02/2006 09:42:21 (InfL1) WindowFactory for 'TaharezLook/RadioButton' windows added.
07/02/2006 09:42:21 (InfL1) WindowFactory for 'TaharezLook/Slider' windows added.
07/02/2006 09:42:21 (InfL1) WindowFactory for 'TaharezLook/SliderThumb' windows added.
07/02/2006 09:42:21 (InfL1) WindowFactory for 'TaharezLook/StaticImage' windows added.
07/02/2006 09:42:21 (InfL1) WindowFactory for 'TaharezLook/StaticText' windows added.
07/02/2006 09:42:21 (InfL1) WindowFactory for 'TaharezLook/TabButton' windows added.
07/02/2006 09:42:21 (InfL1) WindowFactory for 'TaharezLook/TabControl' windows added.
07/02/2006 09:42:21 (InfL1) WindowFactory for 'TaharezLook/TabPane' windows added.
07/02/2006 09:42:21 (InfL1) WindowFactory for 'TaharezLook/Titlebar' windows added.
07/02/2006 09:42:21 (InfL1) WindowFactory for 'TaharezLook/VerticalScrollbar' windows added.
07/02/2006 09:42:21 (InfL1) WindowFactory for 'TaharezLook/VerticalScrollbarThumb' windows added.
07/02/2006 09:42:21 (InfL1) WindowFactory for 'TaharezLook/VUMeter' windows added.
07/02/2006 09:42:21 (InfL2) ---- Resource loading for GUI scheme 'TaharezLook' completed ----
07/02/2006 09:42:21 (InfL2) ---- Beginning loading of GUI layout from 'C:/Documents and Settings/sam/Desktop/3d/OgreApps/Tutorial6/test1.layout' ----
[/color]

Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 2 guests