Hello,
My latest compile only had one error related to the CEGUI test app.
Trying to compile it from source files in the test folder was giving me plenty of errors that look like CEGUI's fault.
All of this is done on MSVC++ 2011 Express.
Simple.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall CEGUI::SubscriberSlot::~SubscriberSlot(void)" (__imp_??1SubscriberSlot@CEGUI@@QAE@XZ) referenced in function public: virtual bool __thiscall CEGUITest::Application(void)" (?Application@CEGUITest@@UAE_NXZ)
1>Simple.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class CEGUI::String const CEGUI::PushButton::EventClicked" (__imp_?EventClicked@PushButton@CEGUI@@2VString@2@B)
1>Simple.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class CEGUI::Window * __thiscall CEGUI::WindowManager::getWindow(class CEGUI::String const &)const " (__imp_?getWindow@WindowManager@CEGUI@@QBEPAVWindow@2@ABVString@2@@Z) referenced in function "public: virtual bool __thiscall CEGUITest::Application(void)" (?Application@CEGUITest@@UAE_NXZ)
1>Simple.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class CEGUI::Window * __thiscall CEGUI::System::setGUISheet(class CEGUI::Window *)" (__imp_?setGUISheet@System@CEGUI@@QAEPAVWindow@2@PAV32@@Z) referenced in function "public: virtual bool __thiscall CEGUITest::Application(void)" (?Application@CEGUITest@@UAE_NXZ)
1>Simple.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class CEGUI::Window * __thiscall CEGUI::WindowManager::loadWindowLayout(class CEGUI::String const &,class CEGUI::String const &,class CEGUI::String const &,bool (__cdecl*)(class CEGUI::Window *,class CEGUI::String &,class CEGUI::String &,void *),void *)" (__imp_?loadWindowLayout@WindowManager@CEGUI@@QAEPAVWindow@2@ABVString@2@00P6A_NPAV32@AAV42@2PAX@Z3@Z) referenced in function "public: virtual bool __thiscall CEGUITest::Application(void)" (?Application@CEGUITest@@UAE_NXZ)
1>Simple.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class CEGUI::Font & __thiscall CEGUI::FontManager::createFreeTypeFont(class CEGUI::String const &,float,bool,class CEGUI::String const &,class CEGUI::String const &,bool,float,float,enum CEGUI::XMLResourceExistsAction)" (__imp_?createFreeTypeFont@FontManager@CEGUI@@QAEAAVFont@2@ABVString@2@M_N001MMW4XMLResourceExistsAction@2@@Z) referenced in function "public: virtual bool __thiscall CEGUITest::Application(void)" (?Application@CEGUITest@@UAE_NXZ)
1>Simple.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall CEGUI::System::setDefaultMouseCursor(class CEGUI::String const &,class CEGUI::String const &)" (__imp_?setDefaultMouseCursor@System@CEGUI@@QAEXABVString@2@0@Z) referenced in function "public: virtual bool __thiscall CEGUITest::Application(void)" (?Application@CEGUITest@@UAE_NXZ)
1>Simple.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall CEGUI::String::~String(void)" (__imp_??1String@CEGUI@@QAE@XZ) referenced in function "public: virtual bool __thiscall CEGUITest::Application(void)" (?Application@CEGUITest@@UAE_NXZ)
1>Simple.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class CEGUI::Scheme & __thiscall CEGUI::NamedXMLResourceManager<class CEGUI::Scheme,class CEGUI::Scheme_xmlHandler>::create(class CEGUI::String const &,class CEGUI::String const &,enum CEGUI::XMLResourceExistsAction)" (__imp_?create@?$NamedXMLResourceManager@VScheme@CEGUI@@VScheme_xmlHandler@2@@CEGUI@@QAEAAVScheme@2@ABVString@2@0W4XMLResourceExistsAction@2@@Z) referenced in function "public: virtual bool __thiscall CEGUITest::Application(void)" (?Application@CEGUITest@@UAE_NXZ)
1>Simple.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall CEGUI::String::String(char const *)" (__imp_??0String@CEGUI@@QAE@PBD@Z) referenced in function "public: virtual bool __thiscall CEGUITest::Application(void)" (?Application@CEGUITest@@UAE_NXZ)
1>Simple.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall CEGUI::Logger::setLoggingLevel(enum CEGUI::LoggingLevel)" (__imp_?setLoggingLevel@Logger@CEGUI@@QAEXW4LoggingLevel@2@@Z) referenced in function "public: virtual bool __thiscall CEGUITest::Application(void)" (?Application@CEGUITest@@UAE_NXZ)
1>Simple.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall CEGUI::BoundSlot::~BoundSlot(void)" (__imp_??1BoundSlot@CEGUI@@QAE@XZ) referenced in function "public: void * __thiscall CEGUI::BoundSlot::`scalar deleting destructor'(unsigned int)" (??_GBoundSlot@CEGUI@@QAEPAXI@Z)
This was compiled using a recent CS2.0 subversion download and cs-win32libs-2.1.
Pleasantly down from 16 errors previously.
The only changes made to the ceguitest.cpp and .h is the
#include <CEGUI.h> and related <.h> lines to #include "(directory location)/CEGUI.h"
As an aside, if someone could direct me to how i go about making the #include <CEGUI.h> line work it'd be appreciated,
I don't know whether it is related to the Added Dependency library files, Project Directories or System Variables.
I saw mention with the Ares project about switching over to wx instead of using CEGUI.
I'll switch over to trying out wx when I have some more time.
Thanks in advance,
Dopey