Where are the libs?

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

Waver
Just popping in
Just popping in
Posts: 1
Joined: Tue Apr 23, 2013 11:09

Where are the libs?

Postby Waver » Tue Apr 23, 2013 11:16

Hey guys,

So i try to get CEGUI to work with my MSVS 2010. I try to find out why my code produces these errors:

Code: Select all

Stencil.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: void __thiscall CEGUI::System::renderGUI(void)" (__imp_?renderGUI@System@CEGUI@@QAEXXZ)" in Funktion "_main".
1>Stencil.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: class CEGUI::Window * __thiscall CEGUI::System::setGUISheet(class CEGUI::Window *)" (__imp_?setGUISheet@System@CEGUI@@QAEPAVWindow@2@PAV32@@Z)" in Funktion "_main".
1>Stencil.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: static class CEGUI::System & __cdecl CEGUI::System::getSingleton(void)" (__imp_?getSingleton@System@CEGUI@@SAAAV12@XZ)" in Funktion "_main".
1>Stencil.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall CEGUI::String::~String(void)" (__imp_??1String@CEGUI@@QAE@XZ)" in Funktion "_main".
1>Stencil.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: class CEGUI::Window * __thiscall CEGUI::WindowManager::createWindow(class CEGUI::String const &,class CEGUI::String const &)" (__imp_?createWindow@WindowManager@CEGUI@@QAEPAVWindow@2@ABVString@2@0@Z)" in Funktion "_main".
1>Stencil.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall CEGUI::String::String(char const *)" (__imp_??0String@CEGUI@@QAE@PBD@Z)" in Funktion "_main".
1>Stencil.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: static class CEGUI::OpenGLRenderer & __cdecl CEGUI::OpenGLRenderer::bootstrapSystem(enum CEGUI::OpenGLRenderer::TextureTargetType)" (__imp_?bootstrapSystem@OpenGLRenderer@CEGUI@@SAAAV12@W4TextureTargetType@12@@Z)" in Funktion ""void __cdecl initGUI(void)" (?initGUI@@YAXXZ)".
1>Stencil.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: static class CEGUI::WindowManager & __cdecl CEGUI::Singleton<class CEGUI::WindowManager>::getSingleton(void)" (__imp_?getSingleton@?$Singleton@VWindowManager@CEGUI@@@CEGUI@@SAAAVWindowManager@2@XZ)" in Funktion ""void __cdecl `dynamic initializer for 'wmgr''(void)" (??__Ewmgr@@YAXXZ)".
1>C:\Users\Jake.Jake-HP\Documents\Studium\HiWi\GHorst\Visual Studio\take3\Debug\Take3.exe : fatal error LNK1120: 8 nicht aufgelöste externe Verweise.


So i stalked the wiki, and i read that there should be some libs linked to the code or even copied to the directory. This is where i fail...where are those .dlls??? i read something about "CEGUIOpenGLRenderer.lib;CEGUIBase.lib" and that i should link them, but even when i scan the whole cegui files i downloaded from your website, i can't find them. Actually i only find dependancie libs like freeglut or Devil.

Can somebody please help??
Thanks so much

User avatar
Ident
CEGUI Team
Posts: 1998
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: Where are the libs?

Postby Ident » Tue Apr 23, 2013 17:54

What CEGUI version do you use?

Did you download precompiled libraries?
Are you going to build CEGUI yourself?
Did you build it yet?

Do you know how libs/dlls work in C++?
After estimated 0.2 seconds of google-search (www.google.com) I found this, which might solve all your troubles: http://www.youtube.com/watch?v=nWm5aec8xkE


Also someone who shall remain unnamed (CrazyEddie) said this should be posted:
Image
CrazyEddie: "I don't like GUIs"


Return to “Help”

Who is online

Users browsing this forum: No registered users and 27 guests