Page 1 of 1

Segfault and CMake issues

Posted: Mon May 30, 2011 17:04
by BrightBit
Hello CEGUI community,

I am using Ogre 1.7 and the CEGUI SDK for MinGW. At first I succeeded in using CEGUI without problems but when I started to use a Pixmap font a segmentation fault occurs within the CEGUIImageSet.cpp in line 178. Since the SDK won't help much in debugging this issue I tried to compile CEGUI from its sources. But I got several problems here, too. (For compiling from sources I am using CEGUI's development branch and therefor CMake, because compiling 0.7-5 for Code::Blocks without CMake is a pain in the a**).
I am also compiling Ogre from its sources. I have one debug build and one release build. Both builds create a custom version of the OgreBuildSettings.h that don't lie in Ogre's source directory, so CEGUI can't find them when compiling its OgreRenderer. CEGUI also can't find boost's thread library that is needed by Ogre.

Is there anything I can do to fix that?


Greetings
BrightBit

Code: Select all

30/05/2011 18:13:56 (Std)    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
30/05/2011 18:13:56 (Std)    +                     Crazy Eddie's GUI System - Event log                    +
30/05/2011 18:13:56 (Std)    +                          (http://www.cegui.org.uk/)                         +
30/05/2011 18:13:56 (Std)    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

30/05/2011 18:13:56 (Std)    CEGUI::Logger singleton created. (00C31020)
30/05/2011 18:13:56 (Std)    
30/05/2011 18:13:56 (Std)    ********************************************************************************
30/05/2011 18:13:56 (Std)    * Important:                                                                   *
30/05/2011 18:13:56 (Std)    *     To get support at the CEGUI forums, you must post _at least_ the section *
30/05/2011 18:13:56 (Std)    *     of this log file indicated below.  Failure to do this will result in no  *
30/05/2011 18:13:56 (Std)    *     support being given; please do not waste our time.                       *
30/05/2011 18:13:56 (Std)    ********************************************************************************
30/05/2011 18:13:56 (Std)    ********************************************************************************
30/05/2011 18:13:56 (Std)    * -------- START OF ESSENTIAL SECTION TO BE POSTED ON THE FORUM       -------- *
30/05/2011 18:13:56 (Std)    ********************************************************************************
30/05/2011 18:13:56 (Std)    ---- Version 0.7.5 (Build: Nov 19 2010 Microsoft Windows g++ 4.4.0 32 bit) ----
30/05/2011 18:13:56 (Std)    ---- Renderer module is: CEGUI::OgreRenderer - Official OGRE based 2nd generation renderer module. ----
30/05/2011 18:13:56 (Std)    ---- XML Parser module is: CEGUI::ExpatParser - Official expat based parser module for CEGUI ----
30/05/2011 18:13:56 (Std)    ---- Image Codec module is: OgreImageCodec - Integrated ImageCodec using the Ogre engine. ----
30/05/2011 18:13:56 (Std)    ---- Scripting module is: None ----
30/05/2011 18:13:56 (Std)    ********************************************************************************
30/05/2011 18:13:56 (Std)    * -------- END OF ESSENTIAL SECTION TO BE POSTED ON THE FORUM         -------- *
30/05/2011 18:13:56 (Std)    ********************************************************************************
30/05/2011 18:13:56 (Std)    
30/05/2011 18:13:56 (Std)    ---- Begining CEGUI System initialisation ----
30/05/2011 18:13:56 (Std)    CEGUI::ImagesetManager singleton created (00C33558)
30/05/2011 18:13:56 (Std)    CEGUI::FontManager singleton created. (00C33630)
30/05/2011 18:13:56 (Std)    CEGUI::WindowFactoryManager singleton created
30/05/2011 18:13:56 (Std)    CEGUI::WindowManager singleton created (00C311F0)
30/05/2011 18:13:56 (Std)    CEGUI::SchemeManager singleton created. (00C33980)
30/05/2011 18:13:56 (Std)    CEGUI::MouseCursor singleton created. (00C32F70)
30/05/2011 18:13:56 (Std)    CEGUI::GlobalEventSet singleton created. (00C305F8)
30/05/2011 18:13:56 (Std)    CEGUI::AnimationManager singleton created (00C31F40)
30/05/2011 18:13:56 (Std)    CEGUI::WidgetLookManager singleton created. (00C302B0)
30/05/2011 18:13:56 (Std)    CEGUI::WindowRendererManager singleton created (00C30690)
30/05/2011 18:13:56 (Std)    CEGUI::RenderEffectManager singleton created (00C2FFB8)
30/05/2011 18:13:56 (Std)    Created WindowFactory for 'DefaultWindow' windows.
30/05/2011 18:13:56 (Std)    WindowFactory for 'DefaultWindow' windows added. (00C33748)
30/05/2011 18:13:56 (Std)    Created WindowFactory for 'DragContainer' windows.
30/05/2011 18:13:56 (Std)    WindowFactory for 'DragContainer' windows added. (00C35258)
30/05/2011 18:13:56 (Std)    Created WindowFactory for 'ScrolledContainer' windows.
30/05/2011 18:13:56 (Std)    WindowFactory for 'ScrolledContainer' windows added. (00C353C8)
30/05/2011 18:13:56 (Std)    Created WindowFactory for 'ClippedContainer' windows.
30/05/2011 18:13:56 (Std)    WindowFactory for 'ClippedContainer' windows added. (00C35768)
30/05/2011 18:13:56 (Std)    Created WindowFactory for 'CEGUI/Checkbox' windows.
30/05/2011 18:13:56 (Std)    WindowFactory for 'CEGUI/Checkbox' windows added. (00C35A18)
30/05/2011 18:13:56 (Std)    Created WindowFactory for 'CEGUI/PushButton' windows.
30/05/2011 18:13:56 (Std)    WindowFactory for 'CEGUI/PushButton' windows added. (00C35B98)
30/05/2011 18:13:56 (Std)    Created WindowFactory for 'CEGUI/RadioButton' windows.
30/05/2011 18:13:56 (Std)    WindowFactory for 'CEGUI/RadioButton' windows added. (00C35DB0)
30/05/2011 18:13:56 (Std)    Created WindowFactory for 'CEGUI/Combobox' windows.
30/05/2011 18:13:56 (Std)    WindowFactory for 'CEGUI/Combobox' windows added. (00C35E58)
30/05/2011 18:13:56 (Std)    Created WindowFactory for 'CEGUI/ComboDropList' windows.
30/05/2011 18:13:56 (Std)    WindowFactory for 'CEGUI/ComboDropList' windows added. (00C35FB8)
30/05/2011 18:13:56 (Std)    Created WindowFactory for 'CEGUI/Editbox' windows.
30/05/2011 18:13:56 (Std)    WindowFactory for 'CEGUI/Editbox' windows added. (00C361E0)
30/05/2011 18:13:56 (Std)    Created WindowFactory for 'CEGUI/FrameWindow' windows.
30/05/2011 18:13:56 (Std)    WindowFactory for 'CEGUI/FrameWindow' windows added. (00C36288)
30/05/2011 18:13:56 (Std)    Created WindowFactory for 'CEGUI/ItemEntry' windows.
30/05/2011 18:13:56 (Std)    WindowFactory for 'CEGUI/ItemEntry' windows added. (00C36730)
30/05/2011 18:13:56 (Std)    Created WindowFactory for 'CEGUI/Listbox' windows.
30/05/2011 18:13:56 (Std)    WindowFactory for 'CEGUI/Listbox' windows added. (00C36948)
30/05/2011 18:13:56 (Std)    Created WindowFactory for 'CEGUI/ListHeader' windows.
30/05/2011 18:13:56 (Std)    WindowFactory for 'CEGUI/ListHeader' windows added. (00C369F0)
30/05/2011 18:13:56 (Std)    Created WindowFactory for 'CEGUI/ListHeaderSegment' windows.
30/05/2011 18:13:56 (Std)    WindowFactory for 'CEGUI/ListHeaderSegment' windows added. (00C36C08)
30/05/2011 18:13:56 (Std)    Created WindowFactory for 'CEGUI/Menubar' windows.
30/05/2011 18:13:56 (Std)    WindowFactory for 'CEGUI/Menubar' windows added. (00C36F18)
30/05/2011 18:13:56 (Std)    Created WindowFactory for 'CEGUI/PopupMenu' windows.
30/05/2011 18:13:56 (Std)    WindowFactory for 'CEGUI/PopupMenu' windows added. (00C36FC0)
30/05/2011 18:13:56 (Std)    Created WindowFactory for 'CEGUI/MenuItem' windows.
30/05/2011 18:13:56 (Std)    WindowFactory for 'CEGUI/MenuItem' windows added. (00C37120)
30/05/2011 18:13:56 (Std)    Created WindowFactory for 'CEGUI/MultiColumnList' windows.
30/05/2011 18:13:56 (Std)    WindowFactory for 'CEGUI/MultiColumnList' windows added. (00C371C8)
30/05/2011 18:13:56 (Std)    Created WindowFactory for 'CEGUI/MultiLineEditbox' windows.
30/05/2011 18:13:56 (Std)    WindowFactory for 'CEGUI/MultiLineEditbox' windows added. (00C37530)
30/05/2011 18:13:56 (Std)    Created WindowFactory for 'CEGUI/ProgressBar' windows.
30/05/2011 18:13:56 (Std)    WindowFactory for 'CEGUI/ProgressBar' windows added. (00C37690)
30/05/2011 18:13:56 (Std)    Created WindowFactory for 'CEGUI/ScrollablePane' windows.
30/05/2011 18:13:56 (Std)    WindowFactory for 'CEGUI/ScrollablePane' windows added. (00C377F0)
30/05/2011 18:13:56 (Std)    Created WindowFactory for 'CEGUI/Scrollbar' windows.
30/05/2011 18:13:56 (Std)    WindowFactory for 'CEGUI/Scrollbar' windows added. (00C37950)
30/05/2011 18:13:56 (Std)    Created WindowFactory for 'CEGUI/Slider' windows.
30/05/2011 18:13:56 (Std)    WindowFactory for 'CEGUI/Slider' windows added. (00C379F8)
30/05/2011 18:13:56 (Std)    Created WindowFactory for 'CEGUI/Spinner' windows.
30/05/2011 18:13:56 (Std)    WindowFactory for 'CEGUI/Spinner' windows added. (00C37C10)
30/05/2011 18:13:56 (Std)    Created WindowFactory for 'CEGUI/TabButton' windows.
30/05/2011 18:13:56 (Std)    WindowFactory for 'CEGUI/TabButton' windows added. (00C37CB8)
30/05/2011 18:13:56 (Std)    Created WindowFactory for 'CEGUI/TabControl' windows.
30/05/2011 18:13:56 (Std)    WindowFactory for 'CEGUI/TabControl' windows added. (00C37F88)
30/05/2011 18:13:56 (Std)    Created WindowFactory for 'CEGUI/Thumb' windows.
30/05/2011 18:13:56 (Std)    WindowFactory for 'CEGUI/Thumb' windows added. (00C380E8)
30/05/2011 18:13:56 (Std)    Created WindowFactory for 'CEGUI/Titlebar' windows.
30/05/2011 18:13:56 (Std)    WindowFactory for 'CEGUI/Titlebar' windows added. (00C38190)
30/05/2011 18:13:56 (Std)    Created WindowFactory for 'CEGUI/Tooltip' windows.
30/05/2011 18:13:56 (Std)    WindowFactory for 'CEGUI/Tooltip' windows added. (00C38238)
30/05/2011 18:13:56 (Std)    Created WindowFactory for 'CEGUI/ItemListbox' windows.
30/05/2011 18:13:56 (Std)    WindowFactory for 'CEGUI/ItemListbox' windows added. (00C38450)
30/05/2011 18:13:56 (Std)    Created WindowFactory for 'CEGUI/GroupBox' windows.
30/05/2011 18:13:56 (Std)    WindowFactory for 'CEGUI/GroupBox' windows added. (00C385B0)
30/05/2011 18:13:56 (Std)    Created WindowFactory for 'CEGUI/Tree' windows.
30/05/2011 18:13:56 (Std)    WindowFactory for 'CEGUI/Tree' windows added. (00C38710)
30/05/2011 18:13:56 (Std)    Created WindowFactory for 'HorizontalLayoutContainer' windows.
30/05/2011 18:13:56 (Std)    WindowFactory for 'HorizontalLayoutContainer' windows added. (00C38908)
30/05/2011 18:13:56 (Std)    Created WindowFactory for 'VerticalLayoutContainer' windows.
30/05/2011 18:13:56 (Std)    WindowFactory for 'VerticalLayoutContainer' windows added. (00C38C70)
30/05/2011 18:13:56 (Std)    Created WindowFactory for 'GridLayoutContainer' windows.
30/05/2011 18:13:56 (Std)    WindowFactory for 'GridLayoutContainer' windows added. (00C38F40)
30/05/2011 18:13:56 (Std)    Window type alias named 'DefaultGUISheet' added for window type 'DefaultWindow'.
30/05/2011 18:13:56 (Std)    CEGUI::System singleton created. (00C30D00)
30/05/2011 18:13:56 (Std)    ---- CEGUI System initialisation completed ----
30/05/2011 18:13:56 (Std)    
30/05/2011 18:13:56 (Std)    Started creation of Scheme from XML specification:
30/05/2011 18:13:56 (Std)    ---- CEGUI GUIScheme name: EraiseWidgets
30/05/2011 18:13:56 (Std)    Started creation of Imageset from XML specification:
30/05/2011 18:13:56 (Std)    ---- CEGUI Imageset name: EraiseWidgets
30/05/2011 18:13:56 (Std)    ---- Source texture file: EraiseWidgets.png in resource group: (Default)
30/05/2011 18:13:56 (Std)    Started creation of Font from XML specification:
30/05/2011 18:13:56 (Std)    ---- CEGUI font name: Menu
30/05/2011 18:13:56 (Std)    ----       Font type: Pixmap
30/05/2011 18:13:56 (Std)    ----     Source file: MenuFont.imageset in resource group: (Default)
30/05/2011 18:13:56 (Std)    Started creation of Imageset from XML specification:
30/05/2011 18:13:56 (Std)    ---- CEGUI Imageset name: MenuFont
30/05/2011 18:13:56 (Std)    ---- Source texture file: MenuFont.png in resource group: (Default)
30/05/2011 18:13:56 (Std)    ===== Falagard 'root' element: look and feel parsing begins =====
30/05/2011 18:13:56 (Std)    ===== Look and feel parsing completed =====
30/05/2011 18:13:56 (Std)    No window renderer factories specified for module 'CEGUIFalagardWRBase' - adding all available factories...
30/05/2011 18:13:56 (Std)    Created WindowRendererFactory for 'Falagard/Button' WindowRenderers.
30/05/2011 18:13:56 (Std)    WindowRendererFactory 'Falagard/Button' added. (06D6B748)
30/05/2011 18:13:56 (Std)    Created WindowRendererFactory for 'Falagard/Default' WindowRenderers.
30/05/2011 18:13:56 (Std)    WindowRendererFactory 'Falagard/Default' added. (06D1F228)
30/05/2011 18:13:56 (Std)    Created WindowRendererFactory for 'Falagard/Editbox' WindowRenderers.
30/05/2011 18:13:56 (Std)    WindowRendererFactory 'Falagard/Editbox' added. (06D16B08)
30/05/2011 18:13:56 (Std)    Created WindowRendererFactory for 'Falagard/FrameWindow' WindowRenderers.
30/05/2011 18:13:56 (Std)    WindowRendererFactory 'Falagard/FrameWindow' added. (06D54D70)
30/05/2011 18:13:56 (Std)    Created WindowRendererFactory for 'Falagard/ItemEntry' WindowRenderers.
30/05/2011 18:13:56 (Std)    WindowRendererFactory 'Falagard/ItemEntry' added. (06D6A728)
30/05/2011 18:13:56 (Std)    Created WindowRendererFactory for 'Falagard/ListHeader' WindowRenderers.
30/05/2011 18:13:56 (Std)    WindowRendererFactory 'Falagard/ListHeader' added. (06C47948)
30/05/2011 18:13:56 (Std)    Created WindowRendererFactory for 'Falagard/ListHeaderSegment' WindowRenderers.
30/05/2011 18:13:56 (Std)    WindowRendererFactory 'Falagard/ListHeaderSegment' added. (06C47B60)
30/05/2011 18:13:56 (Std)    Created WindowRendererFactory for 'Falagard/Listbox' WindowRenderers.
30/05/2011 18:13:56 (Std)    WindowRendererFactory 'Falagard/Listbox' added. (06C47C08)
30/05/2011 18:13:56 (Std)    Created WindowRendererFactory for 'Falagard/Menubar' WindowRenderers.
30/05/2011 18:13:56 (Std)    WindowRendererFactory 'Falagard/Menubar' added. (06C47CB0)
30/05/2011 18:13:56 (Std)    Created WindowRendererFactory for 'Falagard/MenuItem' WindowRenderers.
30/05/2011 18:13:56 (Std)    WindowRendererFactory 'Falagard/MenuItem' added. (06C47D58)
30/05/2011 18:13:56 (Std)    Created WindowRendererFactory for 'Falagard/MultiColumnList' WindowRenderers.
30/05/2011 18:13:56 (Std)    WindowRendererFactory 'Falagard/MultiColumnList' added. (06C47EB8)
30/05/2011 18:13:56 (Std)    Created WindowRendererFactory for 'Falagard/MultiLineEditbox' WindowRenderers.
30/05/2011 18:13:56 (Std)    WindowRendererFactory 'Falagard/MultiLineEditbox' added. (06C480D0)
30/05/2011 18:13:56 (Std)    Created WindowRendererFactory for 'Falagard/PopupMenu' WindowRenderers.
30/05/2011 18:13:56 (Std)    WindowRendererFactory 'Falagard/PopupMenu' added. (06C8BC48)
30/05/2011 18:13:56 (Std)    Created WindowRendererFactory for 'Falagard/ProgressBar' WindowRenderers.
30/05/2011 18:13:56 (Std)    WindowRendererFactory 'Falagard/ProgressBar' added. (06C8BDA8)
30/05/2011 18:13:56 (Std)    Created WindowRendererFactory for 'Falagard/ScrollablePane' WindowRenderers.
30/05/2011 18:13:56 (Std)    WindowRendererFactory 'Falagard/ScrollablePane' added. (06C8C078)
30/05/2011 18:13:56 (Std)    Created WindowRendererFactory for 'Falagard/Scrollbar' WindowRenderers.
30/05/2011 18:13:56 (Std)    WindowRendererFactory 'Falagard/Scrollbar' added. (06C8C120)
30/05/2011 18:13:56 (Std)    Created WindowRendererFactory for 'Falagard/Slider' WindowRenderers.
30/05/2011 18:13:56 (Std)    WindowRendererFactory 'Falagard/Slider' added. (06C8C1C8)
30/05/2011 18:13:56 (Std)    Created WindowRendererFactory for 'Falagard/Static' WindowRenderers.
30/05/2011 18:13:56 (Std)    WindowRendererFactory 'Falagard/Static' added. (06C8C328)
30/05/2011 18:13:56 (Std)    Created WindowRendererFactory for 'Falagard/StaticImage' WindowRenderers.
30/05/2011 18:13:56 (Std)    WindowRendererFactory 'Falagard/StaticImage' added. (06C8C3D0)
30/05/2011 18:13:56 (Std)    Created WindowRendererFactory for 'Falagard/StaticText' WindowRenderers.
30/05/2011 18:13:56 (Std)    WindowRendererFactory 'Falagard/StaticText' added. (06C8C530)
30/05/2011 18:13:56 (Std)    Created WindowRendererFactory for 'Falagard/SystemButton' WindowRenderers.
30/05/2011 18:13:56 (Std)    WindowRendererFactory 'Falagard/SystemButton' added. (06D09230)
30/05/2011 18:13:56 (Std)    Created WindowRendererFactory for 'Falagard/TabButton' WindowRenderers.
30/05/2011 18:13:56 (Std)    WindowRendererFactory 'Falagard/TabButton' added. (06D092D8)
30/05/2011 18:13:56 (Std)    Created WindowRendererFactory for 'Falagard/TabControl' WindowRenderers.
30/05/2011 18:13:56 (Std)    WindowRendererFactory 'Falagard/TabControl' added. (06D09380)
30/05/2011 18:13:56 (Std)    Created WindowRendererFactory for 'Falagard/Titlebar' WindowRenderers.
30/05/2011 18:13:56 (Std)    WindowRendererFactory 'Falagard/Titlebar' added. (06D09650)
30/05/2011 18:13:56 (Std)    Created WindowRendererFactory for 'Falagard/ToggleButton' WindowRenderers.
30/05/2011 18:13:56 (Std)    WindowRendererFactory 'Falagard/ToggleButton' added. (06D096F8)
30/05/2011 18:13:56 (Std)    Created WindowRendererFactory for 'Falagard/Tooltip' WindowRenderers.
30/05/2011 18:13:56 (Std)    WindowRendererFactory 'Falagard/Tooltip' added. (06D097A0)
30/05/2011 18:13:56 (Std)    Created WindowRendererFactory for 'Falagard/ItemListbox' WindowRenderers.
30/05/2011 18:13:56 (Std)    WindowRendererFactory 'Falagard/ItemListbox' added. (06D09900)
30/05/2011 18:13:56 (Std)    Created WindowRendererFactory for 'Falagard/Tree' WindowRenderers.
30/05/2011 18:13:56 (Std)    WindowRendererFactory 'Falagard/Tree' added. (06D099A8)
30/05/2011 18:13:56 (Std)    Creating falagard mapping for type 'EraiseWidgets/Button' using base type 'CEGUI/PushButton', window renderer 'Falagard/Button' Look'N'Feel 'EraiseWidgets/PushButton' and RenderEffect ''. (0022CBD0)
30/05/2011 18:13:56 (Std)    Creating falagard mapping for type 'EraiseWidgets/FixedButton' using base type 'CEGUI/PushButton', window renderer 'Falagard/Button' Look'N'Feel 'EraiseWidgets/FixedButton' and RenderEffect ''. (0022CBD0)
30/05/2011 18:13:56 (Std)    Creating falagard mapping for type 'EraiseWidgets/Titlebar' using base type 'CEGUI/Titlebar', window renderer 'Falagard/Titlebar' Look'N'Feel 'EraiseWidgets/Titlebar' and RenderEffect ''. (0022CBD0)
30/05/2011 18:13:56 (Std)    Creating falagard mapping for type 'EraiseWidgets/FrameWindow' using base type 'CEGUI/FrameWindow', window renderer 'Falagard/FrameWindow' Look'N'Feel 'EraiseWidgets/FrameWindow' and RenderEffect ''. (0022CBD0)
30/05/2011 18:13:56 (Std)    Creating falagard mapping for type 'EraiseWidgets/Thumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' Look'N'Feel 'EraiseWidgets/Thumb' and RenderEffect ''. (0022CBD0)
30/05/2011 18:13:56 (Std)    Creating falagard mapping for type 'EraiseWidgets/VerticalScrollbar' using base type 'CEGUI/Scrollbar', window renderer 'Falagard/Scrollbar' Look'N'Feel 'EraiseWidgets/VerticalScrollbar' and RenderEffect ''. (0022CBD0)
30/05/2011 18:13:56 (Std)    Creating falagard mapping for type 'EraiseWidgets/HorizontalScrollbar' using base type 'CEGUI/Scrollbar', window renderer 'Falagard/Scrollbar' Look'N'Feel 'EraiseWidgets/HorizontalScrollbar' and RenderEffect ''. (0022CBD0)
30/05/2011 18:13:56 (Std)    Creating falagard mapping for type 'EraiseWidgets/StaticText' using base type 'DefaultWindow', window renderer 'Falagard/StaticText' Look'N'Feel 'EraiseWidgets/StaticText' and RenderEffect ''. (0022CBD0)
30/05/2011 18:13:56 (Std)    Creating falagard mapping for type 'EraiseWidgets/Title' using base type 'DefaultWindow', window renderer 'Falagard/Default' Look'N'Feel 'EraiseWidgets/MiniTray' and RenderEffect ''. (0022CBD0)
30/05/2011 18:13:56 (Std)    Creating falagard mapping for type 'EraiseWidgets/CaptionedStaticText' using base type 'DefaultWindow', window renderer 'Falagard/StaticText' Look'N'Feel 'EraiseWidgets/CaptionedStaticText' and RenderEffect ''. (0022CBD0)
30/05/2011 18:13:56 (Std)    Creating falagard mapping for type 'EraiseWidgets/ProgressBar' using base type 'CEGUI/ProgressBar', window renderer 'Falagard/ProgressBar' Look'N'Feel 'EraiseWidgets/ProgressBar' and RenderEffect ''. (0022CBD0)
30/05/2011 18:13:56 (Std)    Creating falagard mapping for type 'EraiseWidgets/Editbox' using base type 'CEGUI/Editbox', window renderer 'Falagard/Editbox' Look'N'Feel 'EraiseWidgets/Editbox' and RenderEffect ''. (0022CBD0)
30/05/2011 18:13:56 (Std)    Creating falagard mapping for type 'EraiseWidgets/MultiLineEditbox' using base type 'CEGUI/MultiLineEditbox', window renderer 'Falagard/MultiLineEditbox' Look'N'Feel 'EraiseWidgets/MultiLineEditbox' and RenderEffect ''. (0022CBD0)
30/05/2011 18:13:56 (Std)    Creating falagard mapping for type 'EraiseWidgets/Listbox' using base type 'CEGUI/Listbox', window renderer 'Falagard/Listbox' Look'N'Feel 'EraiseWidgets/Listbox' and RenderEffect ''. (0022CBD0)
30/05/2011 18:13:56 (Std)    Creating falagard mapping for type 'EraiseWidgets/ComboDropList' using base type 'CEGUI/ComboDropList', window renderer 'Falagard/Listbox' Look'N'Feel 'EraiseWidgets/Listbox' and RenderEffect ''. (0022CBD0)
30/05/2011 18:13:56 (Std)    Creating falagard mapping for type 'EraiseWidgets/Combobox' using base type 'CEGUI/Combobox', window renderer 'Falagard/Default' Look'N'Feel 'EraiseWidgets/Combobox' and RenderEffect ''. (0022CBD0)
30/05/2011 18:13:56 (Std)    Creating falagard mapping for type 'EraiseWidgets/DropDownMenu' using base type 'CEGUI/Combobox', window renderer 'Falagard/Default' Look'N'Feel 'EraiseWidgets/DropDownMenu' and RenderEffect ''. (0022CBD0)
30/05/2011 18:13:56 (Std)    Creating falagard mapping for type 'EraiseWidgets/Group' using base type 'DefaultWindow', window renderer 'Falagard/Default' Look'N'Feel 'EraiseWidgets/Group' and RenderEffect ''. (0022CBD0)
30/05/2011 18:13:56 (Std)    Creating falagard mapping for type 'EraiseWidgets/Checkbox' using base type 'CEGUI/Checkbox', window renderer 'Falagard/ToggleButton' Look'N'Feel 'EraiseWidgets/Checkbox' and RenderEffect ''. (0022CBD0)
30/05/2011 18:13:56 (Std)    Creating falagard mapping for type 'EraiseWidgets/RadioButton' using base type 'CEGUI/RadioButton', window renderer 'Falagard/ToggleButton' Look'N'Feel 'EraiseWidgets/RadioButton' and RenderEffect ''. (0022CBD0)
30/05/2011 18:13:56 (Std)    Creating falagard mapping for type 'EraiseWidgets/Slider' using base type 'CEGUI/Slider', window renderer 'Falagard/Slider' Look'N'Feel 'EraiseWidgets/Slider' and RenderEffect ''. (0022CBD0)
30/05/2011 18:13:56 (Std)    Creating falagard mapping for type 'EraiseWidgets/StaticImage' using base type 'DefaultWindow', window renderer 'Falagard/StaticImage' Look'N'Feel 'EraiseWidgets/StaticImage' and RenderEffect ''. (0022CBD0)
30/05/2011 18:13:56 (Std)    Creating falagard mapping for type 'EraiseWidgets/AltStaticImage' using base type 'DefaultWindow', window renderer 'Falagard/Default' Look'N'Feel 'EraiseWidgets/AltStaticImage' and RenderEffect ''. (0022CBD0)
30/05/2011 18:13:56 (Std)    Creating falagard mapping for type 'EraiseWidgets/Tooltip' using base type 'CEGUI/Tooltip', window renderer 'Falagard/Tooltip' Look'N'Feel 'EraiseWidgets/Tooltip' and RenderEffect ''. (0022CBD0)
30/05/2011 18:13:56 (Std)    Creating falagard mapping for type 'EraiseWidgets/ItemListbox' using base type 'CEGUI/ItemListbox', window renderer 'Falagard/ItemListbox' Look'N'Feel 'EraiseWidgets/ItemListbox' and RenderEffect ''. (0022CBD0)
30/05/2011 18:13:56 (Std)    Creating falagard mapping for type 'EraiseWidgets/ListboxItem' using base type 'CEGUI/ItemEntry', window renderer 'Falagard/ItemEntry' Look'N'Feel 'EraiseWidgets/ListboxItem' and RenderEffect ''. (0022CBD0)
30/05/2011 18:13:56 (Std)    Creating falagard mapping for type 'EraiseWidgets/Spinner' using base type 'CEGUI/Spinner', window renderer 'Falagard/Default' Look'N'Feel 'EraiseWidgets/Spinner' and RenderEffect ''. (0022CBD0)
30/05/2011 18:13:56 (Std)    Creating falagard mapping for type 'EraiseWidgets/ScrollablePane' using base type 'CEGUI/ScrollablePane', window renderer 'Falagard/ScrollablePane' Look'N'Feel 'EraiseWidgets/ScrollablePane' and RenderEffect ''. (0022CBD0)
30/05/2011 18:13:56 (Std)    Creating falagard mapping for type 'EraiseWidgets/ListHeaderSegment' using base type 'CEGUI/ListHeaderSegment', window renderer 'Falagard/ListHeaderSegment' Look'N'Feel 'EraiseWidgets/ListHeaderSegment' and RenderEffect ''. (0022CBD0)
30/05/2011 18:13:56 (Std)    Creating falagard mapping for type 'EraiseWidgets/ListHeader' using base type 'CEGUI/ListHeader', window renderer 'Falagard/ListHeader' Look'N'Feel 'EraiseWidgets/ListHeader' and RenderEffect ''. (0022CBD0)
30/05/2011 18:13:56 (Std)    Creating falagard mapping for type 'EraiseWidgets/MultiColumnList' using base type 'CEGUI/MultiColumnList', window renderer 'Falagard/MultiColumnList' Look'N'Feel 'EraiseWidgets/MultiColumnList' and RenderEffect ''. (0022CBD0)
30/05/2011 18:13:56 (Std)    Creating falagard mapping for type 'EraiseWidgets/MenuItem' using base type 'CEGUI/MenuItem', window renderer 'Falagard/MenuItem' Look'N'Feel 'EraiseWidgets/MenuItem' and RenderEffect ''. (0022CBD0)
30/05/2011 18:13:56 (Std)    Creating falagard mapping for type 'EraiseWidgets/Menubar' using base type 'CEGUI/Menubar', window renderer 'Falagard/Menubar' Look'N'Feel 'EraiseWidgets/Menubar' and RenderEffect ''. (0022CBD0)
30/05/2011 18:13:56 (Std)    Creating falagard mapping for type 'EraiseWidgets/PopupMenu' using base type 'CEGUI/PopupMenu', window renderer 'Falagard/PopupMenu' Look'N'Feel 'EraiseWidgets/PopupMenu' and RenderEffect ''. (0022CBD0)
30/05/2011 18:13:56 (Std)    Creating falagard mapping for type 'EraiseWidgets/TabButton' using base type 'CEGUI/TabButton', window renderer 'Falagard/TabButton' Look'N'Feel 'EraiseWidgets/TabButton' and RenderEffect ''. (0022CBD0)
30/05/2011 18:13:56 (Std)    Creating falagard mapping for type 'EraiseWidgets/TabButtonPane' using base type 'DefaultWindow', window renderer 'Falagard/Default' Look'N'Feel 'EraiseWidgets/TabButtonPane' and RenderEffect ''. (0022CBD0)
30/05/2011 18:13:56 (Std)    Creating falagard mapping for type 'EraiseWidgets/TabContentPane' using base type 'DefaultWindow', window renderer 'Falagard/Default' Look'N'Feel 'EraiseWidgets/TabContentPane' and RenderEffect ''. (0022CBD0)
30/05/2011 18:13:56 (Std)    Creating falagard mapping for type 'EraiseWidgets/TabControl' using base type 'CEGUI/TabControl', window renderer 'Falagard/TabControl' Look'N'Feel 'EraiseWidgets/TabControl' and RenderEffect ''. (0022CBD0)
30/05/2011 18:13:56 (Std)    Creating falagard mapping for type 'EraiseWidgets/BG' using base type 'DefaultWindow', window renderer 'Falagard/Default' Look'N'Feel 'EraiseWidgets/BGTest' and RenderEffect ''. (0022CBD0)
30/05/2011 18:13:56 (Std)    Started creation of Font from XML specification:
30/05/2011 18:13:56 (Std)    ---- CEGUI font name: Menu
30/05/2011 18:13:56 (Std)    ----       Font type: Pixmap
30/05/2011 18:13:56 (Std)    ----     Source file: MenuFont.imageset in resource group: (Default)
30/05/2011 18:13:56 (Std)    Started creation of Imageset from XML specification:
30/05/2011 18:13:56 (Std)    ---- CEGUI Imageset name: MenuFont
30/05/2011 18:13:56 (Std)    ---- Source texture file: MenuFont.png in resource group: (Default)
30/05/2011 18:13:56 (Std)    ---- Returning existing instance of Imageset named 'MenuFont'.
30/05/2011 18:13:56 (Std)    ---- Returning existing instance of Font named 'Menu'.

Re: Segfault and CMake issues

Posted: Tue May 31, 2011 17:43
by CrazyEddie
If you can get a backtrace / callstack from the point of the segfault, that would be cool.

I have to state that using the development code may be a lot of hassle for you, though we are glad of any testing ;) This is completely untested by us using mingw. The unstable is now using a new source based dependencies pack which you can get here: https://sourceforge.net/projects/crayze ... pendencies again, the build for these is untested on mingw.

