[SOLVED] Where are targetTypes defined?

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

AtomR
Just popping in
Just popping in
Posts: 4
Joined: Sat Jul 24, 2010 18:38

[SOLVED] Where are targetTypes defined?

Postby AtomR » Tue Jul 27, 2010 00:06

Good evening guys,
I am sorry for the noob question but I can't find it answered anywhere else on the web. I'm getting the follwoing error loading a layout (from CEGUI.log).

27/07/2010 00:06:25 (Error) CEGUI::UnknownObjectException in file c:\ogre1_7\cegui_v0-7\cegui\src\ceguiwindowfactorymanager.cpp(180) : WindowFactoryManager::getFactory - A WindowFactory object, an alias, or mapping for 'Falagard/FrameWindow' Window objects is not registered with the system.
27/07/2010 00:06:25 (Error) CEGUI::InvalidRequestException in file c:\ogre1_7\cegui_v0-7\cegui\src\ceguiguilayout_xmlhandler.cpp(233) : GUILayout_xmlHandler::startElement - layout loading has been aborted since no WindowFactory is available for 'TaharezLook/FrameWindow' objects.
27/07/2010 00:06:25 (Error) WindowManager::loadWindowLayout - loading of layout from file 'katana.layout' failed.


Here is the layout:

Code: Select all

<?xml version="1.0" ?>
<GUILayout>
   <Window Type="TaharezLook/FrameWindow" Name="Main">
            <Property Name="UnifiedAreaRect" Value="{{0.0,0},{0.0,0},{1.0,0},{1.0,0}}" />
            <Property Name="FrameEnabled" Value="false" />
            <Property Name="TitlebarEnabled" Value="false" />
            <Property Name="CloseButtonEnabled" Value="False" />

      <Window Type="TaharezLook/Button" Name="cmdQuit">
         <Property Name="Text" Value="Quit" />
             <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.7,0},{0.6,0},{0.77,0}}" />
      </Window>
      <Window Type="TaharezLook/Button" Name="cmdOptions">
             <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.6,0},{0.6,0},{0.67,0}}" />
         <Property Name="Text" Value="Options" />
      </Window>
      <Window Type="TaharezLook/Button" Name="cmdInstantAction">
             <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.5,0},{0.6,0},{0.57,0}}" />
         <Property Name="Text" Value="Instant Action" />
      </Window>
   </Window>
</GUILayout>

I have TaharezLook/Button and TaharezLook/FrameWindow defined in a scheme file but where is the targettype="Falagard/FrameWindow" (and button) suposed to be defined?

Here is the full log

Code: Select all

