Crystal Space
Welcome, Guest. Please login or register.
October 25, 2014, 08:03:57 am

Login with username, password and session length
Search:     Advanced search
9011 Posts in 2044 Topics by 8822 Members
Latest Member: Mandrilmar
* Home Help Search Login Register
+  Crystal Space
|-+  Crystal Space Project Development
| |-+  Bug Reports
| | |-+  Compiling Error CEGUI
« previous next »
Pages: [1] Print
Author Topic: Compiling Error CEGUI  (Read 1877 times)
Dopey
Newbie
*
Posts: 5


View Profile Email
« on: November 12, 2011, 06:19:48 pm »

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.

Code:
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
Logged
Dopey
Newbie
*
Posts: 5


View Profile Email
« Reply #1 on: December 08, 2011, 06:42:44 am »

Hello again,

Okay almost a month later I got to redo some things and reinforced I'm an idiot.
I more thoroughly skimmed the windows libraries installer and noticed service pack one should be installed for MSVC.

So after some simple updates, reinstall and a recompile my problems are down to 2 compile errors.
wxtest still doesn't work and some problem finding 2 source files related to gl shaders
..\..\plugins\video\render3d\shader\shaderplugins\glshader_cg\beautify_cg.cpp and combiner_cg.cpp

Not immediately concerned because my latest focus is GUI.
I'm not ruling out I failed to follow some other compiling preparation.

-Dopey
Sorry for any wasted thought from the previous post.
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 7.305 seconds with 18 queries.