CEGUI::UnknownObjectException unknown imagery section Carat

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

umen
Not too shy to talk
Not too shy to talk
Posts: 26
Joined: Mon Sep 12, 2011 08:24

CEGUI::UnknownObjectException unknown imagery section Carat

Postby umen » Fri Sep 23, 2011 15:28

Hi (sorry about so many question)
i have simple editbox component in my GUI , when it try's to load it im getting this exception :

Code: Select all

23/09/2011 17:58:08 (Std)    Attempting to create Imageset 'DejaVuSans-10_auto_glyph_images_ ' with texture only.
23/09/2011 17:58:09 (Error)   CEGUI::UnknownObjectException in file h:\cpp\3d\cegui-0.7.5\cegui-0.7.5_tinyxml\cegui\src\falagard\ceguifalwidgetlookfeel.cpp(64) : WidgetLookFeel::getImagerySection - unknown imagery section 'Carat' in look 'TaharezLook/Editbox'.


when i remove it from the code , all working good.
here is the log file

Code: Select all

23/09/2011 17:57:55 (Std)    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
23/09/2011 17:57:55 (Std)    +                     Crazy Eddie's GUI System - Event log                    +
23/09/2011 17:57:55 (Std)    +                          (http://www.cegui.org.uk/)                         +
23/09/2011 17:57:55 (Std)    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

23/09/2011 17:57:55 (Std)    CEGUI::Logger singleton created. (092E3B18)
23/09/2011 17:57:55 (Std)    
23/09/2011 17:57:55 (Std)    ********************************************************************************
23/09/2011 17:57:55 (Std)    * Important:                                                                   *
23/09/2011 17:57:55 (Std)    *     To get support at the CEGUI forums, you must post _at least_ the section *
23/09/2011 17:57:55 (Std)    *     of this log file indicated below.  Failure to do this will result in no  *
23/09/2011 17:57:55 (Std)    *     support being given; please do not waste our time.                       *
23/09/2011 17:57:55 (Std)    ********************************************************************************
23/09/2011 17:57:55 (Std)    ********************************************************************************
23/09/2011 17:57:55 (Std)    * -------- START OF ESSENTIAL SECTION TO BE POSTED ON THE FORUM       -------- *
23/09/2011 17:57:55 (Std)    ********************************************************************************
23/09/2011 17:57:55 (Std)    ---- Version 0.7.5 (Build: Sep 23 2011 Static Debug Microsoft Windows MSVC++ 9.0 32 bit) ----
23/09/2011 17:57:55 (Std)    ---- Renderer module is: CEGUI::OpenGLRenderer - Official OpenGL based 2nd generation renderer module.  TextureTarget support enabled via WGL_ARB_pbuffer. ----
23/09/2011 17:57:55 (Std)    ---- XML Parser module is: CEGUI::TinyXMLParser - Official tinyXML based parser module for CEGUI ----
23/09/2011 17:57:55 (Std)    ---- Image Codec module is: DevILImageCodec - Official DevIL based image codec ----
23/09/2011 17:57:55 (Std)    ---- Scripting module is: None ----
23/09/2011 17:57:55 (Std)    ********************************************************************************
23/09/2011 17:57:55 (Std)    * -------- END OF ESSENTIAL SECTION TO BE POSTED ON THE FORUM         -------- *
23/09/2011 17:57:55 (Std)    ********************************************************************************
23/09/2011 17:57:55 (Std)    
23/09/2011 17:57:55 (Std)    ---- Begining CEGUI System initialisation ----
23/09/2011 17:57:55 (Std)    CEGUI::ImagesetManager singleton created (092E3A00)
23/09/2011 17:57:55 (Std)    CEGUI::FontManager singleton created. (092E4B50)
23/09/2011 17:57:55 (Std)    CEGUI::WindowFactoryManager singleton created
23/09/2011 17:57:55 (Std)    CEGUI::WindowManager singleton created (092E2588)
23/09/2011 17:57:55 (Std)    CEGUI::SchemeManager singleton created. (092E55C8)
23/09/2011 17:57:55 (Std)    CEGUI::MouseCursor singleton created. (092D9848)
23/09/2011 17:57:55 (Std)    CEGUI::GlobalEventSet singleton created. (092DF128)
23/09/2011 17:57:55 (Std)    CEGUI::AnimationManager singleton created (092DECF8)
23/09/2011 17:57:55 (Std)    CEGUI::WidgetLookManager singleton created. (092E4408)
23/09/2011 17:57:55 (Std)    CEGUI::WindowRendererManager singleton created (092D3240)
23/09/2011 17:57:55 (Std)    CEGUI::RenderEffectManager singleton created (092E45F8)
23/09/2011 17:57:55 (Std)    Created WindowFactory for 'DefaultWindow' windows.
23/09/2011 17:57:55 (Std)    WindowFactory for 'DefaultWindow' windows added. (092D61C8)
23/09/2011 17:57:55 (Std)    Created WindowFactory for 'DragContainer' windows.
23/09/2011 17:57:55 (Std)    WindowFactory for 'DragContainer' windows added. (092E8068)
23/09/2011 17:57:55 (Std)    Created WindowFactory for 'ScrolledContainer' windows.
23/09/2011 17:57:55 (Std)    WindowFactory for 'ScrolledContainer' windows added. (092E8228)
23/09/2011 17:57:55 (Std)    Created WindowFactory for 'ClippedContainer' windows.
23/09/2011 17:57:55 (Std)    WindowFactory for 'ClippedContainer' windows added. (092E83E8)
23/09/2011 17:57:55 (Std)    Created WindowFactory for 'CEGUI/Checkbox' windows.
23/09/2011 17:57:55 (Std)    WindowFactory for 'CEGUI/Checkbox' windows added. (092E85A8)
23/09/2011 17:57:56 (Std)    Created WindowFactory for 'CEGUI/PushButton' windows.
23/09/2011 17:57:56 (Std)    WindowFactory for 'CEGUI/PushButton' windows added. (092E8768)
23/09/2011 17:57:56 (Std)    Created WindowFactory for 'CEGUI/RadioButton' windows.
23/09/2011 17:57:56 (Std)    WindowFactory for 'CEGUI/RadioButton' windows added. (092E8928)
23/09/2011 17:57:56 (Std)    Created WindowFactory for 'CEGUI/Combobox' windows.
23/09/2011 17:57:56 (Std)    WindowFactory for 'CEGUI/Combobox' windows added. (092E8AE8)
23/09/2011 17:57:56 (Std)    Created WindowFactory for 'CEGUI/ComboDropList' windows.
23/09/2011 17:57:56 (Std)    WindowFactory for 'CEGUI/ComboDropList' windows added. (092E8CA8)
23/09/2011 17:57:56 (Std)    Created WindowFactory for 'CEGUI/Editbox' windows.
23/09/2011 17:57:56 (Std)    WindowFactory for 'CEGUI/Editbox' windows added. (092E8E68)
23/09/2011 17:57:56 (Std)    Created WindowFactory for 'CEGUI/FrameWindow' windows.
23/09/2011 17:57:56 (Std)    WindowFactory for 'CEGUI/FrameWindow' windows added. (092E9028)
23/09/2011 17:57:56 (Std)    Created WindowFactory for 'CEGUI/ItemEntry' windows.
23/09/2011 17:57:56 (Std)    WindowFactory for 'CEGUI/ItemEntry' windows added. (092E91E8)
23/09/2011 17:57:56 (Std)    Created WindowFactory for 'CEGUI/Listbox' windows.
23/09/2011 17:57:56 (Std)    WindowFactory for 'CEGUI/Listbox' windows added. (092E93A8)
23/09/2011 17:57:56 (Std)    Created WindowFactory for 'CEGUI/ListHeader' windows.
23/09/2011 17:57:56 (Std)    WindowFactory for 'CEGUI/ListHeader' windows added. (092E9568)
23/09/2011 17:57:56 (Std)    Created WindowFactory for 'CEGUI/ListHeaderSegment' windows.
23/09/2011 17:57:56 (Std)    WindowFactory for 'CEGUI/ListHeaderSegment' windows added. (092E9728)
23/09/2011 17:57:56 (Std)    Created WindowFactory for 'CEGUI/Menubar' windows.
23/09/2011 17:57:56 (Std)    WindowFactory for 'CEGUI/Menubar' windows added. (092E99B8)
23/09/2011 17:57:56 (Std)    Created WindowFactory for 'CEGUI/PopupMenu' windows.
23/09/2011 17:57:56 (Std)    WindowFactory for 'CEGUI/PopupMenu' windows added. (092E9B78)
23/09/2011 17:57:56 (Std)    Created WindowFactory for 'CEGUI/MenuItem' windows.
23/09/2011 17:57:56 (Std)    WindowFactory for 'CEGUI/MenuItem' windows added. (092E9D38)
23/09/2011 17:57:56 (Std)    Created WindowFactory for 'CEGUI/MultiColumnList' windows.
23/09/2011 17:57:56 (Std)    WindowFactory for 'CEGUI/MultiColumnList' windows added. (092E9EF8)
23/09/2011 17:57:56 (Std)    Created WindowFactory for 'CEGUI/MultiLineEditbox' windows.
23/09/2011 17:57:56 (Std)    WindowFactory for 'CEGUI/MultiLineEditbox' windows added. (092EA0B8)
23/09/2011 17:57:56 (Std)    Created WindowFactory for 'CEGUI/ProgressBar' windows.
23/09/2011 17:57:56 (Std)    WindowFactory for 'CEGUI/ProgressBar' windows added. (092EA278)
23/09/2011 17:57:56 (Std)    Created WindowFactory for 'CEGUI/ScrollablePane' windows.
23/09/2011 17:57:56 (Std)    WindowFactory for 'CEGUI/ScrollablePane' windows added. (092EA438)
23/09/2011 17:57:56 (Std)    Created WindowFactory for 'CEGUI/Scrollbar' windows.
23/09/2011 17:57:56 (Std)    WindowFactory for 'CEGUI/Scrollbar' windows added. (092EA5F8)
23/09/2011 17:57:56 (Std)    Created WindowFactory for 'CEGUI/Slider' windows.
23/09/2011 17:57:56 (Std)    WindowFactory for 'CEGUI/Slider' windows added. (092EA7B8)
23/09/2011 17:57:56 (Std)    Created WindowFactory for 'CEGUI/Spinner' windows.
23/09/2011 17:57:56 (Std)    WindowFactory for 'CEGUI/Spinner' windows added. (092EA978)
23/09/2011 17:57:56 (Std)    Created WindowFactory for 'CEGUI/TabButton' windows.
23/09/2011 17:57:56 (Std)    WindowFactory for 'CEGUI/TabButton' windows added. (092EAB38)
23/09/2011 17:57:56 (Std)    Created WindowFactory for 'CEGUI/TabControl' windows.
23/09/2011 17:57:56 (Std)    WindowFactory for 'CEGUI/TabControl' windows added. (092EACF8)
23/09/2011 17:57:56 (Std)    Created WindowFactory for 'CEGUI/Thumb' windows.
23/09/2011 17:57:56 (Std)    WindowFactory for 'CEGUI/Thumb' windows added. (092EAEB8)
23/09/2011 17:57:56 (Std)    Created WindowFactory for 'CEGUI/Titlebar' windows.
23/09/2011 17:57:56 (Std)    WindowFactory for 'CEGUI/Titlebar' windows added. (092EB078)
23/09/2011 17:57:56 (Std)    Created WindowFactory for 'CEGUI/Tooltip' windows.
23/09/2011 17:57:56 (Std)    WindowFactory for 'CEGUI/Tooltip' windows added. (092EB320)
23/09/2011 17:57:56 (Std)    Created WindowFactory for 'CEGUI/ItemListbox' windows.
23/09/2011 17:57:56 (Std)    WindowFactory for 'CEGUI/ItemListbox' windows added. (092EB4E0)
23/09/2011 17:57:56 (Std)    Created WindowFactory for 'CEGUI/GroupBox' windows.
23/09/2011 17:57:56 (Std)    WindowFactory for 'CEGUI/GroupBox' windows added. (092EB6A0)
23/09/2011 17:57:56 (Std)    Created WindowFactory for 'CEGUI/Tree' windows.
23/09/2011 17:57:56 (Std)    WindowFactory for 'CEGUI/Tree' windows added. (092EB860)
23/09/2011 17:57:56 (Std)    Created WindowFactory for 'HorizontalLayoutContainer' windows.
23/09/2011 17:57:56 (Std)    WindowFactory for 'HorizontalLayoutContainer' windows added. (092EBA20)
23/09/2011 17:57:56 (Std)    Created WindowFactory for 'VerticalLayoutContainer' windows.
23/09/2011 17:57:56 (Std)    WindowFactory for 'VerticalLayoutContainer' windows added. (092EBBE0)
23/09/2011 17:57:56 (Std)    Created WindowFactory for 'GridLayoutContainer' windows.
23/09/2011 17:57:56 (Std)    WindowFactory for 'GridLayoutContainer' windows added. (092EBDA0)
23/09/2011 17:57:56 (Std)    Window type alias named 'DefaultGUISheet' added for window type 'DefaultWindow'.
23/09/2011 17:57:56 (Std)    CEGUI::System singleton created. (092E3668)
23/09/2011 17:57:56 (Std)    ---- CEGUI System initialisation completed ----
23/09/2011 17:57:56 (Std)    
23/09/2011 17:57:56 (Std)    Started creation of Scheme from XML specification:
23/09/2011 17:57:56 (Std)    ---- CEGUI GUIScheme name: TaharezLook
23/09/2011 17:57:56 (Std)    Started creation of Imageset from XML specification:
23/09/2011 17:57:56 (Std)    ---- CEGUI Imageset name: TaharezLook
23/09/2011 17:57:56 (Std)    ---- Source texture file: TaharezLook.tga in resource group: (Default)
23/09/2011 17:57:56 (Std)    Started creation of Font from XML specification:
23/09/2011 17:57:56 (Std)    ---- CEGUI font name: DejaVuSans-10
23/09/2011 17:57:56 (Std)    ----       Font type: FreeType
23/09/2011 17:57:56 (Std)    ----     Source file: DejaVuSans.ttf in resource group: (Default)
23/09/2011 17:57:56 (Std)    ---- Real point size: 10
23/09/2011 17:57:57 (Std)    ===== Falagard 'root' element: look and feel parsing begins =====
23/09/2011 17:57:57 (Std)    ===== Look and feel parsing completed =====
23/09/2011 17:57:58 (Std)    No window renderer factories specified for module 'CEGUIFalagardWRBase' - adding all available factories...
23/09/2011 17:57:58 (Std)    Created WindowRendererFactory for 'Falagard/Button' WindowRenderers.
23/09/2011 17:57:58 (Std)    WindowRendererFactory 'Falagard/Button' added. (0C56CA18)
23/09/2011 17:57:58 (Std)    Created WindowRendererFactory for 'Falagard/Default' WindowRenderers.
23/09/2011 17:57:58 (Std)    WindowRendererFactory 'Falagard/Default' added. (0C495CB8)
23/09/2011 17:57:58 (Std)    Created WindowRendererFactory for 'Falagard/Editbox' WindowRenderers.
23/09/2011 17:57:58 (Std)    WindowRendererFactory 'Falagard/Editbox' added. (09363C58)
23/09/2011 17:57:58 (Std)    Created WindowRendererFactory for 'Falagard/FrameWindow' WindowRenderers.
23/09/2011 17:57:58 (Std)    WindowRendererFactory 'Falagard/FrameWindow' added. (09375018)
23/09/2011 17:57:58 (Std)    Created WindowRendererFactory for 'Falagard/ItemEntry' WindowRenderers.
23/09/2011 17:57:58 (Std)    WindowRendererFactory 'Falagard/ItemEntry' added. (0C572D48)
23/09/2011 17:57:58 (Std)    Created WindowRendererFactory for 'Falagard/ListHeader' WindowRenderers.
23/09/2011 17:57:58 (Std)    WindowRendererFactory 'Falagard/ListHeader' added. (0C1E0B60)
23/09/2011 17:57:58 (Std)    Created WindowRendererFactory for 'Falagard/ListHeaderSegment' WindowRenderers.
23/09/2011 17:57:58 (Std)    WindowRendererFactory 'Falagard/ListHeaderSegment' added. (0C1E0E88)
23/09/2011 17:57:58 (Std)    Created WindowRendererFactory for 'Falagard/Listbox' WindowRenderers.
23/09/2011 17:57:58 (Std)    WindowRendererFactory 'Falagard/Listbox' added. (0C556298)
23/09/2011 17:57:58 (Std)    Created WindowRendererFactory for 'Falagard/Menubar' WindowRenderers.
23/09/2011 17:57:58 (Std)    WindowRendererFactory 'Falagard/Menubar' added. (0C5728B8)
23/09/2011 17:57:58 (Std)    Created WindowRendererFactory for 'Falagard/MenuItem' WindowRenderers.
23/09/2011 17:57:58 (Std)    WindowRendererFactory 'Falagard/MenuItem' added. (0C499BB8)
23/09/2011 17:57:58 (Std)    Created WindowRendererFactory for 'Falagard/MultiColumnList' WindowRenderers.
23/09/2011 17:57:58 (Std)    WindowRendererFactory 'Falagard/MultiColumnList' added. (0C571A70)
23/09/2011 17:57:58 (Std)    Created WindowRendererFactory for 'Falagard/MultiLineEditbox' WindowRenderers.
23/09/2011 17:57:58 (Std)    WindowRendererFactory 'Falagard/MultiLineEditbox' added. (0C578010)
23/09/2011 17:57:58 (Std)    Created WindowRendererFactory for 'Falagard/PopupMenu' WindowRenderers.
23/09/2011 17:57:58 (Std)    WindowRendererFactory 'Falagard/PopupMenu' added. (0C4E3468)
23/09/2011 17:57:58 (Std)    Created WindowRendererFactory for 'Falagard/ProgressBar' WindowRenderers.
23/09/2011 17:57:58 (Std)    WindowRendererFactory 'Falagard/ProgressBar' added. (0C2B1DF0)
23/09/2011 17:57:58 (Std)    Created WindowRendererFactory for 'Falagard/ScrollablePane' WindowRenderers.
23/09/2011 17:57:58 (Std)    WindowRendererFactory 'Falagard/ScrollablePane' added. (0C349D98)
23/09/2011 17:57:58 (Std)    Created WindowRendererFactory for 'Falagard/Scrollbar' WindowRenderers.
23/09/2011 17:57:58 (Std)    WindowRendererFactory 'Falagard/Scrollbar' added. (0C36A028)
23/09/2011 17:57:58 (Std)    Created WindowRendererFactory for 'Falagard/Slider' WindowRenderers.
23/09/2011 17:57:58 (Std)    WindowRendererFactory 'Falagard/Slider' added. (0C36A1E8)
23/09/2011 17:57:58 (Std)    Created WindowRendererFactory for 'Falagard/Static' WindowRenderers.
23/09/2011 17:57:58 (Std)    WindowRendererFactory 'Falagard/Static' added. (0C556AD0)
23/09/2011 17:57:58 (Std)    Created WindowRendererFactory for 'Falagard/StaticImage' WindowRenderers.
23/09/2011 17:57:58 (Std)    WindowRendererFactory 'Falagard/StaticImage' added. (0C572508)
23/09/2011 17:57:58 (Std)    Created WindowRendererFactory for 'Falagard/StaticText' WindowRenderers.
23/09/2011 17:57:58 (Std)    WindowRendererFactory 'Falagard/StaticText' added. (0C5726C8)
23/09/2011 17:57:58 (Std)    Created WindowRendererFactory for 'Falagard/SystemButton' WindowRenderers.
23/09/2011 17:57:58 (Std)    WindowRendererFactory 'Falagard/SystemButton' added. (0C57D870)
23/09/2011 17:57:58 (Std)    Created WindowRendererFactory for 'Falagard/TabButton' WindowRenderers.
23/09/2011 17:57:58 (Std)    WindowRendererFactory 'Falagard/TabButton' added. (0C365028)
23/09/2011 17:57:58 (Std)    Created WindowRendererFactory for 'Falagard/TabControl' WindowRenderers.
23/09/2011 17:57:58 (Std)    WindowRendererFactory 'Falagard/TabControl' added. (0C3651E8)
23/09/2011 17:57:58 (Std)    Created WindowRendererFactory for 'Falagard/Titlebar' WindowRenderers.
23/09/2011 17:57:58 (Std)    WindowRendererFactory 'Falagard/Titlebar' added. (0937C5F8)
23/09/2011 17:57:58 (Std)    Created WindowRendererFactory for 'Falagard/ToggleButton' WindowRenderers.
23/09/2011 17:57:58 (Std)    WindowRendererFactory 'Falagard/ToggleButton' added. (0C495DF0)
23/09/2011 17:57:58 (Std)    Created WindowRendererFactory for 'Falagard/Tooltip' WindowRenderers.
23/09/2011 17:57:58 (Std)    WindowRendererFactory 'Falagard/Tooltip' added. (0C495FB0)
23/09/2011 17:57:58 (Std)    Created WindowRendererFactory for 'Falagard/ItemListbox' WindowRenderers.
23/09/2011 17:57:58 (Std)    WindowRendererFactory 'Falagard/ItemListbox' added. (0C587BF8)
23/09/2011 17:57:58 (Std)    Created WindowRendererFactory for 'Falagard/Tree' WindowRenderers.
23/09/2011 17:57:58 (Std)    WindowRendererFactory 'Falagard/Tree' added. (0C587DB8)
23/09/2011 17:57:58 (Std)    Creating falagard mapping for type 'TaharezLook/Button' using base type 'CEGUI/PushButton', window renderer 'Falagard/Button' Look'N'Feel 'TaharezLook/Button' and RenderEffect ''. (0012BFC8)
23/09/2011 17:57:58 (Std)    Creating falagard mapping for type 'TaharezLook/Checkbox' using base type 'CEGUI/Checkbox', window renderer 'Falagard/ToggleButton' Look'N'Feel 'TaharezLook/Checkbox' and RenderEffect ''. (0012BFC8)
23/09/2011 17:57:58 (Std)    Creating falagard mapping for type 'TaharezLook/ImageButton' using base type 'CEGUI/PushButton', window renderer 'Falagard/Button' Look'N'Feel 'TaharezLook/ImageButton' and RenderEffect ''. (0012BFC8)
23/09/2011 17:57:58 (Std)    Creating falagard mapping for type 'TaharezLook/RadioButton' using base type 'CEGUI/RadioButton', window renderer 'Falagard/ToggleButton' Look'N'Feel 'TaharezLook/RadioButton' and RenderEffect ''. (0012BFC8)
23/09/2011 17:57:58 (Std)    Creating falagard mapping for type 'TaharezLook/FrameWindow' using base type 'CEGUI/FrameWindow', window renderer 'Falagard/FrameWindow' Look'N'Feel 'TaharezLook/FrameWindow' and RenderEffect ''. (0012BFC8)
23/09/2011 17:57:58 (Std)    Creating falagard mapping for type 'TaharezLook/Titlebar' using base type 'CEGUI/Titlebar', window renderer 'Falagard/Titlebar' Look'N'Feel 'TaharezLook/Titlebar' and RenderEffect ''. (0012BFC8)
23/09/2011 17:57:58 (Std)    Creating falagard mapping for type 'TaharezLook/SystemButton' using base type 'CEGUI/PushButton', window renderer 'Falagard/Button' Look'N'Feel 'TaharezLook/Button' and RenderEffect ''. (0012BFC8)
23/09/2011 17:57:58 (Std)    Creating falagard mapping for type 'TaharezLook/Editbox' using base type 'CEGUI/Editbox', window renderer 'Falagard/Editbox' Look'N'Feel 'TaharezLook/Editbox' and RenderEffect ''. (0012BFC8)
23/09/2011 17:57:58 (Std)    Creating falagard mapping for type 'TaharezLook/MultiLineEditbox' using base type 'CEGUI/MultiLineEditbox', window renderer 'Falagard/MultiLineEditbox' Look'N'Feel 'TaharezLook/MultiLineEditbox' and RenderEffect ''. (0012BFC8)
23/09/2011 17:57:58 (Std)    Creating falagard mapping for type 'TaharezLook/Menubar' using base type 'CEGUI/Menubar', window renderer 'Falagard/Menubar' Look'N'Feel 'TaharezLook/Menubar' and RenderEffect ''. (0012BFC8)
23/09/2011 17:57:58 (Std)    Creating falagard mapping for type 'TaharezLook/PopupMenu' using base type 'CEGUI/PopupMenu', window renderer 'Falagard/PopupMenu' Look'N'Feel 'TaharezLook/PopupMenu' and RenderEffect ''. (0012BFC8)
23/09/2011 17:57:58 (Std)    Creating falagard mapping for type 'TaharezLook/MenuItem' using base type 'CEGUI/MenuItem', window renderer 'Falagard/MenuItem' Look'N'Feel 'TaharezLook/MenuItem' and RenderEffect ''. (0012BFC8)
23/09/2011 17:57:58 (Std)    Creating falagard mapping for type 'TaharezLook/AlternateProgressBar' using base type 'CEGUI/ProgressBar', window renderer 'Falagard/ProgressBar' Look'N'Feel 'TaharezLook/AltProgressBar' and RenderEffect ''. (0012BFC8)
23/09/2011 17:57:58 (Std)    Creating falagard mapping for type 'TaharezLook/ProgressBar' using base type 'CEGUI/ProgressBar', window renderer 'Falagard/ProgressBar' Look'N'Feel 'TaharezLook/ProgressBar' and RenderEffect ''. (0012BFC8)
23/09/2011 17:57:58 (Std)    Creating falagard mapping for type 'TaharezLook/VUMeter' using base type 'CEGUI/ProgressBar', window renderer 'Falagard/ProgressBar' Look'N'Feel 'TaharezLook/VUMeter' and RenderEffect ''. (0012BFC8)
23/09/2011 17:57:58 (Std)    Creating falagard mapping for type 'TaharezLook/VerticalScrollbar' using base type 'CEGUI/Scrollbar', window renderer 'Falagard/Scrollbar' Look'N'Feel 'TaharezLook/VerticalScrollbar' and RenderEffect ''. (0012BFC8)
23/09/2011 17:57:58 (Std)    Creating falagard mapping for type 'TaharezLook/HorizontalScrollbar' using base type 'CEGUI/Scrollbar', window renderer 'Falagard/Scrollbar' Look'N'Feel 'TaharezLook/HorizontalScrollbar' and RenderEffect ''. (0012BFC8)
23/09/2011 17:57:58 (Std)    Creating falagard mapping for type 'TaharezLook/VerticalScrollbarThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' Look'N'Feel 'TaharezLook/VerticalScrollbarThumb' and RenderEffect ''. (0012BFC8)
23/09/2011 17:57:58 (Std)    Creating falagard mapping for type 'TaharezLook/HorizontalScrollbarThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' Look'N'Feel 'TaharezLook/HorizontalScrollbarThumb' and RenderEffect ''. (0012BFC8)
23/09/2011 17:57:58 (Std)    Creating falagard mapping for type 'TaharezLook/LargeVerticalScrollbar' using base type 'CEGUI/Scrollbar', window renderer 'Falagard/Scrollbar' Look'N'Feel 'TaharezLook/LargeVerticalScrollbar' and RenderEffect ''. (0012BFC8)
23/09/2011 17:57:58 (Std)    Creating falagard mapping for type 'TaharezLook/LargeVerticalScrollbarThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' Look'N'Feel 'TaharezLook/LargeVerticalScrollbarThumb' and RenderEffect ''. (0012BFC8)
23/09/2011 17:57:58 (Std)    Creating falagard mapping for type 'TaharezLook/TabButton' using base type 'CEGUI/TabButton', window renderer 'Falagard/TabButton' Look'N'Feel 'TaharezLook/TabButton' and RenderEffect ''. (0012BFC8)
23/09/2011 17:57:58 (Std)    Creating falagard mapping for type 'TaharezLook/TabControl' using base type 'CEGUI/TabControl', window renderer 'Falagard/TabControl' Look'N'Feel 'TaharezLook/TabControl' and RenderEffect ''. (0012BFC8)
23/09/2011 17:57:58 (Std)    Creating falagard mapping for type 'TaharezLook/TabContentPane' using base type 'DefaultWindow', window renderer 'Falagard/Default' Look'N'Feel 'TaharezLook/TabContentPane' and RenderEffect ''. (0012BFC8)
23/09/2011 17:57:58 (Std)    Creating falagard mapping for type 'TaharezLook/TabButtonPane' using base type 'DefaultWindow', window renderer 'Falagard/Default' Look'N'Feel 'TaharezLook/TabButtonPane' and RenderEffect ''. (0012BFC8)
23/09/2011 17:57:58 (Std)    Creating falagard mapping for type 'TaharezLook/ComboDropList' using base type 'CEGUI/ComboDropList', window renderer 'Falagard/Listbox' Look'N'Feel 'TaharezLook/ComboDropList' and RenderEffect ''. (0012BFC8)
23/09/2011 17:57:58 (Std)    Creating falagard mapping for type 'TaharezLook/ComboEditbox' using base type 'CEGUI/Editbox', window renderer 'Falagard/Editbox' Look'N'Feel 'TaharezLook/ComboEditbox' and RenderEffect ''. (0012BFC8)
23/09/2011 17:57:58 (Std)    Creating falagard mapping for type 'TaharezLook/Combobox' using base type 'CEGUI/Combobox', window renderer 'Falagard/Default' Look'N'Feel 'TaharezLook/Combobox' and RenderEffect ''. (0012BFC8)
23/09/2011 17:57:58 (Std)    Creating falagard mapping for type 'TaharezLook/Listbox' using base type 'CEGUI/Listbox', window renderer 'Falagard/Listbox' Look'N'Feel 'TaharezLook/Listbox' and RenderEffect ''. (0012BFC8)
23/09/2011 17:57:58 (Std)    Creating falagard mapping for type 'TaharezLook/ListHeader' using base type 'CEGUI/ListHeader', window renderer 'Falagard/ListHeader' Look'N'Feel 'TaharezLook/ListHeader' and RenderEffect ''. (0012BFC8)
23/09/2011 17:57:58 (Std)    Creating falagard mapping for type 'TaharezLook/ListHeaderSegment' using base type 'CEGUI/ListHeaderSegment', window renderer 'Falagard/ListHeaderSegment' Look'N'Feel 'TaharezLook/ListHeaderSegment' and RenderEffect ''. (0012BFC8)
23/09/2011 17:57:58 (Std)    Creating falagard mapping for type 'TaharezLook/MultiColumnList' using base type 'CEGUI/MultiColumnList', window renderer 'Falagard/MultiColumnList' Look'N'Feel 'TaharezLook/MultiColumnList' and RenderEffect ''. (0012BFC8)
23/09/2011 17:57:58 (Std)    Creating falagard mapping for type 'TaharezLook/Slider' using base type 'CEGUI/Slider', window renderer 'Falagard/Slider' Look'N'Feel 'TaharezLook/Slider' and RenderEffect ''. (0012BFC8)
23/09/2011 17:57:58 (Std)    Creating falagard mapping for type 'TaharezLook/SliderThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' Look'N'Feel 'TaharezLook/SliderThumb' and RenderEffect ''. (0012BFC8)
23/09/2011 17:57:58 (Std)    Creating falagard mapping for type 'TaharezLook/ScrollablePane' using base type 'CEGUI/ScrollablePane', window renderer 'Falagard/ScrollablePane' Look'N'Feel 'TaharezLook/ScrollablePane' and RenderEffect ''. (0012BFC8)
23/09/2011 17:57:58 (Std)    Creating falagard mapping for type 'TaharezLook/Spinner' using base type 'CEGUI/Spinner', window renderer 'Falagard/Default' Look'N'Feel 'TaharezLook/Spinner' and RenderEffect ''. (0012BFC8)
23/09/2011 17:57:58 (Std)    Creating falagard mapping for type 'TaharezLook/Tooltip' using base type 'CEGUI/Tooltip', window renderer 'Falagard/Tooltip' Look'N'Feel 'TaharezLook/Tooltip' and RenderEffect ''. (0012BFC8)
23/09/2011 17:57:58 (Std)    Creating falagard mapping for type 'TaharezLook/StaticImage' using base type 'DefaultWindow', window renderer 'Falagard/StaticImage' Look'N'Feel 'TaharezLook/StaticImage' and RenderEffect ''. (0012BFC8)
23/09/2011 17:57:58 (Std)    Creating falagard mapping for type 'TaharezLook/StaticText' using base type 'DefaultWindow', window renderer 'Falagard/StaticText' Look'N'Feel 'TaharezLook/StaticText' and RenderEffect ''. (0012BFC8)
23/09/2011 17:57:58 (Std)    Creating falagard mapping for type 'TaharezLook/ItemListbox' using base type 'CEGUI/ItemListbox', window renderer 'Falagard/ItemListbox' Look'N'Feel 'TaharezLook/ItemListbox' and RenderEffect ''. (0012BFC8)
23/09/2011 17:57:58 (Std)    Creating falagard mapping for type 'TaharezLook/ListboxItem' using base type 'CEGUI/ItemEntry', window renderer 'Falagard/ItemEntry' Look'N'Feel 'TaharezLook/ListboxItem' and RenderEffect ''. (0012BFC8)
23/09/2011 17:57:58 (Std)    Creating falagard mapping for type 'TaharezLook/GroupBox' using base type 'CEGUI/GroupBox', window renderer 'Falagard/Default' Look'N'Feel 'TaharezLook/GroupBox' and RenderEffect ''. (0012BFC8)
23/09/2011 17:57:58 (Std)    Creating falagard mapping for type 'TaharezLook/Tree' using base type 'CEGUI/Tree', window renderer 'Falagard/Tree' Look'N'Feel 'TaharezLook/Tree' and RenderEffect ''. (0012BFC8)
23/09/2011 17:58:08 (Std)    Attempting to create Imageset 'DejaVuSans-10_auto_glyph_images_ ' with texture only.
23/09/2011 17:58:09 (Error)   CEGUI::UnknownObjectException in file h:\cpp\3d\cegui-0.7.5\cegui-0.7.5_tinyxml\cegui\src\falagard\ceguifalwidgetlookfeel.cpp(64) : WidgetLookFeel::getImagerySection - unknown imagery section 'Carat' in look 'TaharezLook/Editbox'.



and here is the code of my example ( look for HERE IS THE PROBLEMATIC CODE string ) :

Code: Select all

//
// GLSAMPLE.CPP
//  by Blaine Hodge
//
// Includes
#include <windows.h>
#include <gl/gl.h>
#include <CEGUI.h>
#include <RendererModules/OpenGL/CEGUIOpenGLRenderer.h>
#define PATH_MAX 256
//#define CEGUI_DATAPATH "cegui/datafiles"
#define CEGUI_DATAPATH "H:/cpp/3d/glsample/cegui/datafiles"
GLuint   base;            // Base Display List For The Font Set
GLfloat   cnt1;            // 1st Counter Used To Move Text & For Coloring
GLfloat   cnt2;            // 2nd Counter Used To Move Text & For Coloring
 
// Function Declarations
LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
void EnableOpenGL(HWND hWnd, HDC * hDC, HGLRC * hRC);
void DisableOpenGL(HWND hWnd, HDC hDC, HGLRC hRC);
 
// WinMain
// Win32 MessageProc callback
using namespace CEGUI;
bool d_mouseInWindow = false;
bool bCeguiRender = true;
CEGUI::OpenGLRenderer* d_renderer;
CEGUI::GeometryBuffer* d_fps_geometry;
WNDCLASS wc ;
HWND hWnd =NULL ;
HDC hDC =NULL ;
HGLRC hRC =NULL;
MSG msg;
BOOL quit = FALSE;
float theta = 0.0f;
 
char *getDataPathPrefix()
{
   static char dataPathPrefix[PATH_MAX];
   strcpy(dataPathPrefix,CEGUI_DATAPATH);
   return dataPathPrefix;
}
void mouseEnters()
{
    if (!d_mouseInWindow)
    {
        d_mouseInWindow = true;
        ShowCursor(false);
    }
}
void mouseLeaves()
{
    if (d_mouseInWindow)
    {
        d_mouseInWindow = false;
        ShowCursor(true);
    }
}
bool handleCloseFrame(const CEGUI::EventArgs&)
{
    using namespace CEGUI;
    FrameWindow * frameWindow = static_cast<CEGUI::FrameWindow*>(CEGUI::WindowManager::getSingleton().getWindow("InputNamewin"));
   frameWindow->destroy();
   bCeguiRender = false;
   ShowCursor(true);
    return true;
}
bool handleAddUserName(const CEGUI::EventArgs&)
{
    using namespace CEGUI;
   
     Editbox* idbox = static_cast<Editbox*>(WindowManager::getSingleton().getWindow("NewInputIDBox"));
     String sStr = idbox->getText();
     std::string sStlStr(sStr.c_str());
     idbox->setText("");
     FrameWindow * frameWindow = static_cast<CEGUI::FrameWindow*>(CEGUI::WindowManager::getSingleton().getWindow("InputNamewin"));
    frameWindow->destroy();
     bCeguiRender = false;
     ShowCursor(true);
   
    return true;
}
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
               LPSTR lpCmdLine, int iCmdShow)
{
   
   
   int numSec = 100;            // number of strip sections
   int width  = 556, height = 556;
    int bpp, flags;
    int TWquit = 0;
   
    int n, numCubes = 30;
    float color0[] = { 1.0f, 0.5f, 0.0f };
    float color1[] = { 0.5f, 1.0f, 0.0f };
    float color[] = { 1, 0, 0 }; // strip color
    double ka = 5.3, kb = 1.7, kc = 4.1;
   
   
   
   // register window class
   wc.style = CS_OWNDC;
   wc.lpfnWndProc = WndProc;
   wc.cbClsExtra = 0;
   wc.cbWndExtra = 0;
   wc.hInstance = hInstance;
   wc.hIcon = LoadIcon( NULL, IDI_APPLICATION );
   wc.hCursor = LoadCursor( NULL, IDC_ARROW );
   wc.hbrBackground = (HBRUSH)GetStockObject( BLACK_BRUSH );
   wc.lpszMenuName = NULL;
   wc.lpszClassName = "GLSample";
   RegisterClass( &wc );
   
   // create main window
   hWnd = CreateWindow(
      "GLSample", "OpenGL Sample",
      WS_CAPTION | WS_POPUPWINDOW | WS_VISIBLE,
      0, 0, width, height,
      NULL, NULL, hInstance, NULL );
   
   // enable OpenGL for the window
   EnableOpenGL( hWnd, &hDC, &hRC );
   d_renderer = &CEGUI::OpenGLRenderer::bootstrapSystem();
   // clearing this queue actually makes sure it's created(!)
    d_renderer->getDefaultRenderingRoot().clearGeometry(CEGUI::RQ_OVERLAY);
     CEGUI::DefaultResourceProvider *drp =
      static_cast<CEGUI::DefaultResourceProvider *>
      (CEGUI::System::getSingleton().getResourceProvider());
   
   char* dataPathPrefix = getDataPathPrefix();
    char resourcePath[PATH_MAX];
   
 
    // for each resource type, set a resource group directory
    sprintf(resourcePath, "%s/%s", dataPathPrefix, "schemes/");
    drp->setResourceGroupDirectory("schemes", resourcePath);
    sprintf(resourcePath, "%s/%s", dataPathPrefix, "imagesets/");
    drp->setResourceGroupDirectory("imagesets", resourcePath);
    sprintf(resourcePath, "%s/%s", dataPathPrefix, "fonts/");
    drp->setResourceGroupDirectory("fonts", resourcePath);
    sprintf(resourcePath, "%s/%s", dataPathPrefix, "layouts/");
    drp->setResourceGroupDirectory("layouts", resourcePath);
    sprintf(resourcePath, "%s/%s", dataPathPrefix, "looknfeel/");
    drp->setResourceGroupDirectory("looknfeels", resourcePath);
   /* sprintf(resourcePath, "%s/%s", dataPathPrefix, "lua_scripts/");
    drp->setResourceGroupDirectory("lua_scripts", resourcePath);*/
    sprintf(resourcePath, "%s/%s", dataPathPrefix, "xml_schemas/");
    drp->setResourceGroupDirectory("schemas", resourcePath);
    // set the default resource groups to be used
    CEGUI::Imageset::setDefaultResourceGroup("imagesets");
    CEGUI::Font::setDefaultResourceGroup("fonts");
    CEGUI::Scheme::setDefaultResourceGroup("schemes");
    CEGUI::WidgetLookManager::setDefaultResourceGroup("looknfeels");
    CEGUI::WindowManager::setDefaultResourceGroup("layouts");
    CEGUI::ScriptModule::setDefaultResourceGroup("lua_scripts");
   
    // setup default group for validation schemas
    CEGUI::XMLParser* parser = CEGUI::System::getSingleton().getXMLParser();
    if (parser->isPropertyPresent("SchemaDefaultResourceGroup"))
        parser->setProperty("SchemaDefaultResourceGroup", "schemas"); 
 
    CEGUI::WindowManager &winMgr = CEGUI::WindowManager::getSingleton();
    SchemeManager::getSingleton().create("TaharezLook.scheme");
   System::getSingleton().setDefaultMouseCursor("TaharezLook", "MouseArrow");
    DefaultWindow* root = (DefaultWindow*)winMgr.createWindow("DefaultWindow", "Root");
   System::getSingleton().setGUISheet(root);
   FrameWindow* wnd = (FrameWindow*)winMgr.createWindow("TaharezLook/FrameWindow", "InputNamewin");
   wnd->setProperty("AutoRenderingSurface", "false");
   
   root->addChildWindow(wnd);
   wnd->setPosition(UVector2(cegui_reldim(0.25f), cegui_reldim( 0.25f)));
   wnd->setSize(UVector2(cegui_reldim(0.5f), cegui_reldim( 0.5f)));
   wnd->setMaxSize(UVector2(cegui_reldim(1.0f), cegui_reldim( 1.0f)));
   wnd->setMinSize(UVector2(cegui_reldim(0.1f), cegui_reldim( 0.1f)));
   wnd->setText("Input User Name ");
   wnd->setCloseButtonEnabled(true);

    // -----------------------------  HERE IS THE PROBLEMATIC CODE !!!!!  --------------------------\\\

   Editbox* ebox = static_cast<Editbox*>(winMgr.createWindow("TaharezLook/Editbox", "NewInputIDBox"));
        wnd->addChildWindow(ebox);
        ebox->setPosition(UVector2(cegui_reldim(0.10f), cegui_reldim( 0.32f)));
        ebox->setSize(UVector2(cegui_reldim(0.76f), cegui_reldim( 0.15f)));

       //---------------------------------------------------------------------------------------------------------\\


    PushButton* btnOk = static_cast<PushButton*>(winMgr.createWindow("TaharezLook/Button", "PushButtonOk"));
    wnd->addChildWindow(btnOk);
    btnOk->setPosition(UVector2(cegui_reldim(0.80f), cegui_reldim( 0.850f)));
    btnOk->setSize(UVector2(cegui_reldim(0.15f), cegui_reldim( 0.100f)));
    btnOk->setText("Ok");

   
    PushButton* btnCncl = static_cast<PushButton*>(winMgr.createWindow("TaharezLook/Button", "PushButtonCncl"));
    wnd->addChildWindow(btnCncl);
    btnCncl->setPosition(UVector2(cegui_reldim(0.10f), cegui_reldim( 0.850f)));
    btnCncl->setSize(UVector2(cegui_reldim(0.15f), cegui_reldim( 0.100f)));
    btnCncl->setText("Cancel");
     
     
    wnd->subscribeEvent(FrameWindow::EventCloseClicked, Event::Subscriber(&handleCloseFrame));
   
    btnCncl->
        subscribeEvent(PushButton::EventClicked, Event::Subscriber(&handleCloseFrame));
   
     
    btnOk->
        subscribeEvent(PushButton::EventClicked, Event::Subscriber(&handleAddUserName));
 
   
   
   
   // program main loop
   while ( !quit )
   {
      
      // check for messages
      if ( PeekMessage( &msg, NULL, 0, 0, PM_REMOVE )  )
      {
         
         // handle or dispatch messages
         if ( msg.message == WM_QUIT )
         {
            quit = TRUE;
         }
         else
         {
            TranslateMessage( &msg );
            DispatchMessage( &msg );
         }
         
      }
      else
      {
         
         // OpenGL animation code goes here
         
         glClearColor( 0.0f, 0.0f, 0.0f, 0.0f );
         glClear( GL_COLOR_BUFFER_BIT );
         
         
         glPushMatrix();
         glRotatef( theta, 0.0f, 0.0f, 1.0f );
         glBegin( GL_TRIANGLES );
         glColor3f( 1.0f, 0.0f, 0.0f ); glVertex2f( 0.0f, 1.0f );
         glColor3f( 0.0f, 1.0f, 0.0f ); glVertex2f( 0.87f, -0.5f );
         glColor3f( 0.0f, 0.0f, 1.0f ); glVertex2f( -0.87f, -0.5f );
         glEnd();
         glPopMatrix();
         
         
         
         
         
          /*glBindTexture(0);
         glUseProgram(0);
         glActiveTexture(GL_TEXTURE_0);*/
         if(bCeguiRender)
             CEGUI::System::getSingleton().renderGUI();
            
         SwapBuffers( hDC );
         
         theta += 1.0f;
         
      }
      
   }
   
   // shutdown OpenGL
   DisableOpenGL( hWnd, hDC, hRC );
   
   // destroy the window explicitly
   DestroyWindow( hWnd );
   
   return msg.wParam;
   
}
// Window Procedure
LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
{
   
   
   
   
   switch (message)
   {
   
   case WM_CHAR:
        CEGUI::System::getSingleton().injectChar((CEGUI::utf32)wParam);
        break;
    case WM_MOUSELEAVE:
        mouseLeaves();
        break;
    case WM_NCMOUSEMOVE:
        mouseLeaves();
        break;
    case WM_MOUSEMOVE:
        mouseEnters();
        CEGUI::System::getSingleton().injectMousePosition((float)(LOWORD(lParam)), (float)(HIWORD(lParam)));
        break;
    case WM_LBUTTONDOWN:
        CEGUI::System::getSingleton().injectMouseButtonDown(CEGUI::LeftButton);
        break;
    case WM_LBUTTONUP:
        CEGUI::System::getSingleton().injectMouseButtonUp(CEGUI::LeftButton);
        break;
    case WM_RBUTTONDOWN:
        CEGUI::System::getSingleton().injectMouseButtonDown(CEGUI::RightButton);
        break;
    case WM_RBUTTONUP:
        CEGUI::System::getSingleton().injectMouseButtonUp(CEGUI::RightButton);
        break;
    case WM_MBUTTONDOWN:
        CEGUI::System::getSingleton().injectMouseButtonDown(CEGUI::MiddleButton);
        break;
    case WM_MBUTTONUP:
        CEGUI::System::getSingleton().injectMouseButtonUp(CEGUI::MiddleButton);
        break;
    case 0x020A: // WM_MOUSEWHEEL:
        CEGUI::System::getSingleton().injectMouseWheelChange(static_cast<float>((short)HIWORD(wParam)) / static_cast<float>(120));
        break;
 
   case WM_CREATE:
      return 0;
      
   case WM_CLOSE:
      PostQuitMessage( 0 );
      return 0;
      
   case WM_DESTROY:
      return 0;
      
   case WM_KEYDOWN:
      switch ( wParam )
      {
         
      case VK_ESCAPE:
         PostQuitMessage(0);
         return 0;
         
      }
      return 0;
   
   default:
      return DefWindowProc( hWnd, message, wParam, lParam );
         
   }
   
}
// Enable OpenGL
void EnableOpenGL(HWND hWnd, HDC * hDC, HGLRC * hRC)
{
   PIXELFORMATDESCRIPTOR pfd;
   int format;
   
   // get the device context (DC)
   *hDC = GetDC( hWnd );
   
   // set the pixel format for the DC
   ZeroMemory( &pfd, sizeof( pfd ) );
   pfd.nSize = sizeof( pfd );
   pfd.nVersion = 1;
   pfd.dwFlags = PFD_DRAW_TO_WINDOW | PFD_SUPPORT_OPENGL | PFD_DOUBLEBUFFER;
   pfd.iPixelType = PFD_TYPE_RGBA;
   pfd.cColorBits = 24;
   pfd.cDepthBits = 16;
   pfd.iLayerType = PFD_MAIN_PLANE;
   format = ChoosePixelFormat( *hDC, &pfd );
   SetPixelFormat( *hDC, format, &pfd );
   
   // create and enable the render context (RC)
   *hRC = wglCreateContext( *hDC );
   wglMakeCurrent( *hDC, *hRC );
   
}
// Disable OpenGL
void DisableOpenGL(HWND hWnd, HDC hDC, HGLRC hRC)
{
   CEGUI::OpenGLRenderer::destroySystem();
   wglMakeCurrent( NULL, NULL );
   wglDeleteContext( hRC );
   ReleaseDC( hWnd, hDC );
}