For setting up the build for Ogre, I'm not 100% sure, since I've not done it on windows. As far as building from an Ogre 'build' directory, where all the headers are not in the same location, this will have to be solved by the user (by copying the file or whatever). With some luck Kulik can advise on how he goes about all this on Windows, since I believe he has done it there, though neither of us use Windows as our primary platform.

CE.

Backtrace

Posted: Tue May 31, 2011 19:14
by BrightBit
Hi CrazyEddie and thanks for your answer,

here's the backtrace:

Code: Select all

#0 70E23A92  CEGUI::Imageset::draw(this=0x0, buffer=@0x12a2f2a0, source_rect=@0x12a02abc, dest_rect=@0x22ef30,
             clip_rect=0x22f850, colours=@0x22f040, quad_split_mode=CEGUI::TopLeftToBottomRight) (C:\CEGUI-0.7.5\
             cegui\src\CEGUIImageset.cpp:178)
#1 70E21F31  CEGUI::Image::draw(this=0x12a02ab8, buffer=@0x12a2f2a0, dest_rect=@0x22ef80, clip_rect=0x22f850,
             colours=@0x22f040, quad_split_mode=CEGUI::TopLeftToBottomRight) (C:\CEGUI-0.7.5\
             cegui\src\CEGUIImage.cpp:119)
