Setting Up .lib files
Posted: Fri Apr 06, 2012 20:37
So I installed the SDK and got everything all set up except I can't use the .lib files. I used vs 2010 express to compile the .dll files for openglrender and ceguibase and falagard and it seems to be fine. However I have no files with the lib extension. When I ran the compiler for each dll file i also got an exports file library and an object library file. But I have no .lib files or anything like a regular library file. When I use nvidia or boost or sfml or any of the other sdks I use I never see anything but .lib/.a/.so and so forth files. I know I am supposed to link to some .lib files, how do I get these files?
If it helps at all these are the errors I have been getting trying to run a cegui project in visual studios:
EDIT by Kulik: code tags
If it helps at all these are the errors I have been getting trying to run a cegui project in visual studios:
Code: Select all
1>------ Build started: Project: ceguiwindows, Configuration: Debug Win32 ------
1>ceguiwindows.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall CEGUI::Window::setText(class CEGUI::String const &)" (__imp_?setText@Window@CEGUI@@QAEXABVString@2@@Z) referenced in function _wmain
1>ceguiwindows.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall CEGUI::Window::setSize(class CEGUI::UVector2 const &)" (__imp_?setSize@Window@CEGUI@@QAEXABVUVector2@2@@Z) referenced in function _wmain
1>ceguiwindows.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall CEGUI::UDim::~UDim(void)" (__imp_??1UDim@CEGUI@@QAE@XZ) referenced in function _wmain
1>ceguiwindows.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall CEGUI::UVector2::~UVector2(void)" (__imp_??1UVector2@CEGUI@@QAE@XZ) referenced in function _wmain
1>ceguiwindows.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall CEGUI::Window::setPosition(class CEGUI::UVector2 const &)" (__imp_?setPosition@Window@CEGUI@@QAEXABVUVector2@2@@Z) referenced in function _wmain
1>ceguiwindows.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall CEGUI::UVector2::UVector2(class CEGUI::UDim const &,class CEGUI::UDim const &)" (__imp_??0UVector2@CEGUI@@QAE@ABVUDim@1@0@Z) referenced in function _wmain
1>ceguiwindows.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall CEGUI::UDim::UDim(float,float)" (__imp_??0UDim@CEGUI@@QAE@MM@Z) referenced in function _wmain
1>ceguiwindows.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall CEGUI::Window::addChildWindow(class CEGUI::Window *)" (__imp_?addChildWindow@Window@CEGUI@@QAEXPAV12@@Z) referenced in function _wmain
1>ceguiwindows.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 _wmain
1>ceguiwindows.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class CEGUI::System & __cdecl CEGUI::System::getSingleton(void)" (__imp_?getSingleton@System@CEGUI@@SAAAV12@XZ) referenced in function _wmain
1>ceguiwindows.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall CEGUI::String::~String(void)" (__imp_??1String@CEGUI@@QAE@XZ) referenced in function _wmain
1>ceguiwindows.obj : error LNK2019: unresolved external 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) referenced in function _wmain
1>ceguiwindows.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall CEGUI::String::String(char const *)" (__imp_??0String@CEGUI@@QAE@PBD@Z) referenced in function _wmain
1>ceguiwindows.obj : error LNK2019: unresolved external 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) referenced in function _wmain
1>C:\Users\Matt\Documents\Visual Studio 2010\Projects\ceguiwindows\Debug\ceguiwindows.exe : fatal error LNK1120: 14 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
EDIT by Kulik: code tags