here is my lib's im using :

Code: Select all

winmm.lib
opengl32.lib
glu32.lib
CEGUIBase_Static_d.lib
CEGUITinyXMLParser_Static_d.lib
CEGUIDevILImageCodec_Static_d.lib
CEGUIFalagardWRBase_Static_d.lib
CEGUIFreeImageImageCodec_Static_d.lib
CEGUILuaScriptModule_Static_d.lib
CEGUIOpenGLRenderer_Static_d.lib
CEGUISILLYImageCodec_Static_d.lib
CEGUISTBImageCodec_Static_d.lib
CEGUITGAImageCodec_Static_d.lib
DevIL.lib
FreeImaged.lib
ILU.lib
ILUT.lib
SILLY__static_d.lib
corona_static.lib
freetype2312MT_D.lib
jpegd.lib
libpngd.lib
libtiff394-static-mtdll-debug.lib
lua5.1.lib
pcred.lib
tinyxmld.lib
tolua++_Static_d.lib
zlibd.lib


Thanks allot for the help

User avatar
Kulik
CEGUI Team
Posts: 1382
Joined: Mon Jul 26, 2010 18:47
Location: Czech Republic
Contact:

Re: CEGUI::UnknownObjectException unknown imagery section Ca

Postby Kulik » Fri Sep 23, 2011 17:22

