Du bist nicht angemeldet.

Stilllegung des Forums
Das Forum wurde am 05.06.2023 nach über 20 Jahren stillgelegt (weitere Informationen und ein kleiner Rückblick).
Registrierungen, Anmeldungen und Postings sind nicht mehr möglich. Öffentliche Inhalte sind weiterhin zugänglich.
Das Team von spieleprogrammierer.de bedankt sich bei der Community für die vielen schönen Jahre.
Wenn du eine deutschsprachige Spieleentwickler-Community suchst, schau doch mal im Discord und auf ZFX vorbei!

Werbeanzeige

Toa

Alter Hase

  • »Toa« ist der Autor dieses Themas

Beiträge: 944

Beruf: Research associate

  • Private Nachricht senden

1

20.07.2009, 15:38

CEGUI - Error beim Fenster erzeugen

Huhu,

hab mein kleines Framework mit CEGUI mitleerweile umgeschrieben und nun gibt es Probleme beim Fenster erzeugen die ich mir nicht erklären kann.
Vielleicht sieht es jemand von euch (hoffentlich).

Aktuell ist es so, das CEGUI im Framework integriert ist und sich dort eine kleine BasisKlasse mit dem System,Render,und FensterManager - Zeiger befindet.

C-/C++-Quelltext

1
2
3
4
//In der MainApllication holt man sich den Zeiger auf die BasisGUI Klasse der Engine und ruft die Init-Fkt auf um die imagesets fonts usw zu ladn 


m_lpGuiManager = CGuiManager::GetSingleton();
m_lpGuiManager->Init();


Die Init() Funktion sieht so aus:

C-/C++-Quelltext

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
bool CGuiManager::Init()
{
//Render Objekt erzeugen

m_lpRender = new CEGUI::DirectX9Renderer(CGraphic::GetSingleton()->GetDevice(),0);
    //Render Objekt konnte nicht erzeugt werden?

    if(m_lpRender == NULL)
        return false;
    //CEGUI System initalisieren

    m_lpSystem = new CEGUI::System(m_lpRender);

    CEGUI::SchemeManager::getSingleton().loadScheme("WindowsLook.scheme");
    CEGUI::FontManager::getSingleton().createFont("DejaVuSans-10.font");

    m_lpSystem->setDefaultMouseCursor("WindowsLook", "MouseArrow");

    m_lpWindowManager = CEGUI::WindowManager::getSingletonPtr();

    return true;
}


Nun ist CEGUI schon mal hochgefahren jetzt kommen die Probleme.
In der MainApplication möchte ich einen Dialog öffnen

C-/C++-Quelltext

1
m_lpGui->OpenDialog();


Die Implementation:

C-/C++-Quelltext

1
2
3
4
5
void CGui::OpenDialog()
{
        CEGUI::Window* Dialog = m_lpGuiManager->GetWindowManager()->createWindow("WindowsLook/FrameWindow", "OurDialog");
(...)
}


Bei dieser Zeile crasht er. m_lpGuiManager ist der Zeiger auf die Gui Klasse in der Engine welche die Zeiger für CEGUI enthält.

Hat jemand ne Idee warum es crasht? Hatte das ganze vorher alles im TestProjekt und da hat das Fenstererzeugen noch funktioniert. Vielleicht irgendwo nen kleinen Fehler mit nem Zeiger?

Für euren größeren Codeüberklick könnt ihr hier schaun:
http://nopaste.info/9b74aac552.html

Mit freundlichen grüßen Toa[/cpp]

2

20.07.2009, 16:10

Könntest du bitte noch den Cegui-Log zeigen?

Toa

Alter Hase

  • »Toa« ist der Autor dieses Themas

Beiträge: 944

Beruf: Research associate

  • Private Nachricht senden

3

20.07.2009, 16:15

