CEGUI_FALAGARD_RENDERER - should be defined where?

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

Stefan Lundmark
Just popping in
Just popping in
Posts: 16
Joined: Wed Oct 14, 2009 22:11

CEGUI_FALAGARD_RENDERER - should be defined where?

Postby Stefan Lundmark » Wed Oct 14, 2009 22:15

Hi,

I'm trying to compile (statically) CEGUI 1.6 with OGRE and am running into the following linking error:

unresolved external symbol _registerFactoryFunction
unresolved external symbol _registerAllFactoriesFunction


I've made sure it's a static configuration, the correct lib is linked to and the order of linkage is with the Falgard library after Base.
Over here it says I should define CEGUI_FALAGARD_RENDERER myself somewhere, but I've done that in several places (Falagard, Base, CEGUIOgreRenderer and my own project) but the error still comes up.

Am I missing something terribly obvious here? I'm confused, but thankful for any suggestions.

Sincerely,
Stefan

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

Re: CEGUI_FALAGARD_RENDERER - should be defined where?

Postby CrazyEddie » Thu Oct 15, 2009 09:23

Hi,

Can you clarify which CEGUI version please, since 1.6 is probably the Ogre version and not the CEGUI version :)

The particular errors seems to indicate a missing CEGUIFalagardWRBase.lib (or CEGUIFalagardWRBase_d.lib for a debug build). Although in CEGUI 0.7.0 these functions do not exist anymore, so if you're using that version, it would indicate a mismatch of the libs being linked to.

I'm not really sure what the point of defining CEGUI_FALAGARD_RENDERER would be, though perhaps there is some nasty #pragma lib thing in there that's supposed to automatically link to the correct library?

CE.

Stefan Lundmark
Just popping in
Just popping in
Posts: 16
Joined: Wed Oct 14, 2009 22:11

Re: CEGUI_FALAGARD_RENDERER - should be defined where?

Postby Stefan Lundmark » Thu Oct 15, 2009 11:23

Hi CE and thanks for your answer,

Yeah I meant to say version 0.6.2b. I've been hitting this error for a day now and it's terribly embarassing to say that you were (of course) right in that the falgard lib wasn't linked to. I have no idea how that happened as I made sure it was there before, but must have taken it out when I switched from 0.5.

I'd love to take a look at 0.7 but it scares me off with all the changes. I'd like to wait until our ingame GUI is in a usable state first.
Hoping to see that Scheme Editor of yours in the near future! :)

Thanks again.

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

Re: CEGUI_FALAGARD_RENDERER - should be defined where?

Postby CrazyEddie » Fri Oct 16, 2009 12:02

I'd love to take a look at 0.7 but it scares me off with all the changes.

:lol:

0.7.0 has been somewhat amusing for me as far as the amount of issues there have been. I think the once the 0.7.1 release is made, things should be much more stable and so hopefully will inspire a few more users to take the plunge and upgrade :)

CE.

Stefan Lundmark
Just popping in
Just popping in
Posts: 16
Joined: Wed Oct 14, 2009 22:11

Re: CEGUI_FALAGARD_RENDERER - should be defined where?

Postby Stefan Lundmark » Fri Oct 16, 2009 22:47

I've hit a snag (again) with TaharezLook not looking quite like it did when I dynamically linked to CEGUI before.
Here's a screen:

Image

Is the issue obvious? I can't tell, but the background sure is the one from TaharezLook.. but the borders look way wrong. The CEGUI.log shows no errors, debugging the file system callbacks shows all files get opened like they should etc.

This is how it should look like:

Image

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

Re: CEGUI_FALAGARD_RENDERER - should be defined where?

Postby CrazyEddie » Sat Oct 17, 2009 08:49

Just to confirm, so I look at the right code... This is still 0.6.2b? And the only change was switching from dynamic linking to static linking?

The issue looks like the texture image has come in stretched, though changing the link approach should not have affected that (stating the obvious, I know). Is the difference in colour and other content significant, or can that be ignored?

CE.

Stefan Lundmark
Just popping in
Just popping in
Posts: 16
Joined: Wed Oct 14, 2009 22:11