Are you aby any chance using CEGUI 0.8 data? Carat was renamed to Caret in 0.8

Jamarr
CEGUI MVP
CEGUI MVP
Posts: 812
Joined: Tue Jun 03, 2008 23:59
Location: USA

Re: CEGUI::UnknownObjectException unknown imagery section Ca

Postby Jamarr » Fri Sep 23, 2011 17:39

Please make sure you search all resources (ex forums) before posting, especially when the issue involves unique/key words like carat as you are more likely to find relevant threads like this one. Thanks :hammer:

p.s. This is not a topic for the Advanced sub-forum. Please post these sorts of questions in the Beginner's Help sub-forum. Thanks. :hammer:
If somebody helps you by replying to your thread, upvote him/her as a thanks! Make sure to include your CEGUI.log and everything you tried when posting! And remember that we are not magicians!

umen
Not too shy to talk
Not too shy to talk
Posts: 26
Joined: Mon Sep 12, 2011 08:24

Re: CEGUI::UnknownObjectException unknown imagery section Ca

Postby umen » Sat Sep 24, 2011 05:28

Hi
and thanks for the answer , but still i dont understand what im doing wrong in this simple Editbox code
i dont use Carat anywhere here , and im using the data files from EGUI-SDK-0.7.5-vc9.zip

Code: Select all

Editbox* ebox = static_cast<Editbox*>(winMgr.createWindow("TaharezLook/Editbox", "NewInputIDBox"));
wnd->addChildWindow(ebox);
ebox->setPosition(UVector2(cegui_reldim(0.10f), cegui_reldim( 0.32f)));
ebox->setSize(UVector2(cegui_reldim(0.76f), cegui_reldim( 0.15f)));

umen
Not too shy to talk
Not too shy to talk
Posts: 26
Joined: Mon Sep 12, 2011 08:24

Re: CEGUI::UnknownObjectException unknown imagery section Ca

Postby umen » Sat Sep 24, 2011 12:01

can it be that in the CEGUI-0.7.5 source code there is CEGUI-0.7.4 version sources?
because when i replaced the datafiles from the CEGUI-0.7.4 version every thing is working .
can someone please confirm?

User avatar
Kulik
CEGUI Team
Posts: 1382
Joined: Mon Jul 26, 2010 18:47
Location: Czech Republic
Contact:

Re: CEGUI::UnknownObjectException unknown imagery section Ca

Postby Kulik » Sat Sep 24, 2011 12:40

no


Return to “Help”

Who is online

Users browsing this forum: No registered users and 20 guests