Kein Ding aber geladn wird alles richtig :/

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
20/07/2009 16:06:41 (Std)   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
20/07/2009 16:06:41 (Std)   +                     Crazy Eddie's GUI System - Event log                    +
20/07/2009 16:06:41 (Std)   +                          (http://www.cegui.org.uk/)                         +
20/07/2009 16:06:41 (Std)   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

20/07/2009 16:06:41 (Std)   CEGUI::Logger singleton created. (00E98F60)
20/07/2009 16:06:41 (Std)   ---- Begining CEGUI System initialisation ----
20/07/2009 16:06:41 (Std)   CEGUI::ImagesetManager singleton created (00F9BFD8)
20/07/2009 16:06:41 (Std)   CEGUI::FontManager singleton created. (00F9FF70)
20/07/2009 16:06:41 (Std)   CEGUI::WindowFactoryManager singleton created
20/07/2009 16:06:41 (Std)   CEGUI::WindowManager singleton created (00F950F8)
20/07/2009 16:06:41 (Std)   CEGUI::SchemeManager singleton created. (00F9A970)
20/07/2009 16:06:41 (Std)   CEGUI::MouseCursor singleton created. (00F91A28)
20/07/2009 16:06:41 (Std)   CEGUI::GlobalEventSet singleton created. (00F9D438)
20/07/2009 16:06:41 (Std)   CEGUI::WidgetLookManager singleton created. (00F9D480)
20/07/2009 16:06:41 (Std)   CEGUI::WindowRendererManager singleton created (00E996F8)
20/07/2009 16:06:41 (Std)   WindowFactory for 'DefaultWindow' windows added. (6339F778)
20/07/2009 16:06:41 (Std)   WindowFactory for 'DragContainer' windows added. (6339F818)
20/07/2009 16:06:41 (Std)   WindowFactory for 'ScrolledContainer' windows added. (6339F8B8)
20/07/2009 16:06:41 (Std)   WindowFactory for 'ClippedContainer' windows added. (6339F958)
20/07/2009 16:06:41 (Std)   WindowFactory for 'CEGUI/Checkbox' windows added. (6339F9F8)
20/07/2009 16:06:41 (Std)   WindowFactory for 'CEGUI/PushButton' windows added. (633A0358)
20/07/2009 16:06:41 (Std)   WindowFactory for 'CEGUI/RadioButton' windows added. (633A03F8)
20/07/2009 16:06:41 (Std)   WindowFactory for 'CEGUI/Combobox' windows added. (6339FB38)
20/07/2009 16:06:41 (Std)   WindowFactory for 'CEGUI/ComboDropList' windows added. (6339FA98)
20/07/2009 16:06:41 (Std)   WindowFactory for 'CEGUI/Editbox' windows added. (6339FBD8)
20/07/2009 16:06:41 (Std)   WindowFactory for 'CEGUI/FrameWindow' windows added. (6339FC78)
20/07/2009 16:06:41 (Std)   WindowFactory for 'CEGUI/ItemEntry' windows added. (6339FD18)
20/07/2009 16:06:41 (Std)   WindowFactory for 'CEGUI/Listbox' windows added. (6339FEF8)
20/07/2009 16:06:41 (Std)   WindowFactory for 'CEGUI/ListHeader' windows added. (6339FDB8)
20/07/2009 16:06:41 (Std)   WindowFactory for 'CEGUI/ListHeaderSegment' windows added. (6339FE58)
20/07/2009 16:06:41 (Std)   WindowFactory for 'CEGUI/Menubar' windows added. (633A0038)
20/07/2009 16:06:41 (Std)   WindowFactory for 'CEGUI/PopupMenu' windows added. (633A0218)
20/07/2009 16:06:41 (Std)   WindowFactory for 'CEGUI/MenuItem' windows added. (6339FF98)
20/07/2009 16:06:41 (Std)   WindowFactory for 'CEGUI/MultiColumnList' windows added. (633A00D8)
20/07/2009 16:06:41 (Std)   WindowFactory for 'CEGUI/MultiLineEditbox' windows added. (633A0178)
20/07/2009 16:06:41 (Std)   WindowFactory for 'CEGUI/ProgressBar' windows added. (633A02B8)
20/07/2009 16:06:41 (Std)   WindowFactory for 'CEGUI/ScrollablePane' windows added. (633A0498)
20/07/2009 16:06:41 (Std)   WindowFactory for 'CEGUI/Scrollbar' windows added. (633A0538)
20/07/2009 16:06:41 (Std)   WindowFactory for 'CEGUI/Slider' windows added. (633A05D8)
20/07/2009 16:06:41 (Std)   WindowFactory for 'CEGUI/Spinner' windows added. (633A0678)
20/07/2009 16:06:41 (Std)   WindowFactory for 'CEGUI/TabButton' windows added. (633A0718)
20/07/2009 16:06:41 (Std)   WindowFactory for 'CEGUI/TabControl' windows added. (633A07B8)
20/07/2009 16:06:41 (Std)   WindowFactory for 'CEGUI/Thumb' windows added. (633A0858)
20/07/2009 16:06:41 (Std)   WindowFactory for 'CEGUI/Titlebar' windows added. (633A08F8)
20/07/2009 16:06:41 (Std)   WindowFactory for 'CEGUI/Tooltip' windows added. (633A0998)
20/07/2009 16:06:41 (Std)   WindowFactory for 'CEGUI/ItemListbox' windows added. (633A0A38)
20/07/2009 16:06:41 (Std)   WindowFactory for 'CEGUI/GroupBox' windows added. (633A0AD8)
20/07/2009 16:06:41 (Std)   WindowFactory for 'CEGUI/Tree' windows added. (633A0B78)
20/07/2009 16:06:41 (Std)   Window type alias named 'DefaultGUISheet' added for window type 'DefaultWindow'.
20/07/2009 16:06:41 (Std)   CEGUI::System singleton created. (0126B050)
20/07/2009 16:06:41 (Std)   ---- CEGUI System initialisation completed ----
20/07/2009 16:06:41 (Std)   ---- Version 0.6.2 ----
20/07/2009 16:06:41 (Std)   ---- Renderer module is: CEGUI::DirectX81Renderer - Official Direct3D 9 based renderer module for CEGUI ----
20/07/2009 16:06:41 (Std)   ---- XML Parser module is: CEGUI::ExpatParser - Official expat based parser module for CEGUI ----
20/07/2009 16:06:41 (Std)   ---- Scripting module is: None ----
20/07/2009 16:06:41 (Std)   Attempting to load Scheme from file 'WindowsLook.scheme'.
20/07/2009 16:06:41 (Std)   Attempting to create an Imageset from the information specified in file 'WindowsLook.imageset'.
20/07/2009 16:06:41 (Std)   Started creation of Imageset from XML specification:
20/07/2009 16:06:41 (Std)   ---- CEGUI Imageset name: WindowsLook
20/07/2009 16:06:41 (Std)   ---- Source texture file: WindowsLook.tga in resource group: (Default)
20/07/2009 16:06:41 (Std)   ===== Falagard 'root' element: look and feel parsing begins =====
20/07/2009 16:06:41 (Std)   ===== Look and feel parsing completed =====
20/07/2009 16:06:41 (Std)   No window factories specified for module 'CEGUIFalagardWRBase' - adding all available factories...
20/07/2009 16:06:41 (Std)   WindowRendererFactory 'Falagard/Button' added. (65D2E538)
20/07/2009 16:06:41 (Std)   WindowRendererFactory 'Falagard/Default' added. (65D2E718)
20/07/2009 16:06:41 (Std)   WindowRendererFactory 'Falagard/Editbox' added. (65D2D778)
20/07/2009 16:06:41 (Std)   WindowRendererFactory 'Falagard/FrameWindow' added. (65D2E678)
20/07/2009 16:06:41 (Std)   WindowRendererFactory 'Falagard/ItemEntry' added. (65D2DC78)
20/07/2009 16:06:41 (Std)   WindowRendererFactory 'Falagard/ListHeader' added. (65D2D638)
20/07/2009 16:06:41 (Std)   WindowRendererFactory 'Falagard/ListHeaderSegment' added. (65D2D9F8)
20/07/2009 16:06:41 (Std)   WindowRendererFactory 'Falagard/Listbox' added. (65D2E358)
20/07/2009 16:06:41 (Std)   WindowRendererFactory 'Falagard/Menubar' added. (65D2DA98)
20/07/2009 16:06:41 (Std)   WindowRendererFactory 'Falagard/MenuItem' added. (65D2DF98)
20/07/2009 16:06:41 (Std)   WindowRendererFactory 'Falagard/MultiColumnList' added. (65D2DE58)
20/07/2009 16:06:41 (Std)   WindowRendererFactory 'Falagard/MultiLineEditbox' added. (65D2D6D8)
20/07/2009 16:06:41 (Std)   WindowRendererFactory 'Falagard/PopupMenu' added. (65D2E2B8)
20/07/2009 16:06:41 (Std)   WindowRendererFactory 'Falagard/ProgressBar' added. (65D2DB38)
20/07/2009 16:06:41 (Std)   WindowRendererFactory 'Falagard/ScrollablePane' added. (65D2E3F8)
20/07/2009 16:06:41 (Std)   WindowRendererFactory 'Falagard/Scrollbar' added. (65D2E218)
20/07/2009 16:06:41 (Std)   WindowRendererFactory 'Falagard/Slider' added. (65D2E498)
20/07/2009 16:06:41 (Std)   WindowRendererFactory 'Falagard/Static' added. (65D2E178)
20/07/2009 16:06:41 (Std)   WindowRendererFactory 'Falagard/StaticImage' added. (65D2E5D8)
20/07/2009 16:06:41 (Std)   WindowRendererFactory 'Falagard/StaticText' added. (65D2DEF8)
20/07/2009 16:06:41 (Std)   WindowRendererFactory 'Falagard/SystemButton' added. (65D2DBD8)
20/07/2009 16:06:41 (Std)   WindowRendererFactory 'Falagard/TabButton' added. (65D2DD18)
20/07/2009 16:06:41 (Std)   WindowRendererFactory 'Falagard/TabControl' added. (65D2D8B8)
20/07/2009 16:06:41 (Std)   WindowRendererFactory 'Falagard/Titlebar' added. (65D2E0D8)
20/07/2009 16:06:41 (Std)   WindowRendererFactory 'Falagard/ToggleButton' added. (65D2D958)
20/07/2009 16:06:41 (Std)   WindowRendererFactory 'Falagard/Tooltip' added. (65D2D818)
20/07/2009 16:06:41 (Std)   WindowRendererFactory 'Falagard/ItemListbox' added. (65D2E038)
20/07/2009 16:06:41 (Std)   WindowRendererFactory 'Falagard/Tree' added. (65D2DDB8)
20/07/2009 16:06:41 (Std)   Creating falagard mapping for type 'WindowsLook/Button' using base type 'CEGUI/PushButton', window renderer 'Falagard/Button' and Look'N'Feel 'WindowsLook/Button'. (0028E178)
20/07/2009 16:06:41 (Std)   Creating falagard mapping for type 'WindowsLook/Checkbox' using base type 'CEGUI/Checkbox', window renderer 'Falagard/ToggleButton' and Look'N'Feel 'WindowsLook/Checkbox'. (0028E178)
20/07/2009 16:06:41 (Std)   Creating falagard mapping for type 'WindowsLook/IconButton' using base type 'CEGUI/PushButton', window renderer 'Falagard/Button' and Look'N'Feel 'WindowsLook/IconButton'. (0028E178)
20/07/2009 16:06:41 (Std)   Creating falagard mapping for type 'WindowsLook/RadioButton' using base type 'CEGUI/RadioButton', window renderer 'Falagard/ToggleButton' and Look'N'Feel 'WindowsLook/RadioButton'. (0028E178)
20/07/2009 16:06:41 (Std)   Creating falagard mapping for type 'WindowsLook/FrameWindow' using base type 'CEGUI/FrameWindow', window renderer 'Falagard/FrameWindow' and Look'N'Feel 'WindowsLook/FrameWindow'. (0028E178)
20/07/2009 16:06:41 (Std)   Creating falagard mapping for type 'WindowsLook/Titlebar' using base type 'CEGUI/Titlebar', window renderer 'Falagard/Titlebar' and Look'N'Feel 'WindowsLook/Titlebar'. (0028E178)
20/07/2009 16:06:41 (Std)   Creating falagard mapping for type 'WindowsLook/SystemButton' using base type 'CEGUI/PushButton', window renderer 'Falagard/SystemButton' and Look'N'Feel 'WindowsLook/SystemButton'. (0028E178)
20/07/2009 16:06:41 (Std)   Creating falagard mapping for type 'WindowsLook/Editbox' using base type 'CEGUI/Editbox', window renderer 'Falagard/Editbox' and Look'N'Feel 'WindowsLook/Editbox'. (0028E178)
20/07/2009 16:06:41 (Std)   Creating falagard mapping for type 'WindowsLook/MultiLineEditbox' using base type 'CEGUI/MultiLineEditbox', window renderer 'Falagard/MultiLineEditbox' and Look'N'Feel 'WindowsLook/MultiLineEditbox'. (0028E178)
20/07/2009 16:06:41 (Std)   Creating falagard mapping for type 'WindowsLook/Menubar' using base type 'CEGUI/Menubar', window renderer 'Falagard/Menubar' and Look'N'Feel 'WindowsLook/Menubar'. (0028E178)
20/07/2009 16:06:41 (Std)   Creating falagard mapping for type 'WindowsLook/PopupMenu' using base type 'CEGUI/PopupMenu', window renderer 'Falagard/PopupMenu' and Look'N'Feel 'WindowsLook/PopupMenu'. (0028E178)
20/07/2009 16:06:41 (Std)   Creating falagard mapping for type 'WindowsLook/MenuItem' using base type 'CEGUI/MenuItem', window renderer 'Falagard/MenuItem' and Look'N'Feel 'WindowsLook/MenuItem'. (0028E178)
20/07/2009 16:06:41 (Std)   Creating falagard mapping for type 'WindowsLook/ProgressBar' using base type 'CEGUI/ProgressBar', window renderer 'Falagard/ProgressBar' and Look'N'Feel 'WindowsLook/ProgressBar'. (0028E178)
20/07/2009 16:06:41 (Std)   Creating falagard mapping for type 'WindowsLook/VerticalScrollbar' using base type 'CEGUI/Scrollbar', window renderer 'Falagard/Scrollbar' and Look'N'Feel 'WindowsLook/VerticalScrollbar'. (0028E178)
20/07/2009 16:06:41 (Std)   Creating falagard mapping for type 'WindowsLook/HorizontalScrollbar' using base type 'CEGUI/Scrollbar', window renderer 'Falagard/Scrollbar' and Look'N'Feel 'WindowsLook/HorizontalScrollbar'. (0028E178)
20/07/2009 16:06:41 (Std)   Creating falagard mapping for type 'WindowsLook/VerticalScrollbarThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' and Look'N'Feel 'WindowsLook/VerticalScrollbarThumb'. (0028E178)
20/07/2009 16:06:41 (Std)   Creating falagard mapping for type 'WindowsLook/HorizontalScrollbarThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' and Look'N'Feel 'WindowsLook/HorizontalScrollbarThumb'. (0028E178)
20/07/2009 16:06:41 (Std)   Creating falagard mapping for type 'WindowsLook/TabButton' using base type 'CEGUI/TabButton', window renderer 'Falagard/TabButton' and Look'N'Feel 'WindowsLook/TabButton'. (0028E178)
20/07/2009 16:06:41 (Std)   Creating falagard mapping for type 'WindowsLook/TabControl' using base type 'CEGUI/TabControl', window renderer 'Falagard/TabControl' and Look'N'Feel 'WindowsLook/TabControl'. (0028E178)
20/07/2009 16:06:41 (Std)   Creating falagard mapping for type 'WindowsLook/TabContentPane' using base type 'DefaultWindow', window renderer 'Falagard/Default' and Look'N'Feel 'WindowsLook/TabContentPane'. (0028E178)
20/07/2009 16:06:41 (Std)   Creating falagard mapping for type 'WindowsLook/TabButtonPane' using base type 'DefaultWindow', window renderer 'Falagard/Default' and Look'N'Feel 'WindowsLook/TabButtonPane'. (0028E178)
20/07/2009 16:06:41 (Std)   Creating falagard mapping for type 'WindowsLook/ComboDropList' using base type 'CEGUI/ComboDropList', window renderer 'Falagard/Listbox' and Look'N'Feel 'WindowsLook/ComboDropList'. (0028E178)
20/07/2009 16:06:41 (Std)   Creating falagard mapping for type 'WindowsLook/Combobox' using base type 'CEGUI/Combobox', window renderer 'Falagard/Default' and Look'N'Feel 'WindowsLook/Combobox'. (0028E178)
20/07/2009 16:06:41 (Std)   Creating falagard mapping for type 'WindowsLook/Listbox' using base type 'CEGUI/Listbox', window renderer 'Falagard/Listbox' and Look'N'Feel 'WindowsLook/Listbox'. (0028E178)
20/07/2009 16:06:41 (Std)   Creating falagard mapping for type 'WindowsLook/ListHeader' using base type 'CEGUI/ListHeader', window renderer 'Falagard/ListHeader' and Look'N'Feel 'WindowsLook/ListHeader'. (0028E178)
20/07/2009 16:06:41 (Std)   Creating falagard mapping for type 'WindowsLook/ListHeaderSegment' using base type 'CEGUI/ListHeaderSegment', window renderer 'Falagard/ListHeaderSegment' and Look'N'Feel 'WindowsLook/ListHeaderSegment'. (0028E178)
20/07/2009 16:06:41 (Std)   Creating falagard mapping for type 'WindowsLook/MultiColumnList' using base type 'CEGUI/MultiColumnList', window renderer 'Falagard/MultiColumnList' and Look'N'Feel 'WindowsLook/MultiColumnList'. (0028E178)
20/07/2009 16:06:41 (Std)   Creating falagard mapping for type 'WindowsLook/Slider' using base type 'CEGUI/Slider', window renderer 'Falagard/Slider' and Look'N'Feel 'WindowsLook/Slider'. (0028E178)
20/07/2009 16:06:41 (Std)   Creating falagard mapping for type 'WindowsLook/SliderThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' and Look'N'Feel 'WindowsLook/SliderThumb'. (0028E178)
20/07/2009 16:06:41 (Std)   Creating falagard mapping for type 'WindowsLook/ScrollablePane' using base type 'CEGUI/ScrollablePane', window renderer 'Falagard/ScrollablePane' and Look'N'Feel 'WindowsLook/ScrollablePane'. (0028E178)
20/07/2009 16:06:41 (Std)   Creating falagard mapping for type 'WindowsLook/Spinner' using base type 'CEGUI/Spinner', window renderer 'Falagard/Default' and Look'N'Feel 'WindowsLook/Spinner'. (0028E178)
20/07/2009 16:06:41 (Std)   Creating falagard mapping for type 'WindowsLook/Tooltip' using base type 'CEGUI/Tooltip', window renderer 'Falagard/Tooltip' and Look'N'Feel 'WindowsLook/Tooltip'. (0028E178)
20/07/2009 16:06:41 (Std)   Creating falagard mapping for type 'WindowsLook/Static' using base type 'DefaultWindow', window renderer 'Falagard/Static' and Look'N'Feel 'WindowsLook/Static'. (0028E178)
20/07/2009 16:06:41 (Std)   Creating falagard mapping for type 'WindowsLook/StaticImage' using base type 'DefaultWindow', window renderer 'Falagard/StaticImage' and Look'N'Feel 'WindowsLook/StaticImage'. (0028E178)
20/07/2009 16:06:41 (Std)   Creating falagard mapping for type 'WindowsLook/StaticText' using base type 'DefaultWindow', window renderer 'Falagard/StaticText' and Look'N'Feel 'WindowsLook/StaticText'. (0028E178)
20/07/2009 16:06:41 (Std)   Creating falagard mapping for type 'WindowsLook/ItemListbox' using base type 'CEGUI/ItemListbox', window renderer 'Falagard/ItemListbox' and Look'N'Feel 'WindowsLook/ItemListbox'. (0028E178)
20/07/2009 16:06:41 (Std)   Creating falagard mapping for type 'WindowsLook/ListboxItem' using base type 'CEGUI/ItemEntry', window renderer 'Falagard/ItemEntry' and Look'N'Feel 'WindowsLook/ListboxItem'. (0028E178)
20/07/2009 16:06:41 (Std)   Creating falagard mapping for type 'WindowsLook/GroupBox' using base type 'CEGUI/GroupBox', window renderer 'Falagard/Default' and Look'N'Feel 'WindowsLook/GroupBox'. (0028E178)
20/07/2009 16:06:41 (Std)   Attempting to create Font from the information specified in file 'DejaVuSans-10.font'.
20/07/2009 16:06:41 (Std)   Started creation of FreeType Font:
20/07/2009 16:06:41 (Std)   ---- CEGUI font name: DejaVuSans-10
20/07/2009 16:06:41 (Std)   ----     Source file: DejaVuSans.ttf in resource group: (Default)
20/07/2009 16:06:41 (Std)   ---- Real point size: 10
20/07/2009 16:06:42 (Std)   Succsessfully loaded 3045 glyphs


Hab grad was doofes gefunden:

http://www.cegui.org.uk/phpBB2/viewtopic.php?f=10&t=4083&p=18701&hilit=error+creating+window#p18701

Er schreibt dort:

Zitat

It seams that i must initialize and use CEGUI in the same "application" (dll, exe). Initialization in a DLL File and using in a EXE file is not working, isnt it ?


Jemand die gleichen Erfahrungen gemacht? Stimmt das?

4

20.07.2009, 16:57

Hmm naja ich verwende CEGUI auch aus der DLL heraus, also dynamic gelinkt. Aber benutze auch nicht die neuste Version.
Vll findet er irgendwleche Ressourcen nciht?

Toa

Alter Hase

  • »Toa« ist der Autor dieses Themas

Beiträge: 944

Beruf: Research associate

  • Private Nachricht senden

5

20.07.2009, 17:31

Hab jetzt CEGUI mal anders gelinkt und stoße nun auf folgendes Problem ^_^


(Link)

http://img3.imagebanana.com/view/33n1dfj9/Unbenann_t.jpg
Gelinkt hab ich:

..\..\dep\CEGui\libs\CEGUIBase_Static.lib
..\..\dep\CEGui\libs\DirectX9GUIRenderer_Static.lib
..\..\dep\CEGui\libs\CEGUIFalagardWRBase_Static.lib
..\..\dep\CEGui\libs\CEGUISILLYImageCodec_Static.lib
..\..\dep\CEGui\libs\CEGUITinyXMLParser_Static.lib
..\..\dep\CEGui\libs\SILLY.lib
..\..\dep\CEGui\libs\freetype.lib
..\..\dep\CEGui\libs\pcre.lib

und bei den Präprozessor Defs "CEGUI_STATIC" dazu gepackt...

Need help^^

Werbeanzeige