Re: CEGUI_FALAGARD_RENDERER - should be defined where?

Postby Stefan Lundmark » Sat Oct 17, 2009 11:08

Yeah, 0.62b. The change in color is due to the gui controls being transparent and the background is showing trough, so the only issue seems to be related to how the widgets line up.

Are the assets between 0.5 and 0.6b compatible? I just noticed the ones in the 0.6b samples are different in WinMerge.

Edit: Using the TaharezLook as found in 0.6b gives me this:

Image

Incase the log does say something:

Code: Select all

17/10/2009 13:08:37 (Std)    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
17/10/2009 13:08:37 (Std)    +                     Crazy Eddie's GUI System - Event log                    +
17/10/2009 13:08:37 (Std)    +                          (http://www.cegui.org.uk/)                         +
17/10/2009 13:08:37 (Std)    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

17/10/2009 13:08:37 (Std)    CEGUI::Logger singleton created. (003CEC48)
17/10/2009 13:08:37 (Std)    ---- Begining CEGUI System initialisation ----
17/10/2009 13:08:37 (Std)    CEGUI::ImagesetManager singleton created (014733C0)
17/10/2009 13:08:37 (Std)    CEGUI::FontManager singleton created. (01473440)
17/10/2009 13:08:37 (Std)    CEGUI::WindowFactoryManager singleton created
17/10/2009 13:08:37 (Std)    CEGUI::WindowManager singleton created (01459270)
17/10/2009 13:08:37 (Std)    CEGUI::SchemeManager singleton created. (01473FE0)
17/10/2009 13:08:37 (Std)    CEGUI::MouseCursor singleton created. (01434140)
17/10/2009 13:08:37 (Std)    CEGUI::GlobalEventSet singleton created. (0146EB60)
17/10/2009 13:08:37 (Std)    CEGUI::WidgetLookManager singleton created. (014715F0)
17/10/2009 13:08:37 (Std)    CEGUI::WindowRendererManager singleton created (0146F3B8)
17/10/2009 13:08:37 (Std)    WindowFactory for 'DefaultWindow' windows added. (0094CCD0)
17/10/2009 13:08:37 (Std)    WindowFactory for 'DragContainer' windows added. (0094CD70)
17/10/2009 13:08:37 (Std)    WindowFactory for 'ScrolledContainer' windows added. (0094CE10)
17/10/2009 13:08:37 (Std)    WindowFactory for 'ClippedContainer' windows added. (0094CEB0)
17/10/2009 13:08:37 (Std)    WindowFactory for 'CEGUI/Checkbox' windows added. (0094CF50)
17/10/2009 13:08:37 (Std)    WindowFactory for 'CEGUI/PushButton' windows added. (0094D8B0)
17/10/2009 13:08:37 (Std)    WindowFactory for 'CEGUI/RadioButton' windows added. (0094D950)
17/10/2009 13:08:37 (Std)    WindowFactory for 'CEGUI/Combobox' windows added. (0094D090)
17/10/2009 13:08:37 (Std)    WindowFactory for 'CEGUI/ComboDropList' windows added. (0094CFF0)
17/10/2009 13:08:37 (Std)    WindowFactory for 'CEGUI/Editbox' windows added. (0094D130)
17/10/2009 13:08:37 (Std)    WindowFactory for 'CEGUI/FrameWindow' windows added. (0094D1D0)
17/10/2009 13:08:37 (Std)    WindowFactory for 'CEGUI/ItemEntry' windows added. (0094D270)
17/10/2009 13:08:37 (Std)    WindowFactory for 'CEGUI/Listbox' windows added. (0094D450)
17/10/2009 13:08:37 (Std)    WindowFactory for 'CEGUI/ListHeader' windows added. (0094D310)
17/10/2009 13:08:37 (Std)    WindowFactory for 'CEGUI/ListHeaderSegment' windows added. (0094D3B0)
17/10/2009 13:08:37 (Std)    WindowFactory for 'CEGUI/Menubar' windows added. (0094D590)
17/10/2009 13:08:37 (Std)    WindowFactory for 'CEGUI/PopupMenu' windows added. (0094D770)
17/10/2009 13:08:37 (Std)    WindowFactory for 'CEGUI/MenuItem' windows added. (0094D4F0)
17/10/2009 13:08:37 (Std)    WindowFactory for 'CEGUI/MultiColumnList' windows added. (0094D630)
17/10/2009 13:08:37 (Std)    WindowFactory for 'CEGUI/MultiLineEditbox' windows added. (0094D6D0)
17/10/2009 13:08:37 (Std)    WindowFactory for 'CEGUI/ProgressBar' windows added. (0094D810)
17/10/2009 13:08:37 (Std)    WindowFactory for 'CEGUI/ScrollablePane' windows added. (0094D9F0)
17/10/2009 13:08:37 (Std)    WindowFactory for 'CEGUI/Scrollbar' windows added. (0094DA90)
17/10/2009 13:08:37 (Std)    WindowFactory for 'CEGUI/Slider' windows added. (0094DB30)
17/10/2009 13:08:37 (Std)    WindowFactory for 'CEGUI/Spinner' windows added. (0094DBD0)
17/10/2009 13:08:37 (Std)    WindowFactory for 'CEGUI/TabButton' windows added. (0094DC70)
17/10/2009 13:08:37 (Std)    WindowFactory for 'CEGUI/TabControl' windows added. (0094DD10)
17/10/2009 13:08:37 (Std)    WindowFactory for 'CEGUI/Thumb' windows added. (0094DDB0)
17/10/2009 13:08:37 (Std)    WindowFactory for 'CEGUI/Titlebar' windows added. (0094DE50)
17/10/2009 13:08:37 (Std)    WindowFactory for 'CEGUI/Tooltip' windows added. (0094DEF0)
17/10/2009 13:08:37 (Std)    WindowFactory for 'CEGUI/ItemListbox' windows added. (0094DF90)
17/10/2009 13:08:37 (Std)    WindowFactory for 'CEGUI/GroupBox' windows added. (0094E030)
17/10/2009 13:08:37 (Std)    WindowFactory for 'CEGUI/Tree' windows added. (0094E0D0)
17/10/2009 13:08:37 (Std)    Window type alias named 'DefaultGUISheet' added for window type 'DefaultWindow'.
17/10/2009 13:08:37 (Std)    CEGUI::System singleton created. (003CB618)
17/10/2009 13:08:37 (Std)    ---- CEGUI System initialisation completed ----
17/10/2009 13:08:37 (Std)    ---- Version 0.6.2 ----
17/10/2009 13:08:37 (Std)    ---- Renderer module is: CEGUI::OgreRenderer - Official Ogre based renderer module for CEGUI ----
17/10/2009 13:08:37 (Std)    ---- XML Parser module is: CEGUI::ExpatParser - Official expat based parser module for CEGUI ----
17/10/2009 13:08:37 (Std)    ---- Scripting module is: None ----
17/10/2009 13:08:37 (Std)    Attempting to load Scheme from file 'gui/taharezlook.scheme'.
17/10/2009 13:08:37 (Std)    Attempting to create an Imageset from the information specified in file 'gui/taharezlook.imageset'.
17/10/2009 13:08:37 (Std)    Started creation of Imageset from XML specification:
17/10/2009 13:08:37 (Std)    ---- CEGUI Imageset name: TaharezLook
17/10/2009 13:08:37 (Std)    ---- Source texture file: gui/taharezlook.tga in resource group: (Default)
17/10/2009 13:08:37 (Std)    Attempting to create Font from the information specified in file 'fonts/commonwealth-10.font'.
17/10/2009 13:08:37 (Std)    Started creation of FreeType Font:
17/10/2009 13:08:37 (Std)    ---- CEGUI font name: Commonwealth-10
17/10/2009 13:08:37 (Std)    ----     Source file: fonts/commonv2c.ttf in resource group: (Default)
17/10/2009 13:08:37 (Std)    ---- Real point size: 10
17/10/2009 13:08:37 (Std)    Succsessfully loaded 219 glyphs
17/10/2009 13:08:37 (Std)    ===== Falagard 'root' element: look and feel parsing begins =====
17/10/2009 13:08:38 (Std)    ===== Look and feel parsing completed =====
17/10/2009 13:08:38 (Std)    No window renderer factories specified for module 'CEGUIFalagardWRBase' - adding all available factories...
17/10/2009 13:08:38 (Std)    WindowRendererFactory 'Falagard/Button' added. (0095E918)
17/10/2009 13:08:38 (Std)    WindowRendererFactory 'Falagard/Default' added. (0095EAF8)
17/10/2009 13:08:38 (Std)    WindowRendererFactory 'Falagard/Editbox' added. (0095DB58)
17/10/2009 13:08:38 (Std)    WindowRendererFactory 'Falagard/FrameWindow' added. (0095EA58)
17/10/2009 13:08:38 (Std)    WindowRendererFactory 'Falagard/ItemEntry' added. (0095E058)
17/10/2009 13:08:38 (Std)    WindowRendererFactory 'Falagard/ListHeader' added. (0095DA18)
17/10/2009 13:08:38 (Std)    WindowRendererFactory 'Falagard/ListHeaderSegment' added. (0095DDD8)
17/10/2009 13:08:38 (Std)    WindowRendererFactory 'Falagard/Listbox' added. (0095E738)
17/10/2009 13:08:38 (Std)    WindowRendererFactory 'Falagard/Menubar' added. (0095DE78)
17/10/2009 13:08:38 (Std)    WindowRendererFactory 'Falagard/MenuItem' added. (0095E378)
17/10/2009 13:08:38 (Std)    WindowRendererFactory 'Falagard/MultiColumnList' added. (0095E238)
17/10/2009 13:08:38 (Std)    WindowRendererFactory 'Falagard/MultiLineEditbox' added. (0095DAB8)
17/10/2009 13:08:38 (Std)    WindowRendererFactory 'Falagard/PopupMenu' added. (0095E698)
17/10/2009 13:08:38 (Std)    WindowRendererFactory 'Falagard/ProgressBar' added. (0095DF18)
17/10/2009 13:08:38 (Std)    WindowRendererFactory 'Falagard/ScrollablePane' added. (0095E7D8)
17/10/2009 13:08:38 (Std)    WindowRendererFactory 'Falagard/Scrollbar' added. (0095E5F8)
17/10/2009 13:08:38 (Std)    WindowRendererFactory 'Falagard/Slider' added. (0095E878)
17/10/2009 13:08:38 (Std)    WindowRendererFactory 'Falagard/Static' added. (0095E558)
17/10/2009 13:08:38 (Std)    WindowRendererFactory 'Falagard/StaticImage' added. (0095E9B8)
17/10/2009 13:08:38 (Std)    WindowRendererFactory 'Falagard/StaticText' added. (0095E2D8)
17/10/2009 13:08:38 (Std)    WindowRendererFactory 'Falagard/SystemButton' added. (0095DFB8)
17/10/2009 13:08:38 (Std)    WindowRendererFactory 'Falagard/TabButton' added. (0095E0F8)
17/10/2009 13:08:38 (Std)    WindowRendererFactory 'Falagard/TabControl' added. (0095DC98)
17/10/2009 13:08:38 (Std)    WindowRendererFactory 'Falagard/Titlebar' added. (0095E4B8)
17/10/2009 13:08:38 (Std)    WindowRendererFactory 'Falagard/ToggleButton' added. (0095DD38)
17/10/2009 13:08:38 (Std)    WindowRendererFactory 'Falagard/Tooltip' added. (0095DBF8)
17/10/2009 13:08:38 (Std)    WindowRendererFactory 'Falagard/ItemListbox' added. (0095E418)
17/10/2009 13:08:38 (Std)    WindowRendererFactory 'Falagard/Tree' added. (0095E198)
17/10/2009 13:08:38 (Std)    Creating falagard mapping for type 'TaharezLook/Button' using base type 'CEGUI/PushButton', window renderer 'Falagard/Button' and Look'N'Feel 'TaharezLook/Button'. (0012E690)
17/10/2009 13:08:38 (Std)    Creating falagard mapping for type 'TaharezLook/Checkbox' using base type 'CEGUI/Checkbox', window renderer 'Falagard/ToggleButton' and Look'N'Feel 'TaharezLook/Checkbox'. (0012E690)
17/10/2009 13:08:38 (Std)    Creating falagard mapping for type 'TaharezLook/ImageButton' using base type 'CEGUI/PushButton', window renderer 'Falagard/Button' and Look'N'Feel 'TaharezLook/ImageButton'. (0012E690)
17/10/2009 13:08:38 (Std)    Creating falagard mapping for type 'TaharezLook/RadioButton' using base type 'CEGUI/RadioButton', window renderer 'Falagard/ToggleButton' and Look'N'Feel 'TaharezLook/RadioButton'. (0012E690)
17/10/2009 13:08:38 (Std)    Creating falagard mapping for type 'TaharezLook/FrameWindow' using base type 'CEGUI/FrameWindow', window renderer 'Falagard/FrameWindow' and Look'N'Feel 'TaharezLook/FrameWindow'. (0012E690)
17/10/2009 13:08:38 (Std)    Creating falagard mapping for type 'TaharezLook/Titlebar' using base type 'CEGUI/Titlebar', window renderer 'Falagard/Titlebar' and Look'N'Feel 'TaharezLook/Titlebar'. (0012E690)
17/10/2009 13:08:38 (Std)    Creating falagard mapping for type 'TaharezLook/SystemButton' using base type 'CEGUI/PushButton', window renderer 'Falagard/SystemButton' and Look'N'Feel 'TaharezLook/Button'. (0012E690)
17/10/2009 13:08:38 (Std)    Creating falagard mapping for type 'TaharezLook/Editbox' using base type 'CEGUI/Editbox', window renderer 'Falagard/Editbox' and Look'N'Feel 'TaharezLook/Editbox'. (0012E690)
17/10/2009 13:08:38 (Std)    Creating falagard mapping for type 'TaharezLook/MultiLineEditbox' using base type 'CEGUI/MultiLineEditbox', window renderer 'Falagard/MultiLineEditbox' and Look'N'Feel 'TaharezLook/MultiLineEditbox'. (0012E690)
17/10/2009 13:08:38 (Std)    Creating falagard mapping for type 'TaharezLook/Menubar' using base type 'CEGUI/Menubar', window renderer 'Falagard/Menubar' and Look'N'Feel 'TaharezLook/Menubar'. (0012E690)
17/10/2009 13:08:38 (Std)    Creating falagard mapping for type 'TaharezLook/PopupMenu' using base type 'CEGUI/PopupMenu', window renderer 'Falagard/PopupMenu' and Look'N'Feel 'TaharezLook/PopupMenu'. (0012E690)
17/10/2009 13:08:38 (Std)    Creating falagard mapping for type 'TaharezLook/MenuItem' using base type 'CEGUI/MenuItem', window renderer 'Falagard/MenuItem' and Look'N'Feel 'TaharezLook/MenuItem'. (0012E690)
17/10/2009 13:08:38 (Std)    Creating falagard mapping for type 'TaharezLook/AlternateProgressBar' using base type 'CEGUI/ProgressBar', window renderer 'Falagard/ProgressBar' and Look'N'Feel 'TaharezLook/AltProgressBar'. (0012E690)
17/10/2009 13:08:38 (Std)    Creating falagard mapping for type 'TaharezLook/ProgressBar' using base type 'CEGUI/ProgressBar', window renderer 'Falagard/ProgressBar' and Look'N'Feel 'TaharezLook/ProgressBar'. (0012E690)
17/10/2009 13:08:38 (Std)    Creating falagard mapping for type 'TaharezLook/VUMeter' using base type 'CEGUI/ProgressBar', window renderer 'Falagard/ProgressBar' and Look'N'Feel 'TaharezLook/VUMeter'. (0012E690)
17/10/2009 13:08:38 (Std)    Creating falagard mapping for type 'TaharezLook/VerticalScrollbar' using base type 'CEGUI/Scrollbar', window renderer 'Falagard/Scrollbar' and Look'N'Feel 'TaharezLook/VerticalScrollbar'. (0012E690)
17/10/2009 13:08:38 (Std)    Creating falagard mapping for type 'TaharezLook/HorizontalScrollbar' using base type 'CEGUI/Scrollbar', window renderer 'Falagard/Scrollbar' and Look'N'Feel 'TaharezLook/HorizontalScrollbar'. (0012E690)
17/10/2009 13:08:38 (Std)    Creating falagard mapping for type 'TaharezLook/VerticalScrollbarThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' and Look'N'Feel 'TaharezLook/VerticalScrollbarThumb'. (0012E690)
17/10/2009 13:08:38 (Std)    Creating falagard mapping for type 'TaharezLook/HorizontalScrollbarThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' and Look'N'Feel 'TaharezLook/HorizontalScrollbarThumb'. (0012E690)
17/10/2009 13:08:38 (Std)    Creating falagard mapping for type 'TaharezLook/LargeVerticalScrollbar' using base type 'CEGUI/Scrollbar', window renderer 'Falagard/Scrollbar' and Look'N'Feel 'TaharezLook/LargeVerticalScrollbar'. (0012E690)
17/10/2009 13:08:38 (Std)    Creating falagard mapping for type 'TaharezLook/LargeVerticalScrollbarThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' and Look'N'Feel 'TaharezLook/LargeVerticalScrollbarThumb'. (0012E690)
17/10/2009 13:08:38 (Std)    Creating falagard mapping for type 'TaharezLook/TabButton' using base type 'CEGUI/TabButton', window renderer 'Falagard/TabButton' and Look'N'Feel 'TaharezLook/TabButton'. (0012E690)
17/10/2009 13:08:38 (Std)    Creating falagard mapping for type 'TaharezLook/TabControl' using base type 'CEGUI/TabControl', window renderer 'Falagard/TabControl' and Look'N'Feel 'TaharezLook/TabControl'. (0012E690)
17/10/2009 13:08:38 (Std)    Creating falagard mapping for type 'TaharezLook/TabContentPane' using base type 'DefaultWindow', window renderer 'Falagard/Default' and Look'N'Feel 'TaharezLook/TabContentPane'. (0012E690)
17/10/2009 13:08:38 (Std)    Creating falagard mapping for type 'TaharezLook/TabButtonPane' using base type 'DefaultWindow', window renderer 'Falagard/Default' and Look'N'Feel 'TaharezLook/TabButtonPane'. (0012E690)
17/10/2009 13:08:38 (Std)    Creating falagard mapping for type 'TaharezLook/ComboDropList' using base type 'CEGUI/ComboDropList', window renderer 'Falagard/Listbox' and Look'N'Feel 'TaharezLook/ComboDropList'. (0012E690)
17/10/2009 13:08:38 (Std)    Creating falagard mapping for type 'TaharezLook/ComboEditbox' using base type 'CEGUI/Editbox', window renderer 'Falagard/Editbox' and Look'N'Feel 'TaharezLook/ComboEditbox'. (0012E690)
17/10/2009 13:08:38 (Std)    Creating falagard mapping for type 'TaharezLook/Combobox' using base type 'CEGUI/Combobox', window renderer 'Falagard/Default' and Look'N'Feel 'TaharezLook/Combobox'. (0012E690)
17/10/2009 13:08:38 (Std)    Creating falagard mapping for type 'TaharezLook/Listbox' using base type 'CEGUI/Listbox', window renderer 'Falagard/Listbox' and Look'N'Feel 'TaharezLook/Listbox'. (0012E690)
17/10/2009 13:08:38 (Std)    Creating falagard mapping for type 'TaharezLook/ListHeader' using base type 'CEGUI/ListHeader', window renderer 'Falagard/ListHeader' and Look'N'Feel 'TaharezLook/ListHeader'. (0012E690)
17/10/2009 13:08:38 (Std)    Creating falagard mapping for type 'TaharezLook/ListHeaderSegment' using base type 'CEGUI/ListHeaderSegment', window renderer 'Falagard/ListHeaderSegment' and Look'N'Feel 'TaharezLook/ListHeaderSegment'. (0012E690)
17/10/2009 13:08:38 (Std)    Creating falagard mapping for type 'TaharezLook/MultiColumnList' using base type 'CEGUI/MultiColumnList', window renderer 'Falagard/MultiColumnList' and Look'N'Feel 'TaharezLook/MultiColumnList'. (0012E690)
17/10/2009 13:08:38 (Std)    Creating falagard mapping for type 'TaharezLook/Slider' using base type 'CEGUI/Slider', window renderer 'Falagard/Slider' and Look'N'Feel 'TaharezLook/Slider'. (0012E690)
17/10/2009 13:08:38 (Std)    Creating falagard mapping for type 'TaharezLook/SliderThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' and Look'N'Feel 'TaharezLook/SliderThumb'. (0012E690)
17/10/2009 13:08:38 (Std)    Creating falagard mapping for type 'TaharezLook/ScrollablePane' using base type 'CEGUI/ScrollablePane', window renderer 'Falagard/ScrollablePane' and Look'N'Feel 'TaharezLook/ScrollablePane'. (0012E690)
17/10/2009 13:08:38 (Std)    Creating falagard mapping for type 'TaharezLook/Spinner' using base type 'CEGUI/Spinner', window renderer 'Falagard/Default' and Look'N'Feel 'TaharezLook/Spinner'. (0012E690)
17/10/2009 13:08:38 (Std)    Creating falagard mapping for type 'TaharezLook/Tooltip' using base type 'CEGUI/Tooltip', window renderer 'Falagard/Tooltip' and Look'N'Feel 'TaharezLook/Tooltip'. (0012E690)
17/10/2009 13:08:38 (Std)    Creating falagard mapping for type 'TaharezLook/StaticImage' using base type 'DefaultWindow', window renderer 'Falagard/StaticImage' and Look'N'Feel 'TaharezLook/StaticImage'. (0012E690)
17/10/2009 13:08:38 (Std)    Creating falagard mapping for type 'TaharezLook/StaticText' using base type 'DefaultWindow', window renderer 'Falagard/StaticText' and Look'N'Feel 'TaharezLook/StaticText'. (0012E690)
17/10/2009 13:08:38 (Std)    Creating falagard mapping for type 'TaharezLook/ItemListbox' using base type 'CEGUI/ItemListbox', window renderer 'Falagard/ItemListbox' and Look'N'Feel 'TaharezLook/ItemListbox'. (0012E690)
17/10/2009 13:08:38 (Std)    Creating falagard mapping for type 'TaharezLook/ListboxItem' using base type 'CEGUI/ItemEntry', window renderer 'Falagard/ItemEntry' and Look'N'Feel 'TaharezLook/ListboxItem'. (0012E690)
17/10/2009 13:08:38 (Std)    Creating falagard mapping for type 'TaharezLook/GroupBox' using base type 'CEGUI/GroupBox', window renderer 'Falagard/Default' and Look'N'Feel 'TaharezLook/GroupBox'. (0012E690)
17/10/2009 13:08:38 (Std)    Creating falagard mapping for type 'TaharezLook/Tree' using base type 'CEGUI/Tree', window renderer 'Falagard/Tree' and Look'N'Feel 'TaharezLook/Tree'. (0012E690)
17/10/2009 13:08:38 (Std)    Attempting to create Imageset 'Commonwealth-10_auto_glyph_images_ ' with texture only.
17/10/2009 13:08:38 (Std)    ---- Successfully completed loading of GUI layout from 'gui/instancingdemo.layout' ----


Using one of the layout files from 0.6b didn't help either. I know it's terribly difficult for anyone to see what the problem over at my end might be, just taking a chance here that something might be obvious. Sure isn't to me. I'll of course keep trying until I solve it, and will post back incase I do.

Edit: I'm going to take a step back and just use regular Ogre overlays for now and then dynamic link with CEGUI later when I'm ready to look at it again.
Thanks alot for your help CE, you've been very kind.

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

Re: CEGUI_FALAGARD_RENDERER - should be defined where?

Postby CrazyEddie » Sat Oct 17, 2009 19:23

It's the same diagnosis from before - the texture image is not being loaded correctly, it's being stretched. Why? I have no idea, because it makes no sense. IIRC the only time I saw anything like this was around the 0.5.x era, and then only with images that were no power of 2 in dimension.

With regards to the question about asset versioning, so long as the texture, imageset and looknfeel all come from the same version things generally would be fine. The only time there may occasionally be issues if you used the old imageset with a new looknfeel, which may cause issues if we've added new images.

CE.

Stefan Lundmark
Just popping in
Just popping in
Posts: 16
Joined: Wed Oct 14, 2009 22:11

Re: CEGUI_FALAGARD_RENDERER - should be defined where?

Postby Stefan Lundmark » Fri Oct 23, 2009 12:53

Both the first two images use precisely the same assets, the same CEGUIOgreRenderer/CEGUI but dynamically linked.

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

Re: CEGUI_FALAGARD_RENDERER - should be defined where?

Postby CrazyEddie » Fri Oct 23, 2009 13:06

Ok, thanks for the info. Is the Ogre lib also statically linked here? I ask because if I get around to testing in order to see what might cause such an issue, I want to make sure I'm working with the same set-up otherwise it's a total waste of time :)