27/07/2010 00:06:24 (Std)    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
27/07/2010 00:06:24 (Std)    +                     Crazy Eddie's GUI System - Event log                    +
27/07/2010 00:06:24 (Std)    +                          (http://www.cegui.org.uk/)                         +
27/07/2010 00:06:24 (Std)    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

27/07/2010 00:06:24 (Std)    CEGUI::Logger singleton created. (024F7E68)
27/07/2010 00:06:24 (Std)    
27/07/2010 00:06:24 (Std)    ********************************************************************************
27/07/2010 00:06:24 (Std)    * Important:                                                                   *
27/07/2010 00:06:24 (Std)    *     To get support at the CEGUI forums, you must post _at least_ the section *
27/07/2010 00:06:24 (Std)    *     of this log file indicated below.  Failure to do this will result in no  *
27/07/2010 00:06:24 (Std)    *     support being given; please do not waste our time.                       *
27/07/2010 00:06:24 (Std)    ********************************************************************************
27/07/2010 00:06:24 (Std)    ********************************************************************************
27/07/2010 00:06:24 (Std)    * -------- START OF ESSENTIAL SECTION TO BE POSTED ON THE FORUM       -------- *
27/07/2010 00:06:24 (Std)    ********************************************************************************
27/07/2010 00:06:24 (Std)    ---- Version 0.7.2 (Build: Jul 24 2010 Debug Microsoft Windows MSVC++ 9.0 32 bit) ----
27/07/2010 00:06:24 (Std)    ---- Renderer module is: CEGUI::OgreRenderer - Official OGRE based 2nd generation renderer module. ----
27/07/2010 00:06:24 (Std)    ---- XML Parser module is: CEGUI::ExpatParser - Official expat based parser module for CEGUI ----
27/07/2010 00:06:24 (Std)    ---- Image Codec module is: OgreImageCodec - Integrated ImageCodec using the Ogre engine. ----
27/07/2010 00:06:24 (Std)    ---- Scripting module is: None ----
27/07/2010 00:06:24 (Std)    ********************************************************************************
27/07/2010 00:06:24 (Std)    * -------- END OF ESSENTIAL SECTION TO BE POSTED ON THE FORUM         -------- *
27/07/2010 00:06:24 (Std)    ********************************************************************************
27/07/2010 00:06:24 (Std)    
27/07/2010 00:06:24 (Std)    ---- Begining CEGUI System initialisation ----
27/07/2010 00:06:24 (Std)    CEGUI::ImagesetManager singleton created (024F8B90)
27/07/2010 00:06:24 (Std)    CEGUI::FontManager singleton created. (024F84F0)
27/07/2010 00:06:24 (Std)    CEGUI::WindowFactoryManager singleton created
27/07/2010 00:06:24 (Std)    CEGUI::WindowManager singleton created (024F9660)
27/07/2010 00:06:24 (Std)    CEGUI::SchemeManager singleton created. (024F98D0)
27/07/2010 00:06:24 (Std)    CEGUI::MouseCursor singleton created. (024F9BB8)
27/07/2010 00:06:24 (Std)    CEGUI::GlobalEventSet singleton created. (024F9C68)
27/07/2010 00:06:24 (Std)    CEGUI::WidgetLookManager singleton created. (024F89B8)
27/07/2010 00:06:24 (Std)    CEGUI::WindowRendererManager singleton created (024FB1E0)
27/07/2010 00:06:24 (Std)    CEGUI::RenderEffectManager singleton created (024F8410)
27/07/2010 00:06:24 (Std)    Created WindowFactory for 'DefaultWindow' windows.
27/07/2010 00:06:24 (Std)    WindowFactory for 'DefaultWindow' windows added. (024FB7F8)
27/07/2010 00:06:24 (Std)    Created WindowFactory for 'DragContainer' windows.
27/07/2010 00:06:24 (Std)    WindowFactory for 'DragContainer' windows added. (024FB9B8)
27/07/2010 00:06:24 (Std)    Created WindowFactory for 'ScrolledContainer' windows.
27/07/2010 00:06:24 (Std)    WindowFactory for 'ScrolledContainer' windows added. (024FBC18)
27/07/2010 00:06:24 (Std)    Created WindowFactory for 'ClippedContainer' windows.
27/07/2010 00:06:24 (Std)    WindowFactory for 'ClippedContainer' windows added. (024FBDD8)
27/07/2010 00:06:24 (Std)    Created WindowFactory for 'CEGUI/Checkbox' windows.
27/07/2010 00:06:24 (Std)    WindowFactory for 'CEGUI/Checkbox' windows added. (024FBF98)
27/07/2010 00:06:24 (Std)    Created WindowFactory for 'CEGUI/PushButton' windows.
27/07/2010 00:06:24 (Std)    WindowFactory for 'CEGUI/PushButton' windows added. (024FC1B0)
27/07/2010 00:06:24 (Std)    Created WindowFactory for 'CEGUI/RadioButton' windows.
27/07/2010 00:06:24 (Std)    WindowFactory for 'CEGUI/RadioButton' windows added. (024FC370)
27/07/2010 00:06:24 (Std)    Created WindowFactory for 'CEGUI/Combobox' windows.
27/07/2010 00:06:24 (Std)    WindowFactory for 'CEGUI/Combobox' windows added. (024FC530)
27/07/2010 00:06:24 (Std)    Created WindowFactory for 'CEGUI/ComboDropList' windows.
27/07/2010 00:06:24 (Std)    WindowFactory for 'CEGUI/ComboDropList' windows added. (024FC6F0)
27/07/2010 00:06:24 (Std)    Created WindowFactory for 'CEGUI/Editbox' windows.
27/07/2010 00:06:24 (Std)    WindowFactory for 'CEGUI/Editbox' windows added. (024FC8B0)
27/07/2010 00:06:24 (Std)    Created WindowFactory for 'CEGUI/FrameWindow' windows.
27/07/2010 00:06:24 (Std)    WindowFactory for 'CEGUI/FrameWindow' windows added. (024FCAE0)
27/07/2010 00:06:24 (Std)    Created WindowFactory for 'CEGUI/ItemEntry' windows.
27/07/2010 00:06:24 (Std)    WindowFactory for 'CEGUI/ItemEntry' windows added. (024FCCA0)
27/07/2010 00:06:24 (Std)    Created WindowFactory for 'CEGUI/Listbox' windows.
27/07/2010 00:06:24 (Std)    WindowFactory for 'CEGUI/Listbox' windows added. (024FCE60)
27/07/2010 00:06:24 (Std)    Created WindowFactory for 'CEGUI/ListHeader' windows.
27/07/2010 00:06:24 (Std)    WindowFactory for 'CEGUI/ListHeader' windows added. (024FD020)
27/07/2010 00:06:24 (Std)    Created WindowFactory for 'CEGUI/ListHeaderSegment' windows.
27/07/2010 00:06:24 (Std)    WindowFactory for 'CEGUI/ListHeaderSegment' windows added. (024FD1E0)
27/07/2010 00:06:24 (Std)    Created WindowFactory for 'CEGUI/Menubar' windows.
27/07/2010 00:06:24 (Std)    WindowFactory for 'CEGUI/Menubar' windows added. (024FD3A0)
27/07/2010 00:06:24 (Std)    Created WindowFactory for 'CEGUI/PopupMenu' windows.
27/07/2010 00:06:24 (Std)    WindowFactory for 'CEGUI/PopupMenu' windows added. (024FD560)
27/07/2010 00:06:24 (Std)    Created WindowFactory for 'CEGUI/MenuItem' windows.
27/07/2010 00:06:24 (Std)    WindowFactory for 'CEGUI/MenuItem' windows added. (024FDC30)
27/07/2010 00:06:24 (Std)    Created WindowFactory for 'CEGUI/MultiColumnList' windows.
27/07/2010 00:06:24 (Std)    WindowFactory for 'CEGUI/MultiColumnList' windows added. (024FD720)
27/07/2010 00:06:24 (Std)    Created WindowFactory for 'CEGUI/MultiLineEditbox' windows.
27/07/2010 00:06:24 (Std)    WindowFactory for 'CEGUI/MultiLineEditbox' windows added. (024FDA20)
27/07/2010 00:06:24 (Std)    Created WindowFactory for 'CEGUI/ProgressBar' windows.
27/07/2010 00:06:24 (Std)    WindowFactory for 'CEGUI/ProgressBar' windows added. (024FDEA0)
27/07/2010 00:06:24 (Std)    Created WindowFactory for 'CEGUI/ScrollablePane' windows.
27/07/2010 00:06:24 (Std)    WindowFactory for 'CEGUI/ScrollablePane' windows added. (024FE060)
27/07/2010 00:06:24 (Std)    Created WindowFactory for 'CEGUI/Scrollbar' windows.
27/07/2010 00:06:24 (Std)    WindowFactory for 'CEGUI/Scrollbar' windows added. (024FE220)
27/07/2010 00:06:24 (Std)    Created WindowFactory for 'CEGUI/Slider' windows.
27/07/2010 00:06:24 (Std)    WindowFactory for 'CEGUI/Slider' windows added. (024FE3E0)
27/07/2010 00:06:24 (Std)    Created WindowFactory for 'CEGUI/Spinner' windows.
27/07/2010 00:06:24 (Std)    WindowFactory for 'CEGUI/Spinner' windows added. (024FE5A0)
27/07/2010 00:06:24 (Std)    Created WindowFactory for 'CEGUI/TabButton' windows.
27/07/2010 00:06:24 (Std)    WindowFactory for 'CEGUI/TabButton' windows added. (024FE760)
27/07/2010 00:06:24 (Std)    Created WindowFactory for 'CEGUI/TabControl' windows.
27/07/2010 00:06:24 (Std)    WindowFactory for 'CEGUI/TabControl' windows added. (024FE920)
27/07/2010 00:06:24 (Std)    Created WindowFactory for 'CEGUI/Thumb' windows.
27/07/2010 00:06:24 (Std)    WindowFactory for 'CEGUI/Thumb' windows added. (024FEAE0)
27/07/2010 00:06:24 (Std)    Created WindowFactory for 'CEGUI/Titlebar' windows.
27/07/2010 00:06:24 (Std)    WindowFactory for 'CEGUI/Titlebar' windows added. (024FECA0)
27/07/2010 00:06:24 (Std)    Created WindowFactory for 'CEGUI/Tooltip' windows.
27/07/2010 00:06:24 (Std)    WindowFactory for 'CEGUI/Tooltip' windows added. (024FEF48)
27/07/2010 00:06:24 (Std)    Created WindowFactory for 'CEGUI/ItemListbox' windows.
27/07/2010 00:06:24 (Std)    WindowFactory for 'CEGUI/ItemListbox' windows added. (024FF108)
27/07/2010 00:06:24 (Std)    Created WindowFactory for 'CEGUI/GroupBox' windows.
27/07/2010 00:06:24 (Std)    WindowFactory for 'CEGUI/GroupBox' windows added. (024FF2C8)
27/07/2010 00:06:24 (Std)    Created WindowFactory for 'CEGUI/Tree' windows.
27/07/2010 00:06:24 (Std)    WindowFactory for 'CEGUI/Tree' windows added. (024FF488)
27/07/2010 00:06:24 (Std)    Window type alias named 'DefaultGUISheet' added for window type 'DefaultWindow'.
27/07/2010 00:06:24 (Std)    CEGUI::System singleton created. (024F7A50)
27/07/2010 00:06:24 (Std)    ---- CEGUI System initialisation completed ----
27/07/2010 00:06:24 (Std)    
27/07/2010 00:06:24 (Std)    Started creation of Scheme from XML specification:
27/07/2010 00:06:24 (Std)    ---- CEGUI GUIScheme name: TaharezLookSkin
27/07/2010 00:06:24 (Info)    Finished creation of GUIScheme 'TaharezLookSkin' via XML file. (0250C620)
27/07/2010 00:06:24 (Info)    ---- Begining resource loading for GUI scheme 'TaharezLookSkin' ----
27/07/2010 00:06:24 (Std)    Started creation of Imageset from XML specification:
27/07/2010 00:06:24 (Std)    ---- CEGUI Imageset name: TaharezLook
27/07/2010 00:06:24 (Std)    ---- Source texture file: TaharezLook.tga in resource group: (Default)
27/07/2010 00:06:24 (Info)    Finished creation of Imageset 'TaharezLook' via XML file. (02528B98)
27/07/2010 00:06:24 (Std)    ===== Falagard 'root' element: look and feel parsing begins =====
27/07/2010 00:06:24 (Info)    ---> Start of definition for widget look 'TaharezLook/Button'.
27/07/2010 00:06:24 (Info)    ---< End of definition for widget look 'TaharezLook/Button'.
27/07/2010 00:06:24 (Info)    ---> Start of definition for widget look 'TaharezLook/RadioButton'.
27/07/2010 00:06:24 (Info)    ---< End of definition for widget look 'TaharezLook/RadioButton'.
27/07/2010 00:06:24 (Info)    ---> Start of definition for widget look 'TaharezLook/Checkbox'.
27/07/2010 00:06:24 (Info)    ---< End of definition for widget look 'TaharezLook/Checkbox'.
27/07/2010 00:06:24 (Info)    ---> Start of definition for widget look 'TaharezLook/Editbox'.
27/07/2010 00:06:24 (Info)    ---< End of definition for widget look 'TaharezLook/Editbox'.
27/07/2010 00:06:24 (Info)    ---> Start of definition for widget look 'TaharezLook/Titlebar'.
27/07/2010 00:06:24 (Info)    ---< End of definition for widget look 'TaharezLook/Titlebar'.
27/07/2010 00:06:24 (Info)    ---> Start of definition for widget look 'TaharezLook/FrameWindow'.
27/07/2010 00:06:24 (Info)    ---< End of definition for widget look 'TaharezLook/FrameWindow'.
27/07/2010 00:06:24 (Info)    ---> Start of definition for widget look 'TaharezLook/ProgressBar'.
27/07/2010 00:06:24 (Info)    ---< End of definition for widget look 'TaharezLook/ProgressBar'.
27/07/2010 00:06:24 (Info)    ---> Start of definition for widget look 'TaharezLook/AltProgressBar'.
27/07/2010 00:06:24 (Info)    ---< End of definition for widget look 'TaharezLook/AltProgressBar'.
27/07/2010 00:06:24 (Info)    ---> Start of definition for widget look 'TaharezLook/VUMeter'.
27/07/2010 00:06:24 (Info)    ---< End of definition for widget look 'TaharezLook/VUMeter'.
27/07/2010 00:06:24 (Info)    ---> Start of definition for widget look 'TaharezLook/SliderThumb'.
27/07/2010 00:06:24 (Info)    ---< End of definition for widget look 'TaharezLook/SliderThumb'.
27/07/2010 00:06:24 (Info)    ---> Start of definition for widget look 'TaharezLook/Slider'.
27/07/2010 00:06:24 (Info)    ---< End of definition for widget look 'TaharezLook/Slider'.
27/07/2010 00:06:24 (Info)    ---> Start of definition for widget look 'TaharezLook/HorizontalScrollbarThumb'.
27/07/2010 00:06:24 (Info)    ---< End of definition for widget look 'TaharezLook/HorizontalScrollbarThumb'.
27/07/2010 00:06:24 (Info)    ---> Start of definition for widget look 'TaharezLook/HorizontalScrollbar'.
27/07/2010 00:06:24 (Info)    ---< End of definition for widget look 'TaharezLook/HorizontalScrollbar'.
27/07/2010 00:06:24 (Info)    ---> Start of definition for widget look 'TaharezLook/VerticalScrollbarThumb'.
27/07/2010 00:06:24 (Info)    ---< End of definition for widget look 'TaharezLook/VerticalScrollbarThumb'.
27/07/2010 00:06:24 (Info)    ---> Start of definition for widget look 'TaharezLook/VerticalScrollbar'.
27/07/2010 00:06:24 (Info)    ---< End of definition for widget look 'TaharezLook/VerticalScrollbar'.
27/07/2010 00:06:24 (Info)    ---> Start of definition for widget look 'TaharezLook/Listbox'.
27/07/2010 00:06:24 (Info)    ---< End of definition for widget look 'TaharezLook/Listbox'.
27/07/2010 00:06:24 (Info)    ---> Start of definition for widget look 'TaharezLook/ComboDropList'.
27/07/2010 00:06:24 (Info)    ---< End of definition for widget look 'TaharezLook/ComboDropList'.
27/07/2010 00:06:24 (Info)    ---> Start of definition for widget look 'TaharezLook/ComboEditbox'.
27/07/2010 00:06:24 (Info)    ---< End of definition for widget look 'TaharezLook/ComboEditbox'.
27/07/2010 00:06:24 (Info)    ---> Start of definition for widget look 'TaharezLook/Combobox'.
27/07/2010 00:06:24 (Info)    ---< End of definition for widget look 'TaharezLook/Combobox'.
27/07/2010 00:06:24 (Info)    ---> Start of definition for widget look 'TaharezLook/Spinner'.
27/07/2010 00:06:24 (Info)    ---< End of definition for widget look 'TaharezLook/Spinner'.
27/07/2010 00:06:24 (Info)    ---> Start of definition for widget look 'TaharezLook/StaticShared'.
27/07/2010 00:06:24 (Info)    ---< End of definition for widget look 'TaharezLook/StaticShared'.
27/07/2010 00:06:24 (Info)    ---> Start of definition for widget look 'TaharezLook/StaticImage'.
27/07/2010 00:06:24 (Info)    ---< End of definition for widget look 'TaharezLook/StaticImage'.
27/07/2010 00:06:24 (Info)    ---> Start of definition for widget look 'TaharezLook/StaticText'.
27/07/2010 00:06:24 (Info)    ---< End of definition for widget look 'TaharezLook/StaticText'.
27/07/2010 00:06:24 (Info)    ---> Start of definition for widget look 'TaharezLook/ListHeaderSegment'.
27/07/2010 00:06:24 (Info)    ---< End of definition for widget look 'TaharezLook/ListHeaderSegment'.
27/07/2010 00:06:24 (Info)    ---> Start of definition for widget look 'TaharezLook/ListHeader'.
27/07/2010 00:06:24 (Info)    ---< End of definition for widget look 'TaharezLook/ListHeader'.
27/07/2010 00:06:24 (Info)    ---> Start of definition for widget look 'TaharezLook/MultiColumnList'.
27/07/2010 00:06:24 (Info)    ---< End of definition for widget look 'TaharezLook/MultiColumnList'.
27/07/2010 00:06:24 (Info)    ---> Start of definition for widget look 'TaharezLook/MultiLineEditbox'.
27/07/2010 00:06:24 (Info)    ---< End of definition for widget look 'TaharezLook/MultiLineEditbox'.
27/07/2010 00:06:24 (Info)    ---> Start of definition for widget look 'TaharezLook/Tooltip'.
27/07/2010 00:06:24 (Info)    ---< End of definition for widget look 'TaharezLook/Tooltip'.
27/07/2010 00:06:24 (Info)    ---> Start of definition for widget look 'TaharezLook/ScrollablePane'.
27/07/2010 00:06:24 (Info)    ---< End of definition for widget look 'TaharezLook/ScrollablePane'.
27/07/2010 00:06:24 (Info)    ---> Start of definition for widget look 'TaharezLook/TabButton'.
27/07/2010 00:06:24 (Info)    ---< End of definition for widget look 'TaharezLook/TabButton'.
27/07/2010 00:06:24 (Info)    ---> Start of definition for widget look 'TaharezLook/TabPane'.
27/07/2010 00:06:24 (Info)    ---< End of definition for widget look 'TaharezLook/TabPane'.
27/07/2010 00:06:24 (Info)    ---> Start of definition for widget look 'TaharezLook/TabControl'.
27/07/2010 00:06:24 (Info)    ---< End of definition for widget look 'TaharezLook/TabControl'.
27/07/2010 00:06:24 (Info)    ---> Start of definition for widget look 'TaharezLook/MenuItem'.
27/07/2010 00:06:24 (Info)    ---< End of definition for widget look 'TaharezLook/MenuItem'.
27/07/2010 00:06:24 (Info)    ---> Start of definition for widget look 'TaharezLook/PopupMenu'.
27/07/2010 00:06:24 (Info)    ---< End of definition for widget look 'TaharezLook/PopupMenu'.
27/07/2010 00:06:24 (Info)    ---> Start of definition for widget look 'TaharezLook/Menubar'.
27/07/2010 00:06:24 (Info)    ---< End of definition for widget look 'TaharezLook/Menubar'.
27/07/2010 00:06:24 (Info)    ---> Start of definition for widget look 'TaharezLook/LargeVerticalScrollbarThumb'.
27/07/2010 00:06:24 (Info)    ---< End of definition for widget look 'TaharezLook/LargeVerticalScrollbarThumb'.
27/07/2010 00:06:24 (Info)    ---> Start of definition for widget look 'TaharezLook/LargeVerticalScrollbar'.
27/07/2010 00:06:24 (Info)    ---< End of definition for widget look 'TaharezLook/LargeVerticalScrollbar'.
27/07/2010 00:06:24 (Info)    ---> Start of definition for widget look 'TaharezLook/ImageButton'.
27/07/2010 00:06:24 (Info)    ---< End of definition for widget look 'TaharezLook/ImageButton'.
27/07/2010 00:06:24 (Std)    ===== Look and feel parsing completed =====
27/07/2010 00:06:24 (Std)    No window renderer factories specified for module 'CEGUIFalagardWRBase' - adding all available factories...
27/07/2010 00:06:24 (Std)    Created WindowRendererFactory for 'Falagard/Button' WindowRenderers.
27/07/2010 00:06:24 (Std)    WindowRendererFactory 'Falagard/Button' added. (0649F038)
27/07/2010 00:06:24 (Std)    Created WindowRendererFactory for 'Falagard/Default' WindowRenderers.
27/07/2010 00:06:24 (Std)    WindowRendererFactory 'Falagard/Default' added. (06499288)
27/07/2010 00:06:24 (Std)    Created WindowRendererFactory for 'Falagard/Editbox' WindowRenderers.
27/07/2010 00:06:24 (Std)    WindowRendererFactory 'Falagard/Editbox' added. (025AAF10)
27/07/2010 00:06:24 (Std)    Created WindowRendererFactory for 'Falagard/FrameWindow' WindowRenderers.
27/07/2010 00:06:24 (Std)    WindowRendererFactory 'Falagard/FrameWindow' added. (064563E8)
27/07/2010 00:06:24 (Std)    Created WindowRendererFactory for 'Falagard/ItemEntry' WindowRenderers.
27/07/2010 00:06:24 (Std)    WindowRendererFactory 'Falagard/ItemEntry' added. (064B1260)
27/07/2010 00:06:24 (Std)    Created WindowRendererFactory for 'Falagard/ListHeader' WindowRenderers.
27/07/2010 00:06:24 (Std)    WindowRendererFactory 'Falagard/ListHeader' added. (02528768)
27/07/2010 00:06:24 (Std)    Created WindowRendererFactory for 'Falagard/ListHeaderSegment' WindowRenderers.
27/07/2010 00:06:24 (Std)    WindowRendererFactory 'Falagard/ListHeaderSegment' added. (0250BD40)
27/07/2010 00:06:24 (Std)    Created WindowRendererFactory for 'Falagard/Listbox' WindowRenderers.
27/07/2010 00:06:24 (Std)    WindowRendererFactory 'Falagard/Listbox' added. (02528A40)
27/07/2010 00:06:24 (Std)    Created WindowRendererFactory for 'Falagard/Menubar' WindowRenderers.
27/07/2010 00:06:24 (Std)    WindowRendererFactory 'Falagard/Menubar' added. (02528440)
27/07/2010 00:06:24 (Std)    Created WindowRendererFactory for 'Falagard/MenuItem' WindowRenderers.
27/07/2010 00:06:24 (Std)    WindowRendererFactory 'Falagard/MenuItem' added. (025B4DB8)
27/07/2010 00:06:24 (Std)    Created WindowRendererFactory for 'Falagard/MultiColumnList' WindowRenderers.
27/07/2010 00:06:24 (Std)    WindowRendererFactory 'Falagard/MultiColumnList' added. (064460C0)
27/07/2010 00:06:24 (Std)    Created WindowRendererFactory for 'Falagard/MultiLineEditbox' WindowRenderers.
27/07/2010 00:06:24 (Std)    WindowRendererFactory 'Falagard/MultiLineEditbox' added. (0649FC60)
27/07/2010 00:06:24 (Std)    Created WindowRendererFactory for 'Falagard/PopupMenu' WindowRenderers.
27/07/2010 00:06:24 (Std)    WindowRendererFactory 'Falagard/PopupMenu' added. (064B0E10)
27/07/2010 00:06:24 (Std)    Created WindowRendererFactory for 'Falagard/ProgressBar' WindowRenderers.
27/07/2010 00:06:24 (Std)    WindowRendererFactory 'Falagard/ProgressBar' added. (0251AAF0)
27/07/2010 00:06:24 (Std)    Created WindowRendererFactory for 'Falagard/ScrollablePane' WindowRenderers.
27/07/2010 00:06:24 (Std)    WindowRendererFactory 'Falagard/ScrollablePane' added. (0251ACB0)
27/07/2010 00:06:24 (Std)    Created WindowRendererFactory for 'Falagard/Scrollbar' WindowRenderers.
27/07/2010 00:06:24 (Std)    WindowRendererFactory 'Falagard/Scrollbar' added. (0251AE70)
27/07/2010 00:06:24 (Std)    Created WindowRendererFactory for 'Falagard/Slider' WindowRenderers.
27/07/2010 00:06:24 (Std)    WindowRendererFactory 'Falagard/Slider' added. (0251DBC8)
27/07/2010 00:06:24 (Std)    Created WindowRendererFactory for 'Falagard/Static' WindowRenderers.
27/07/2010 00:06:24 (Std)    WindowRendererFactory 'Falagard/Static' added. (0251DD88)
27/07/2010 00:06:24 (Std)    Created WindowRendererFactory for 'Falagard/StaticImage' WindowRenderers.
27/07/2010 00:06:24 (Std)    WindowRendererFactory 'Falagard/StaticImage' added. (0251DF48)
27/07/2010 00:06:24 (Std)    Created WindowRendererFactory for 'Falagard/StaticText' WindowRenderers.
27/07/2010 00:06:24 (Std)    WindowRendererFactory 'Falagard/StaticText' added. (0251E108)
27/07/2010 00:06:24 (Std)    Created WindowRendererFactory for 'Falagard/SystemButton' WindowRenderers.
27/07/2010 00:06:24 (Std)    WindowRendererFactory 'Falagard/SystemButton' added. (024FF900)
27/07/2010 00:06:24 (Std)    Created WindowRendererFactory for 'Falagard/TabButton' WindowRenderers.
27/07/2010 00:06:24 (Std)    WindowRendererFactory 'Falagard/TabButton' added. (024FFAC0)
27/07/2010 00:06:24 (Std)    Created WindowRendererFactory for 'Falagard/TabControl' WindowRenderers.
27/07/2010 00:06:24 (Std)    WindowRendererFactory 'Falagard/TabControl' added. (024FFC80)
27/07/2010 00:06:24 (Std)    Created WindowRendererFactory for 'Falagard/Titlebar' WindowRenderers.
27/07/2010 00:06:24 (Std)    WindowRendererFactory 'Falagard/Titlebar' added. (024FFE40)
27/07/2010 00:06:24 (Std)    Created WindowRendererFactory for 'Falagard/ToggleButton' WindowRenderers.
27/07/2010 00:06:24 (Std)    WindowRendererFactory 'Falagard/ToggleButton' added. (064BE6F8)
27/07/2010 00:06:24 (Std)    Created WindowRendererFactory for 'Falagard/Tooltip' WindowRenderers.
27/07/2010 00:06:24 (Std)    WindowRendererFactory 'Falagard/Tooltip' added. (064BE8B8)
27/07/2010 00:06:24 (Std)    Created WindowRendererFactory for 'Falagard/ItemListbox' WindowRenderers.
27/07/2010 00:06:24 (Std)    WindowRendererFactory 'Falagard/ItemListbox' added. (064BEA78)
27/07/2010 00:06:24 (Std)    Created WindowRendererFactory for 'Falagard/Tree' WindowRenderers.
27/07/2010 00:06:24 (Std)    WindowRendererFactory 'Falagard/Tree' added. (064BEC38)
27/07/2010 00:06:24 (Std)    Creating falagard mapping for type 'TaharezLook/AlternateProgressBar' using base type 'Falagard/ProgressBar', window renderer '' Look'N'Feel 'TaharezLook/AltProgressBar' and RenderEffect ''. (0018CBF8)
27/07/2010 00:06:24 (Std)    Creating falagard mapping for type 'TaharezLook/Button' using base type 'Falagard/Button', window renderer '' Look'N'Feel 'TaharezLook/Button' and RenderEffect ''. (0018CBF8)
27/07/2010 00:06:24 (Std)    Creating falagard mapping for type 'TaharezLook/Checkbox' using base type 'Falagard/Checkbox', window renderer '' Look'N'Feel 'TaharezLook/Checkbox' and RenderEffect ''. (0018CBF8)
27/07/2010 00:06:24 (Std)    Creating falagard mapping for type 'TaharezLook/ComboDropList' using base type 'Falagard/ComboDropList', window renderer '' Look'N'Feel 'TaharezLook/ComboDropList' and RenderEffect ''. (0018CBF8)
27/07/2010 00:06:24 (Std)    Creating falagard mapping for type 'TaharezLook/ComboEditbox' using base type 'Falagard/Editbox', window renderer '' Look'N'Feel 'TaharezLook/ComboEditbox' and RenderEffect ''. (0018CBF8)
27/07/2010 00:06:24 (Std)    Creating falagard mapping for type 'TaharezLook/Combobox' using base type 'Falagard/Combobox', window renderer '' Look'N'Feel 'TaharezLook/Combobox' and RenderEffect ''. (0018CBF8)
27/07/2010 00:06:24 (Std)    Creating falagard mapping for type 'TaharezLook/Editbox' using base type 'Falagard/Editbox', window renderer '' Look'N'Feel 'TaharezLook/Editbox' and RenderEffect ''. (0018CBF8)
27/07/2010 00:06:24 (Std)    Creating falagard mapping for type 'TaharezLook/FrameWindow' using base type 'Falagard/FrameWindow', window renderer '' Look'N'Feel 'TaharezLook/FrameWindow' and RenderEffect ''. (0018CBF8)
27/07/2010 00:06:24 (Std)    Creating falagard mapping for type 'TaharezLook/HorizontalScrollbar' using base type 'Falagard/Scrollbar', window renderer '' Look'N'Feel 'TaharezLook/HorizontalScrollbar' and RenderEffect ''. (0018CBF8)
27/07/2010 00:06:24 (Std)    Creating falagard mapping for type 'TaharezLook/HorizontalScrollbarThumb' using base type 'Falagard/Thumb', window renderer '' Look'N'Feel 'TaharezLook/HorizontalScrollbarThumb' and RenderEffect ''. (0018CBF8)
27/07/2010 00:06:24 (Std)    Creating falagard mapping for type 'TaharezLook/ImageButton' using base type 'Falagard/Button', window renderer '' Look'N'Feel 'TaharezLook/ImageButton' and RenderEffect ''. (0018CBF8)
27/07/2010 00:06:24 (Std)    Creating falagard mapping for type 'TaharezLook/LargeVerticalScrollbar' using base type 'Falagard/Scrollbar', window renderer '' Look'N'Feel 'TaharezLook/LargeVerticalScrollbar' and RenderEffect ''. (0018CBF8)
27/07/2010 00:06:24 (Std)    Creating falagard mapping for type 'TaharezLook/LargeVerticalScrollbarThumb' using base type 'Falagard/Thumb', window renderer '' Look'N'Feel 'TaharezLook/LargeVerticalScrollbarThumb' and RenderEffect ''. (0018CBF8)
27/07/2010 00:06:24 (Std)    Creating falagard mapping for type 'TaharezLook/ListHeader' using base type 'Falagard/ListHeader', window renderer '' Look'N'Feel 'TaharezLook/ListHeader' and RenderEffect ''. (0018CBF8)
27/07/2010 00:06:24 (Std)    Creating falagard mapping for type 'TaharezLook/ListHeaderSegment' using base type 'Falagard/ListHeaderSegment', window renderer '' Look'N'Feel 'TaharezLook/ListHeaderSegment' and RenderEffect ''. (0018CBF8)
27/07/2010 00:06:24 (Std)    Creating falagard mapping for type 'TaharezLook/Listbox' using base type 'Falagard/Listbox', window renderer '' Look'N'Feel 'TaharezLook/Listbox' and RenderEffect ''. (0018CBF8)
27/07/2010 00:06:24 (Std)    Creating falagard mapping for type 'TaharezLook/Menubar' using base type 'Falagard/Menubar', window renderer '' Look'N'Feel 'TaharezLook/Menubar' and RenderEffect ''. (0018CBF8)
27/07/2010 00:06:24 (Std)    Creating falagard mapping for type 'TaharezLook/MenuItem' using base type 'Falagard/MenuItem', window renderer '' Look'N'Feel 'TaharezLook/MenuItem' and RenderEffect ''. (0018CBF8)
27/07/2010 00:06:24 (Std)    Creating falagard mapping for type 'TaharezLook/MultiColumnList' using base type 'Falagard/MultiColumnList', window renderer '' Look'N'Feel 'TaharezLook/MultiColumnList' and RenderEffect ''. (0018CBF8)
27/07/2010 00:06:24 (Std)    Creating falagard mapping for type 'TaharezLook/MultiLineEditbox' using base type 'Falagard/MultiLineEditbox', window renderer '' Look'N'Feel 'TaharezLook/MultiLineEditbox' and RenderEffect ''. (0018CBF8)
27/07/2010 00:06:24 (Std)    Creating falagard mapping for type 'TaharezLook/PopupMenu' using base type 'Falagard/PopupMenu', window renderer '' Look'N'Feel 'TaharezLook/PopupMenu' and RenderEffect ''. (0018CBF8)
27/07/2010 00:06:24 (Std)    Creating falagard mapping for type 'TaharezLook/ProgressBar' using base type 'Falagard/ProgressBar', window renderer '' Look'N'Feel 'TaharezLook/ProgressBar' and RenderEffect ''. (0018CBF8)
27/07/2010 00:06:24 (Std)    Creating falagard mapping for type 'TaharezLook/RadioButton' using base type 'Falagard/RadioButton', window renderer '' Look'N'Feel 'TaharezLook/RadioButton' and RenderEffect ''. (0018CBF8)
27/07/2010 00:06:24 (Std)    Creating falagard mapping for type 'TaharezLook/ScrollablePane' using base type 'Falagard/ScrollablePane', window renderer '' Look'N'Feel 'TaharezLook/ScrollablePane' and RenderEffect ''. (0018CBF8)
27/07/2010 00:06:24 (Std)    Creating falagard mapping for type 'TaharezLook/Slider' using base type 'Falagard/Slider', window renderer '' Look'N'Feel 'TaharezLook/Slider' and RenderEffect ''. (0018CBF8)
27/07/2010 00:06:24 (Std)    Creating falagard mapping for type 'TaharezLook/SliderThumb' using base type 'Falagard/Thumb', window renderer '' Look'N'Feel 'TaharezLook/SliderThumb' and RenderEffect ''. (0018CBF8)
27/07/2010 00:06:24 (Std)    Creating falagard mapping for type 'TaharezLook/Spinner' using base type 'Falagard/Spinner', window renderer '' Look'N'Feel 'TaharezLook/Spinner' and RenderEffect ''. (0018CBF8)
27/07/2010 00:06:24 (Std)    Creating falagard mapping for type 'TaharezLook/StaticImage' using base type 'Falagard/StaticImage', window renderer '' Look'N'Feel 'TaharezLook/StaticImage' and RenderEffect ''. (0018CBF8)
27/07/2010 00:06:24 (Std)    Creating falagard mapping for type 'TaharezLook/StaticText' using base type 'Falagard/StaticText', window renderer '' Look'N'Feel 'TaharezLook/StaticText' and RenderEffect ''. (0018CBF8)
27/07/2010 00:06:24 (Std)    Creating falagard mapping for type 'TaharezLook/SystemButton' using base type 'Falagard/SystemButton', window renderer '' Look'N'Feel 'TaharezLook/ImageButton' and RenderEffect ''. (0018CBF8)
27/07/2010 00:06:24 (Std)    Creating falagard mapping for type 'TaharezLook/TabButton' using base type 'Falagard/TabButton', window renderer '' Look'N'Feel 'TaharezLook/TabButton' and RenderEffect ''. (0018CBF8)
27/07/2010 00:06:24 (Std)    Creating falagard mapping for type 'TaharezLook/TabControl' using base type 'Falagard/TabControl', window renderer '' Look'N'Feel 'TaharezLook/TabControl' and RenderEffect ''. (0018CBF8)
27/07/2010 00:06:24 (Std)    Creating falagard mapping for type 'TaharezLook/TabPane' using base type 'Falagard/TabPane', window renderer '' Look'N'Feel 'TaharezLook/TabPane' and RenderEffect ''. (0018CBF8)
27/07/2010 00:06:25 (Std)    Creating falagard mapping for type 'TaharezLook/Titlebar' using base type 'Falagard/Titlebar', window renderer '' Look'N'Feel 'TaharezLook/Titlebar' and RenderEffect ''. (0018CBF8)
27/07/2010 00:06:25 (Std)    Creating falagard mapping for type 'TaharezLook/Tooltip' using base type 'Falagard/Tooltip', window renderer '' Look'N'Feel 'TaharezLook/Tooltip' and RenderEffect ''. (0018CBF8)
27/07/2010 00:06:25 (Std)    Creating falagard mapping for type 'TaharezLook/VerticalScrollbar' using base type 'Falagard/Scrollbar', window renderer '' Look'N'Feel 'TaharezLook/VerticalScrollbar' and RenderEffect ''. (0018CBF8)
27/07/2010 00:06:25 (Std)    Creating falagard mapping for type 'TaharezLook/VerticalScrollbarThumb' using base type 'Falagard/Thumb', window renderer '' Look'N'Feel 'TaharezLook/VerticalScrollbarThumb' and RenderEffect ''. (0018CBF8)
27/07/2010 00:06:25 (Std)    Creating falagard mapping for type 'TaharezLook/VUMeter' using base type 'Falagard/ProgressBar', window renderer '' Look'N'Feel 'TaharezLook/VUMeter' and RenderEffect ''. (0018CBF8)
27/07/2010 00:06:25 (Info)    ---- Resource loading for GUI scheme 'TaharezLookSkin' completed ----
27/07/2010 00:06:25 (Std)    Started creation of Font from XML specification:
27/07/2010 00:06:25 (Std)    ---- CEGUI font name: Tahoma-8
27/07/2010 00:06:25 (Std)    ----       Font type: FreeType
27/07/2010 00:06:25 (Std)    ----     Source file: tahoma.ttf in resource group: (Default)
27/07/2010 00:06:25 (Std)    ---- Real point size: 8
27/07/2010 00:06:25 (Info)    Successfully loaded 2887 glyphs
27/07/2010 00:06:25 (Info)    Finished creation of Font 'Tahoma-8' via XML file. (0253EBA0)
27/07/2010 00:06:25 (Info)    ---- Beginning loading of GUI layout from 'katana.layout' ----
27/07/2010 00:06:25 (Error)   CEGUI::UnknownObjectException in file c:\ogre1_7\cegui_v0-7\cegui\src\ceguiwindowfactorymanager.cpp(180) : WindowFactoryManager::getFactory - A WindowFactory object, an alias, or mapping for 'Falagard/FrameWindow' Window objects is not registered with the system.
27/07/2010 00:06:25 (Error)   CEGUI::InvalidRequestException in file c:\ogre1_7\cegui_v0-7\cegui\src\ceguiguilayout_xmlhandler.cpp(233) : GUILayout_xmlHandler::startElement - layout loading has been aborted since no WindowFactory is available for 'TaharezLook/FrameWindow' objects.
27/07/2010 00:06:25 (Error)   WindowManager::loadWindowLayout - loading of layout from file 'katana.layout' failed.

and callstack

Code: Select all

    KernelBase.dll!7576b727()    
    [Frames below may be incorrect and/or missing, no symbols loaded for KernelBase.dll]   
    KernelBase.dll!7576b727()    
    msvcr90d.dll!5e46f8f2()    
    msvcr90d.dll!5e3fe79b()    
    msvcr90d.dll!5e3fe292()    
    ntdll.dll!775b8799()    
    ntdll.dll!775b876b()    
    ntdll.dll!775b870e()    
    ntdll.dll!7757010f()    
    KernelBase.dll!7576b727()    
    KernelBase.dll!7576b727()    
    KernelBase.dll!7576b727()    
    msvcr90d.dll!5e46f8f2()    
>   CEGUIBase_d.dll!CEGUI::WindowFactoryManager::getFactory(const CEGUI::String & type={...})  Line 180 + 0xa6 bytes   C++
    CEGUIBase_d.dll!CEGUI::WindowFactoryManager::getFactory(const CEGUI::String & type={...})  Line 175 + 0x19 bytes   C++
    CEGUIBase_d.dll!CEGUI::WindowManager::createWindow(const CEGUI::String & type={...}, const CEGUI::String & name={...})  Line 111 + 0xf bytes   C++
    CEGUIBase_d.dll!CEGUI::GUILayout_xmlHandler::elementWindowStart(const CEGUI::XMLAttributes & attributes={...})  Line 205 + 0x5a bytes   C++
    CEGUIBase_d.dll!CEGUI::GUILayout_xmlHandler::elementStart(const CEGUI::String & element={...}, const CEGUI::XMLAttributes & attributes={...})  Line 71 + 0xc bytes   C++
    CEGUIExpatParser_d.dll!CEGUI::ExpatParser::startElement(void * data=0x0018f018, const char * element=0x0245cfb8, const char * * attr=0x06781f68)  Line 105 + 0x37 bytes   C++
    CEGUIExpatParser_d.dll!_XML_GetFeatureList()  + 0xf6f bytes   
    CEGUIExpatParser_d.dll!_XML_GetFeatureList()  + 0x3b72 bytes   
    CEGUIExpatParser_d.dll!_XML_GetFeatureList()  + 0x59fb bytes   
    CEGUIExpatParser_d.dll!_XML_GetFeatureList()  + 0x5110 bytes   
    CEGUIExpatParser_d.dll!_XML_GetFeatureList()  + 0x494a bytes   
    CEGUIExpatParser_d.dll!_XML_ParseBuffer()  + 0xeb bytes   
    CEGUIExpatParser_d.dll!_XML_Parse()  + 0x200 bytes   
    CEGUIExpatParser_d.dll!CEGUI::ExpatParser::parseXMLFile(CEGUI::XMLHandler & handler={...}, const CEGUI::String & filename={...}, const CEGUI::String & __formal={...}, const CEGUI::String & resourceGroup={...})  Line 69 + 0x31 bytes   C++
    CEGUIBase_d.dll!CEGUI::WindowManager::loadWindowLayout(const CEGUI::String & filename={...}, const CEGUI::String & name_prefix={...}, const CEGUI::String & resourceGroup={...}, bool (CEGUI::Window *, CEGUI::String &, CEGUI::String &, void *)* callback=0x00000000, void * userdata=0x00000000)  Line 308 + 0xaa bytes   C++
    PracticalApp.exe!WinMain(HINSTANCE__ * hInstance=0x00400000, HINSTANCE__ * hPrevInstance=0x00000000, char * lpCmdLine=0x002e616e, int nCmdShow=1)  Line 134 + 0x80 bytes   C++
    PracticalApp.exe!__tmainCRTStartup()  Line 578 + 0x35 bytes   C
    PracticalApp.exe!WinMainCRTStartup()  Line 403   C
    kernel32.dll!75ef3677()    
    ntdll.dll!77599d42()    
    ntdll.dll!77599d15()    


Thanks for your atention.
Last edited by AtomR on Tue Jul 27, 2010 12:21, edited 1 time in total.

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: Where are targetTypes defined?

Postby CrazyEddie » Tue Jul 27, 2010 08:47

Your scheme appears not to specify any WindowRenderer objects. Also, the TargetType strings typically begin with CEGUI/ - so for example "CEGUI/FrameWindow" and not "Falagard/FrameWindow". You would use "Falagard/FrameWindow" as the WindowRenderer value.

The TargetTypes are the concrete classes within CEGUIBase that contain the widget logic. The WindowRenderer types are classes that handle rendering of windows, these typically come from the CEGUIFalagardWRBase module are are prefixed with Falagard/.

This is covered somewhat in the docs, there is mention of the scheme mappings here: http://www.cegui.org.uk/docs/current/fa ... al_schemes and here http://www.cegui.org.uk/docs/current/xm ... ardmapping

CE.

AtomR
Just popping in
Just popping in
Posts: 4
Joined: Sat Jul 24, 2010 18:38

Re: Where are targetTypes defined?

Postby AtomR » Tue Jul 27, 2010 10:14

I think I found what the problem may be. Following a tutorial aimed at CEGUI 0.4 so the scheme file provided was out of date and missing the renderer attribute on the falagardmapping element.

switched
<FalagardMapping WindowType="TaharezLook/Button" TargetType="Falagard/Button" LookNFeel="TaharezLook/Button" />

to
<FalagardMapping WindowType="TaharezLook/Button" TargetType="CEGUI/PushButton" Renderer="Falagard/Button" LookNFeel="TaharezLook/Button" />

but the same error remains. What am I missing?

From the CEGUI.log you can read
27/07/2010 09:17:51 (Std) Created WindowRendererFactory for 'Falagard/FrameWindow' WindowRenderers.
27/07/2010 09:17:51 (Std) WindowRendererFactory 'Falagard/FrameWindow' added. (02270C28)
then
27/07/2010 09:17:51 (Std) Creating falagard mapping for type 'TaharezLook/FrameWindow' using base type 'Falagard/FrameWindow', window renderer '' Look'N'Feel 'TaharezLook/FrameWindow' and RenderEffect ''. (0018CBF8)
but then in the end
27/07/2010 09:17:52 (Error) CEGUI::UnknownObjectException in file c:\ogre1_7\cegui_v0-7\cegui\src\ceguiwindowfactorymanager.cpp(180) : WindowFactoryManager::getFactory - A WindowFactory object, an alias, or mapping for 'Falagard/FrameWindow' Window objects is not registered with the system.

:S I'll keep messing about and reading the docs but some help would be appreciated. Thanks

AtomR
Just popping in
Just popping in
Posts: 4
Joined: Sat Jul 24, 2010 18:38

Re: Where are targetTypes defined?

Postby AtomR » Tue Jul 27, 2010 11:57

After carefull inspection I realised that my scheme file wasn't being updated on my zip file so the Renderer attributes weren't added to the xml nor were the TargetTypes with the CEGUI/ prefix. So I made sure that the scheme was correctly updated on the zip and sure enough the changes were acknoledged by the program.
From the log:

Code: Select all

27/07/2010 12:39:37 (Info)    Window 'Main' of type 'TaharezLook/FrameWindow' has been created. (023F63D8)
27/07/2010 12:39:37 (Info)    Assigning the window renderer 'Falagard/FrameWindow' to the window 'Main'
27/07/2010 12:39:37 (Info)    Assigning LookNFeel 'TaharezLook/FrameWindow' to window 'Main'.
27/07/2010 12:39:37 (Error)   CEGUI::UnknownObjectException in file c:\ogre1_7\cegui_v0-7\cegui\src\ceguiwindowfactorymanager.cpp(180) : WindowFactoryManager::getFactory - A WindowFactory object, an alias, or mapping for '' Window objects is not registered with the system.
27/07/2010 12:39:37 (Error)   CEGUI::InvalidRequestException in file c:\ogre1_7\cegui_v0-7\cegui\src\ceguiguilayout_xmlhandler.cpp(233) : GUILayout_xmlHandler::startElement - layout loading has been aborted since no WindowFactory is available for 'TaharezLook/FrameWindow' objects.

As you can see the first three lines indicate that the FrameWindow was created (HURRAY!) but now "mapping for '' Window objects" is not registered yadda yadda yadda !!!!! Say what now?!?!? Is there some kind of default behaviour I have to consider?

[Edit]
Ok, so I was being lazy and instead of updating all the falagardmapping elements in the .scheme file I only updated the two that had FrameWindow and Button and so this last error was because of all the other elements that were lacking the TargetType attribute.
So the program now runs and due to the HUNDREDS of errors that I got due to out of date xml files I'm a bit more knowledgeable (is that a word?) on how CEGUI works and more so on how to debug problems related to CEGUI.
Thanks for the help :)
[/Edit]

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: [SOLVED] Where are targetTypes defined?

Postby CrazyEddie » Thu Jul 29, 2010 08:32

Cool. Though one does wonder why you did not use the datafiles that accompany the 0.7.x release ;) That being said, it's good to have people learning the intricacies of some of these files, since it gives a better understanding of what CEGUI is doing and how it works :)

CE.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 14 guests