#2 70F86726  CEGUI::Image::draw(this=0x12a02ab8, buffer=@0x12a2f2a0, position=@0x22efd0, size=@0x22efd8, clip_rect=0x22f850,
             colours=@0x22f040, quad_split_mode=CEGUI::TopLeftToBottomRight) (../../../
             cegui/include/CEGUIImage.h:324)
#3 70E19B80  CEGUI::Font::drawText(this=0xa88da38, buffer=@0x12a2f2a0, text=@0x12a3b64c, position=@0x22f0a0,
             clip_rect=0x22f850, colours=@0x22f040, space_extra=0, x_scale=1, y_scale=1) (C:\CEGUI-0.7.5\
             cegui\src\CEGUIFont.cpp:193)
#4 70E337EA  CEGUI::RenderedStringTextComponent::draw(this=0x12a3b630, buffer=@0x12a2f2a0, position=@0x22f25c,
             mod_colours=0x22f548, clip_rect=0x22f850, vertical_space=16, space_extra=0) (C:\CEGUI-0.7.5\
             cegui\src\CEGUIRenderedStringTextComponent.cpp:170)
#5 70E31CF8  CEGUI::RenderedString::draw(this=0x12a3b378, line=0, buffer=@0x12a2f2a0, position=@0x22f40c,
             mod_colours=0x22f548, clip_rect=0x22f850, space_extra=0) (C:\CEGUI-0.7.5\
             cegui\src\CEGUIRenderedString.cpp:299)
