Hi,
I am having problems compiling the example code, as well, using VC++ 2008 Express on Windows XP.
These are the 7 linker errors I get:
cpGUI-d.lib(cpGUI.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall sf::Font::Font(class sf::Font const &)" (__imp_??0Font@sf@@QAE@ABV01@@Z) referenced in function "public: __thiscall cp::cpGuiContainer::cpGuiContainer(void)" (??0cpGuiContainer@cp@@QAE@XZ)
cpGUI-d.lib(cpGUI.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class sf::String & __thiscall sf::String::operator=(class sf::String const &)" (__imp_??4String@sf@@QAEAAV01@ABV01@@Z) referenced in function "public: virtual void __thiscall cp::cpObject::SetFontSize(unsigned int)" (?SetFontSize@cpObject@cp@@UAEXI@Z)
cpGUI-d.lib(cpGUI.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall sf::Sprite::SetImage(class sf::Image const &)" (__imp_?SetImage@Sprite@sf@@QAEXABVImage@2@@Z) referenced in function "public: __thiscall cp::cpImageButton::cpImageButton(class sf::RenderWindow *,class cp::cpGuiContainer *,class sf::Image *,float,float)" (??0cpImageButton@cp@@QAE@PAVRenderWindow@sf@@PAVcpGuiContainer@1@PAVImage@3@MM@Z)
cpGUI-d.lib(cpGUI.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall sf::Sprite::Sprite(void)" (__imp_??0Sprite@sf@@QAE@XZ) referenced in function "public: __thiscall cp::cpImageButton::cpImageButton(class sf::RenderWindow *,class cp::cpGuiContainer *,class sf::Image *,float,float)" (??0cpImageButton@cp@@QAE@PAVRenderWindow@sf@@PAVcpGuiContainer@1@PAVImage@3@MM@Z)
cpGUI-d.lib(cpGUI.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class sf::Shape & __thiscall sf::Shape::operator=(class sf::Shape const &)" (__imp_??4Shape@sf@@QAEAAV01@ABV01@@Z) referenced in function "private: virtual void __thiscall cp::cpCheckBox::CreateRects(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (?CreateRects@cpCheckBox@cp@@EAEXV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
cpGUI-d.lib(cpGUI.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall sf::String::String(class sf::String const &)" (__imp_??0String@sf@@QAE@ABV01@@Z) referenced in function "public: void __thiscall cp::cpSelectionBox::AddChoice(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (?AddChoice@cpSelectionBox@cp@@QAEXV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
I added cpGUI\include and SFML-1.5\include to the include files directories, and cpGUI\lib and SFML-1.5\lib\vc2008 to the library files derectories.
In the project (debug mode), I have added these as additional dependencies:sfml-main-d.lib sfml-system-s-d.lib sfml-window-s-d.lib sfml-graphics-s-d.lib cpGUI-d.lib
What am I missing? It is probably something stupid...
Thank you in advance!