Thanks again,

CE.

Stefan Lundmark
Just popping in
Just popping in
Posts: 16
Joined: Wed Oct 14, 2009 22:11

Re: CEGUI_FALAGARD_RENDERER - should be defined where?

Postby Stefan Lundmark » Sat Oct 24, 2009 19:10

CrazyEddie wrote:Ok, thanks for the info. Is the Ogre lib also statically linked here? I ask because if I get around to testing in order to see what might cause such an issue, I want to make sure I'm working with the same set-up otherwise it's a total waste of time :)

Thanks again,

CE.


Ogre, FreeType, FreeImage - static linked. All samples build just fine so I couldn't for the life of me understand why those textures ended up like that. I was thinking maybe the resolution wasn't being updated when the window resized, but that's taken care of by the GuiRenderer plugin which I didn't change.

bwillers
Just popping in
Just popping in
Posts: 1
Joined: Mon Jan 11, 2010 01:00

Re: CEGUI_FALAGARD_RENDERER - should be defined where?

Postby bwillers » Mon Jan 11, 2010 01:05

Hi there, I don't want to hijack this thread but I'm also having what I think are falagard related problems. I'm just starting to work on the GUI for my project, so I figured I might as well build 0.7.1 and learn the latest system. Everything builds fine, and when I link it into my Ogre project the application runs fine when I bootstrap the system:

