about the teste.cpp example

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

cocobear
Just popping in
Just popping in
Posts: 9
Joined: Wed Nov 12, 2008 08:21

about the teste.cpp example

Postby cocobear » Wed Dec 10, 2008 07:17

the example teste.cpp on wikidoesn't work at all.

I got a black window.

here CEGUI.log

[cocobear@cocobear ~]$ cat CEGUI.log
10/12/2008 15:15:53 (Std) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
10/12/2008 15:15:53 (Std) + Crazy Eddie's GUI System - Event log +
10/12/2008 15:15:53 (Std) + (http://www.cegui.org.uk/) +
10/12/2008 15:15:53 (Std) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

10/12/2008 15:15:53 (Std) CEGUI::Logger singleton created.
10/12/2008 15:15:53 (Std) ---- Begining CEGUI System initialisation ----
10/12/2008 15:15:53 (Std) CEGUI::ImagesetManager singleton created
10/12/2008 15:15:53 (Std) CEGUI::FontManager singleton created.
10/12/2008 15:15:53 (Std) CEGUI::WindowFactoryManager singleton created
10/12/2008 15:15:53 (Std) CEGUI::WindowManager singleton created
10/12/2008 15:15:53 (Std) CEGUI::SchemeManager singleton created.
10/12/2008 15:15:53 (Std) CEGUI::MouseCursor singleton created.
10/12/2008 15:15:53 (Std) CEGUI::GlobalEventSet singleton created.
10/12/2008 15:15:53 (Std) CEGUI::WidgetLookManager singleton created.
10/12/2008 15:15:53 (Std) CEGUI::WindowRendererManager singleton created
10/12/2008 15:15:53 (Std) WindowFactory for 'DefaultWindow' windows added.
10/12/2008 15:15:53 (Std) WindowFactory for 'DragContainer' windows added.
10/12/2008 15:15:53 (Std) WindowFactory for 'ScrolledContainer' windows added.
10/12/2008 15:15:53 (Std) WindowFactory for 'ClippedContainer' windows added.
10/12/2008 15:15:53 (Std) WindowFactory for 'CEGUI/Checkbox' windows added.
10/12/2008 15:15:53 (Std) WindowFactory for 'CEGUI/PushButton' windows added.
10/12/2008 15:15:53 (Std) WindowFactory for 'CEGUI/RadioButton' windows added.
10/12/2008 15:15:53 (Std) WindowFactory for 'CEGUI/Combobox' windows added.
10/12/2008 15:15:53 (Std) WindowFactory for 'CEGUI/ComboDropList' windows added.
10/12/2008 15:15:53 (Std) WindowFactory for 'CEGUI/Editbox' windows added.
10/12/2008 15:15:53 (Std) WindowFactory for 'CEGUI/FrameWindow' windows added.
10/12/2008 15:15:53 (Std) WindowFactory for 'CEGUI/ItemEntry' windows added.
10/12/2008 15:15:53 (Std) WindowFactory for 'CEGUI/Listbox' windows added.
10/12/2008 15:15:53 (Std) WindowFactory for 'CEGUI/ListHeader' windows added.
10/12/2008 15:15:53 (Std) WindowFactory for 'CEGUI/ListHeaderSegment' windows added.
10/12/2008 15:15:53 (Std) WindowFactory for 'CEGUI/Menubar' windows added.
10/12/2008 15:15:53 (Std) WindowFactory for 'CEGUI/PopupMenu' windows added.
10/12/2008 15:15:53 (Std) WindowFactory for 'CEGUI/MenuItem' windows added.
10/12/2008 15:15:53 (Std) WindowFactory for 'CEGUI/MultiColumnList' windows added.
10/12/2008 15:15:53 (Std) WindowFactory for 'CEGUI/MultiLineEditbox' windows added.
10/12/2008 15:15:53 (Std) WindowFactory for 'CEGUI/ProgressBar' windows added.
10/12/2008 15:15:53 (Std) WindowFactory for 'CEGUI/ScrollablePane' windows added.
10/12/2008 15:15:53 (Std) WindowFactory for 'CEGUI/Scrollbar' windows added.
10/12/2008 15:15:53 (Std) WindowFactory for 'CEGUI/Slider' windows added.
10/12/2008 15:15:53 (Std) WindowFactory for 'CEGUI/Spinner' windows added.
10/12/2008 15:15:53 (Std) WindowFactory for 'CEGUI/TabButton' windows added.
10/12/2008 15:15:53 (Std) WindowFactory for 'CEGUI/TabControl' windows added.
10/12/2008 15:15:53 (Std) WindowFactory for 'CEGUI/Thumb' windows added.
10/12/2008 15:15:53 (Std) WindowFactory for 'CEGUI/Titlebar' windows added.
10/12/2008 15:15:53 (Std) WindowFactory for 'CEGUI/Tooltip' windows added.
10/12/2008 15:15:53 (Std) WindowFactory for 'CEGUI/ItemListbox' windows added.
10/12/2008 15:15:53 (Std) WindowFactory for 'CEGUI/GroupBox' windows added.
10/12/2008 15:15:53 (Std) WindowFactory for 'CEGUI/Tree' windows added.
10/12/2008 15:15:53 (Std) Window type alias named 'DefaultGUISheet' added for window type 'DefaultWindow'.
10/12/2008 15:15:53 (Std) CEGUI::System singleton created.
10/12/2008 15:15:53 (Std) ---- CEGUI System initialisation completed ----
10/12/2008 15:15:53 (Std) ---- Version 0.6.1 ----
10/12/2008 15:15:53 (Std) ---- Renderer module is: CEGUI::OpenGLRenderer - Official OpenGL based renderer module for CEGUI ----
10/12/2008 15:15:53 (Std) ---- XML Parser module is: CEGUI::ExpatParser - Official expat based parser module for CEGUI ----
10/12/2008 15:15:53 (Std) ---- Scripting module is: None ----
[url][/url]

User avatar
scriptkid
Home away from home
Home away from home
Posts: 1178
Joined: Wed Jan 12, 2005 12:06
Location: The Hague, The Netherlands
Contact:

Postby scriptkid » Wed Dec 10, 2008 07:55

:D

The sample doesn't do anything besides showing you how to setup SDL and CEGUI together. It doesn't create any window or load a layout.

It might be an idea make the sample actually show something.
Check out my released snake game using Cegui!


Return to “Help”

Who is online

Users browsing this forum: No registered users and 2 guests