#6 70E0FFDD  CEGUI::CentredRenderedString::draw(this=0x129a4f70, buffer=@0x12a2f2a0, position=@0x22f464,
             mod_colours=0x22f548, clip_rect=0x22f850) (C:\CEGUI-0.7.5\
             cegui\src\CEGUICentredRenderedString.cpp:63)
#7 70F85798  CEGUI::RenderedStringWordWrapper<CEGUI::CentredRenderedString>::draw(this=0x12a19718, buffer=@0x12a2f2a0,
             position=@0x22f7e4, mod_colours=0x22f548, clip_rect=0x22f850) (../../../
             cegui/include/CEGUIRenderedStringWordWrapper.h:135)
#8 70EAD48D  CEGUI::TextComponent::render_impl(this=0x129f4690, srcWindow=@0x12a2ed00, destRect=@0x22f860,
             modColours=0x22f8b4, clipper=0x22f850) (C:\CEGUI-0.7.5\
             cegui\src\falagard\CEGUIFalTextComponent.cpp:312)
#9 70E9F7D3  CEGUI::FalagardComponentBase::render(this=0x129f4690, srcWindow=@0x12a2ed00,
             modColours=0x22f8b4, clipper=0x22f860, clipToDisplay=false) (C:\CEGUI-0.7.5\
             cegui\src\falagard\CEGUIFalComponentBase.cpp:54)
