Page 1 of 1

CEGUI under IrrLicht

Posted: Mon Jun 06, 2005 08:38
by Double_O_7
Hi All,

I'm trying to get CEGUI to run under IrrLicht, but I keep getting linker errors.

I think I've included all the dependancy library's and still am getting the errors.

Anybody got the new library to run under IrrLicht 0.9/1.0 on VS7.1?

I can compile the whole library, but when I use it in a test application, it fails.

This time I get the following linking errors.

CEGuiTest.obj : error LNK2001: unresolved external symbol "public: virtual class CEGUI::RefPtr<class CEGUI::Event::ConnectionInterface> __thiscall CEGUI::EventSet::subscribeScriptedEvent(class CEGUI::String const &,class CEGUI::String const &)" (?subscribeScriptedEvent@EventSet@CEGUI@@UAE?AV?$RefPtr@VConnectionInterface@Event@CEGUI@@@2@ABVString@2@0@Z)
CEGuiTest.obj : error LNK2001: unresolved external symbol "public: virtual class CEGUI::RefPtr<class CEGUI::Event::ConnectionInterface> __thiscall CEGUI::EventSet::subscribeScriptedEvent(class CEGUI::String const &,int,class CEGUI::String const &)" (?subscribeScriptedEvent@EventSet@CEGUI@@UAE?AV?$RefPtr@VConnectionInterface@Event@CEGUI@@@2@ABVString@2@H0@Z)
CEGuiTest.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall CEGUI::colour::colour(unsigned int)" (__imp_??0colour@CEGUI@@QAE@I@Z) referenced in function "public: void __thiscall CEGuiTest::buildGui(void)" (?buildGui@CEGuiTest@@QAEXXZ)
Debug/irrtest.exe : fatal error LNK1120: 3 unresolved externals

Thanks,
Kenny

Re: CEGUI under IrrLicht

Posted: Sat Jun 18, 2005 10:19
by zola
Hi Kenny

I just recompiled CEGUI (unstable falagard version from CVS) and tried the Irrlicht renderer. It worked like a charm.

Did you verify that you're having the right cegui library versions in your compiler's library path and that the include paths are set correctly?

Cheers
Tom

Re: CEGUI under IrrLicht

Posted: Tue Jun 21, 2005 03:32
by baxissimo
I was seeing the same error trying to use a CEGUI I compiled with Ogre. Turned out that I copied the CEGUI dll's into a directory where the Ogre .sln would find them, but forgot to copy the .lib's for CEGUI. So I was linking against older versions of the .lib that didn't match the latest headers and .dll.

See if that isn't the case with you as well.