Errors when compiling demo
Posted: Sat Jun 26, 2004 19:27
Here is what I have done so far :
[list:aa54f4d385]Downloaded CEGUI-mk2 CVS
Compiled Boost, freetype and xerces
Compiled CEGUI engine
[/list:u:aa54f4d385]
After spending some time figuring out the previous, here is what I am trying to do :
Compile ogre_gui_demo4
Here is what I am getting :
:\ogrenew\CEGUI\cegui_mk2\include\CEGUIEvent.h(150) : warning C4251: 'CEGUI::Event::d_sig' : class 'boost::signal1<R,T1>' needs to have dll-interface to be used by clients of class 'CEGUI::Event'
with
[
R=void,
T1=const CEGUI::EventArgs &
]
c:\ogrenew\CEGUI\cegui_mk2\include\CEGUIEventSet.h(172) : warning C4251: 'CEGUI::EventSet::d_events' : class 'std::map<_Kty,_Ty>' needs to have dll-interface to be used by clients of class 'CEGUI::EventSet'
with
[
_Kty=CEGUI::String,
_Ty=CEGUI::Event *
]
c:\ogrenew\CEGUI\cegui_mk2\include\CEGUIImagesetManager.h(198) : warning C4251: 'CEGUI::ImagesetManager::d_imagesets' : class 'std::map<_Kty,_Ty>' needs to have dll-interface to be used by clients of class 'CEGUI::ImagesetManager'
with
[
_Kty=CEGUI::String,
_Ty=CEGUI::Imageset *
]
...and another 25 similar warnings....
c:\ogrenew\CEGUI\ogre_gui_demo4\CEGUIOgre_TestDriver1.cpp(278) : error C2039: 'setBackgoundEnabled' : is not a member of 'CEGUI::StaticText'
c:\ogrenew\CEGUI\cegui_mk2\include\elements\CEGUIStaticText.h(42) : see declaration of 'CEGUI::StaticText'
c:\ogrenew\CEGUI\ogre_gui_demo4\CEGUIOgre_TestDriver1.cpp(286) : error C2039: 'setBackgoundEnabled' : is not a member of 'CEGUI::StaticText'
...and another 10 similar errors...
Obviously, I am missing something here, but I can't figure out what it is. Any ideas to what I might be doing wrong?
Edit: Should I also add that commenting out all the "setBackgroundEnabled" alows me to run the executable, which in turn immediately chashes with an "Assertion Failed!" box followed by a couple of "unhandled exception" messages.
[list:aa54f4d385]Downloaded CEGUI-mk2 CVS
Compiled Boost, freetype and xerces
Compiled CEGUI engine
[/list:u:aa54f4d385]
After spending some time figuring out the previous, here is what I am trying to do :
Compile ogre_gui_demo4
Here is what I am getting :
:\ogrenew\CEGUI\cegui_mk2\include\CEGUIEvent.h(150) : warning C4251: 'CEGUI::Event::d_sig' : class 'boost::signal1<R,T1>' needs to have dll-interface to be used by clients of class 'CEGUI::Event'
with
[
R=void,
T1=const CEGUI::EventArgs &
]
c:\ogrenew\CEGUI\cegui_mk2\include\CEGUIEventSet.h(172) : warning C4251: 'CEGUI::EventSet::d_events' : class 'std::map<_Kty,_Ty>' needs to have dll-interface to be used by clients of class 'CEGUI::EventSet'
with
[
_Kty=CEGUI::String,
_Ty=CEGUI::Event *
]
c:\ogrenew\CEGUI\cegui_mk2\include\CEGUIImagesetManager.h(198) : warning C4251: 'CEGUI::ImagesetManager::d_imagesets' : class 'std::map<_Kty,_Ty>' needs to have dll-interface to be used by clients of class 'CEGUI::ImagesetManager'
with
[
_Kty=CEGUI::String,
_Ty=CEGUI::Imageset *
]
...and another 25 similar warnings....
c:\ogrenew\CEGUI\ogre_gui_demo4\CEGUIOgre_TestDriver1.cpp(278) : error C2039: 'setBackgoundEnabled' : is not a member of 'CEGUI::StaticText'
c:\ogrenew\CEGUI\cegui_mk2\include\elements\CEGUIStaticText.h(42) : see declaration of 'CEGUI::StaticText'
c:\ogrenew\CEGUI\ogre_gui_demo4\CEGUIOgre_TestDriver1.cpp(286) : error C2039: 'setBackgoundEnabled' : is not a member of 'CEGUI::StaticText'
...and another 10 similar errors...
Obviously, I am missing something here, but I can't figure out what it is. Any ideas to what I might be doing wrong?
Edit: Should I also add that commenting out all the "setBackgroundEnabled" alows me to run the executable, which in turn immediately chashes with an "Assertion Failed!" box followed by a couple of "unhandled exception" messages.