#10 70EA74B0 CEGUI::ImagerySection::render(this=0x129e2c28, srcWindow=@0x12a2ed00, modColours=0x22f978,
             clipper=0x0, clipToDisplay=false) (C:\CEGUI-0.7.5\
             cegui\src\falagard\CEGUIFalImagerySection.cpp:70)
#11 70EAA884 CEGUI::SectionSpecification::render(this=0x129f55c8, srcWindow=@0x12a2ed00, modcols=0x0,
             clipper=0x0, clipToDisplay=false) (C:\CEGUI-0.7.5\
             cegui\src\falagard\CEGUIFalSectionSpecification.cpp:99)
#12 70EA87C1 CEGUI::LayerSpecification::render(this=0x129d5d78, srcWindow=@0x12a2ed00, modcols=0x0,
             clipper=0x0, clipToDisplay=false) (C:\CEGUI-0.7.5\
             cegui\src\falagard\CEGUIFalLayerSpecification.cpp:43)
#13 70EAB810 CEGUI::StateImagery::render(this=0x129d5c98, srcWindow=@0x12a2ed00, modcols=0x0,
             clipper=0x0) (C:\CEGUI-0.7.5\
             cegui\src\falagard\CEGUIFalStateImagery.cpp:47)
#14 6E1C14E3 CEGUI::FalagardButton::render(this=0x12a21fb0) (C:\CEGUI-0.7.5\
             cegui\src\WindowRendererSets\Falagard\FalButton.cpp:73)