Code: Select all

_renderer = &CEGUI::OgreRenderer::bootstrapSystem();
_system = CEGUI::System::getSingletonPtr();
CEGUI::Logger::getSingleton().setLoggingLevel(CEGUI::Informative);


But as soon as I try to load a scheme

Code: Select all

CEGUI::SchemeManager::getSingleton().create((CEGUI::utf8*)"TaharezLookSkin.scheme");


The application throws an exception and crashes. The CEGUI.log file gives the following:

Code: Select all

...
10/01/2010 16:53:55 (Std)    ===== Look and feel parsing completed =====
10/01/2010 16:53:55 (Std)    No window factories specified for module 'CEGUIFalagardWRBase' - adding all available factories...
10/01/2010 16:53:55 (Error)   CEGUI::InvalidRequestException in file c:\users\*\documents\libraries\cegui-0.7.1\cegui\src\ceguifactorymodule.cpp(116) : FactoryModule::registerAllFactories - Required function export 'uint registerAllFactories(void)' was not found in module 'CEGUIFalagardWRBase_d'.


Any ideas on how to proceed from here?

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

Re: CEGUI_FALAGARD_RENDERER - should be defined where?

Postby CrazyEddie » Mon Jan 11, 2010 13:39

Hi,

The CEGUI related data files that come with Ogre are old, buggy and obsolete (at least when considering the 0.7.x code). The error you see is, I believe, a bug in the scheme you're loading. Specifically it's referencing FalagardWRBase as a WindowSet module where it should be referencing it as a WindowRendererSet module. So, you can either change the appropriate line in the scheme xml, or replace it with the version from the CEGUI distribution (and note additionally, that our version of the scheme is called TaharezLook.scheme and not TaharezLookSkin.scheme - the difference is a historical point going back about five years).

HTH

CE.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 20 guests