#15 70E48E32 CEGUI::Window::bufferGeometry(this=0x12a2ed00) (C:\CEGUI-0.7.5\
             cegui\src\CEGUIWindow.cpp:1242)
#16 70E48D84 CEGUI::Window::drawSelf(this=0x12a2ed00, ctx=@0x22fc44) (C:\CEGUI-0.7.5\
             cegui\src\CEGUIWindow.cpp:1221)
#17 70E48D03 CEGUI::Window::render(this=0x12a2ed00) (C:\CEGUI-0.7.5\
             cegui\src\CEGUIWindow.cpp:1205)
#18 70E48D3C CEGUI::Window::render(this=0x12a01c48) (C:\CEGUI-0.7.5\
             cegui\src\CEGUIWindow.cpp:1210)
#19 70E3F585 CEGUI::System::renderGUI(this=0xa886188) (C:\CEGUI-0.7.5\
             cegui\src\CEGUISystem.cpp:408)
#20 627045B5 CEGUI::OgreGUIFrameListener::frameRenderingQueued(this=0x6279e2b8) (C:\CEGUI-0.7.5\
             cegui\src\RendererModules\Ogre\CEGUIOgreRenderer.cpp:560)
#21 016ACF26 Ogre::Root::_fireFrameRenderingQueued(this=0xb0c0260, evt=@0x22fd48) (D:\Programming\
             Repositories\Ogre\Source\OgreMain\src\OgreRoot.cpp:829)
#22 016AD126 Ogre::Root::_fireFrameRenderingQueued(this=0xb0c0260) (D:\Programming\
             Repositories\Ogre\Source\OgreMain\src\OgreRoot.cpp:884)
#23 016B0C0E Ogre::Root::_updateAllRenderTargets(this=0xb0c0260) (D:\Programming\
             Repositories\Ogre\Source\OgreMain\src\OgreRoot.cpp:1376)
#24 016AD46B Ogre::Root::renderOneFrame(this=0xb0c0260) (D:\Programming\
             Repositories\Ogre\Source\OgreMain\src\OgreRoot.cpp:966)
#25 004064A5 Threed::Application::update(this=0x22fec0, deltaTime=0) (D:\Programming\
             Projects\Ogre\Threed\Source\ThreedApplication.cpp:320)
#26 00402E3E Threed::Application::run(this=0x22fec0) (D:\Programming\
             Projects\Ogre\Threed\Source\ThreedApplication.cpp:112)
#27 0047420D main(argc=1, argv=0xa797d38) (D:\Programming\
             Projects\Ogre\Threed\main.cpp:34)


CrazzyEddie wrote:neither of us use Windows as our primary platform.

I can't blame you for that. :-)

Re: Segfault and CMake issues

Posted: Tue May 31, 2011 19:36
by Kulik
Logs from the 0.8 run please :-) The Imageset ptr is zero which indicates an invalid Image was created. The imageset referring format has changed so maybe it's related to that ("set:Imageset image:Image" is now "Imageset/Image").

Re: Segfault and CMake issues

Posted: Tue May 31, 2011 19:53
by BrightBit
Hi Kulik,

I didn't succeed in compiling 0.8 as I mentioned in my first post. But my first post contains the Log for 0.7.5 which is the version where I get the segfault.

Kulik wrote:The imageset referring format has changed so maybe it's related to that ("set:Imageset image:Image" is now "Imageset/Image").

Normal fonts (true type fonts) work with CEGUI. A Pixmap font is causing the segfault, so is there any difference between these two types of fonts regarding imageset creation?


Greetings
BrightBit

Re: Segfault and CMake issues

Posted: Wed Jun 01, 2011 15:27
by CrazyEddie
Would it be possible for you post the xml for the font Menu and the xml for the Imageset MenuFont. It appears that everything is loading ok, but the Imageset 'this' being 0 is worrying, since the Image that calls it is created by the imageset!

If you compile the samples in the SDK, does the FontDemo application work ok - especially selecting the FairChar font, since that's a pixmap based font?

CE.

Re: Segfault and CMake issues

Posted: Wed Jun 01, 2011 15:46
by BrightBit
CrazyEddie wrote:Would it be possible for you post the xml for the font Menu and the xml for the Imageset MenuFont.

Of course. Here they come.

Menu.font:

Code: Select all

<?xml version="1.0" ?>
<Font Name="Menu" Filename="MenuFont.imageset" Type="Pixmap" NativeHorzRes="640" NativeVertRes="480" AutoScaled="false">

   <Mapping Codepoint="32" Image=" " HorzAdvance="15" />

   <Mapping Codepoint="65" Image="a" />
   <Mapping Codepoint="66" Image="b" />
   <Mapping Codepoint="67" Image="c" />
   <Mapping Codepoint="68" Image="d" />
   <Mapping Codepoint="69" Image="e" />
   <Mapping Codepoint="70" Image="f" />
   <Mapping Codepoint="71" Image="g" />
   <Mapping Codepoint="72" Image="h" />
   <Mapping Codepoint="73" Image="i" />
   <Mapping Codepoint="74" Image="j" />
   <Mapping Codepoint="75" Image="k" />
   <Mapping Codepoint="76" Image="l" />
   <Mapping Codepoint="77" Image="m" />
   <Mapping Codepoint="78" Image="n" />
   <Mapping Codepoint="79" Image="o" />
   <Mapping Codepoint="80" Image="p" />
   <Mapping Codepoint="81" Image="q" />
   <Mapping Codepoint="82" Image="r" />
   <Mapping Codepoint="83" Image="s" />
   <Mapping Codepoint="84" Image="t" />
   <Mapping Codepoint="85" Image="u" />
   <Mapping Codepoint="86" Image="v" />
   <Mapping Codepoint="87" Image="w" />
   <Mapping Codepoint="88" Image="x" />
   <Mapping Codepoint="89" Image="y" />
   <Mapping Codepoint="90" Image="z" />
   
   <Mapping Codepoint="97" Image="a" />
   <Mapping Codepoint="98" Image="b" />
   <Mapping Codepoint="99" Image="c" />
   <Mapping Codepoint="100" Image="d" />
   <Mapping Codepoint="101" Image="e" />
   <Mapping Codepoint="102" Image="f" />
   <Mapping Codepoint="103" Image="g" />
   <Mapping Codepoint="104" Image="h" />
   <Mapping Codepoint="105" Image="i" />
   <Mapping Codepoint="106" Image="j" />
   <Mapping Codepoint="107" Image="k" />
   <Mapping Codepoint="108" Image="l" />
   <Mapping Codepoint="109" Image="m" />
   <Mapping Codepoint="110" Image="n" />
   <Mapping Codepoint="111" Image="o" />
   <Mapping Codepoint="112" Image="p" />
   <Mapping Codepoint="113" Image="q" />
   <Mapping Codepoint="114" Image="r" />
   <Mapping Codepoint="115" Image="s" />
   <Mapping Codepoint="116" Image="t" />
   <Mapping Codepoint="117" Image="u" />
   <Mapping Codepoint="118" Image="v" />
   <Mapping Codepoint="119" Image="w" />
   <Mapping Codepoint="120" Image="x" />
   <Mapping Codepoint="121" Image="y" />
   <Mapping Codepoint="122" Image="z" />

</Font>

MenuFont.imageset:

Code: Select all

<?xml version="1.0" ?>

<Imageset Name="MenuFont" Imagefile="MenuFont.png" AutoScaled="false" >
    <Image Name=" " XPos="0" YPos="0" Width="0" Height="0" />
    <Image Name="a" XPos="4" YPos="0" Width="8" Height="16" />
    <Image Name="b" XPos="20" YPos="0" Width="7" Height="16" />
    <Image Name="c" XPos="36" YPos="0" Width="8" Height="16" />
    <Image Name="d" XPos="52" YPos="0" Width="7" Height="16" />
    <Image Name="e" XPos="68" YPos="0" Width="7" Height="16" />
    <Image Name="f" XPos="85" YPos="0" Width="6" Height="16" />
    <Image Name="g" XPos="100" YPos="0" Width="7" Height="16" />
    <Image Name="h" XPos="116" YPos="0" Width="7" Height="16" />
    <Image Name="i" XPos="6" YPos="16" Width="3" Height="16" />
    <Image Name="j" XPos="22" YPos="16" Width="4" Height="16" />
    <Image Name="k" XPos="37" YPos="16" Width="7" Height="16" />
    <Image Name="l" XPos="54" YPos="16" Width="4" Height="16" />
    <Image Name="m" XPos="67" YPos="16" Width="11" Height="16" />
    <Image Name="n" XPos="84" YPos="16" Width="7" Height="16" />
    <Image Name="o" XPos="100" YPos="16" Width="8" Height="16" />
    <Image Name="p" XPos="117" YPos="16" Width="7" Height="16" />
    <Image Name="q" XPos="4" YPos="32" Width="8" Height="16" />
    <Image Name="r" XPos="21" YPos="32" Width="7" Height="16" />
    <Image Name="s" XPos="36" YPos="32" Width="8" Height="16" />
    <Image Name="t" XPos="53" YPos="32" Width="6" Height="16" />
    <Image Name="u" XPos="68" YPos="32" Width="7" Height="16" />
    <Image Name="v" XPos="84" YPos="32" Width="7" Height="16" />
    <Image Name="w" XPos="99" YPos="32" Width="11" Height="16" />
    <Image Name="x" XPos="116" YPos="32" Width="7" Height="16" />
    <Image Name="y" XPos="5" YPos="48" Width="7" Height="16" />
    <Image Name="z" XPos="16" YPos="48" Width="16" Height="16" />
</Imageset>

CrazyEddie wrote:If you compile the samples in the SDK, does the FontDemo application work ok - especially selecting the FairChar font, since that's a pixmap based font?

I did test it now and it actually works. Hmmm... I will try to find the difference between the FairChar Sample and my version. Thank you for the hint. I didn't notice the Font sample before.

the reason or a trace at least

Posted: Wed Jun 01, 2011 23:36
by BrightBit
I was able to compile the sample and found something.

The main difference between my code and the code of the Font Sample is the method CEGUI::Window::setFont. The sample uses this method to explicitly set the font of a window. Whereas my code implicitly defines the font to use via *.scheme files. I changed my code to use the method setFont as well and it actually worked. Then in turn I changed the TaharezLook.scheme of the Font Sample to use the FairChar font instead of the DejaVuSans font and indeed the segfault I got in my app now also happened in the sample (or at least some similar error).

This is the backtrace of the sample when I got the segfault:

Code: Select all

#0 624BB152   ZNK5CEGUI8Imageset4drawERNS_14GeometryBufferERKNS_4RectES5_PS4_RKNS_10ColourRectENS_13QuadSplitModeE()
              (D:\Programming\SDKs\CEGUI\bin\CEGUIBase.dll:??)
#1 00000000   0x00cd0608 in ??() (??:??)
#2 7C96FDBC   ntdll!RtlpNtMakeTemporaryKey() (C:\WINDOWS\system32\ntdll.dll:??)
#3 00000000   0x90909090 in ??() (??:??)
#4 00000000   0xffffffff in ??() (??:??)
#5 00000000   0x00000000 in ??() (??:??)


Greetings
BrightBit

Re: Segfault and CMake issues

Posted: Mon Jun 06, 2011 07:15
by CrazyEddie
I tested this by ensuring the font referenced in TaharezLook.scheme was the pixmap "FairChar-30" - the samples ran fine for me (aside from the missing glyphs, since that font only contains upper case chars ;) ). certainly no segfault. This test was run on linux though - I no longer use Windows other than for playing some games.

CE.