Issue with SFML
Posted: Sun Apr 11, 2010 5:53 pm
I followed the tutorial form start to finished and still recieved these errors when I tried to compile their "Opening a window" code.
Code: Select all
1>------ Build started: Project: AppleSauce, Configuration: Debug Win32 ------
1>Compiling...
1>Engine.cpp
1>Linking...
1>Engine.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall sf::Window::~Window(void)" (__imp_??1Window@sf@@UAE@XZ) referenced in function _main
1>Engine.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall sf::Window::Display(void)" (__imp_?Display@Window@sf@@QAEXXZ) referenced in function _main
1>Engine.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall sf::Window::Window(class sf::VideoMode,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,unsigned long,struct sf::WindowSettings const &)" (__imp_??0Window@sf@@QAE@VVideoMode@1@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@KABUWindowSettings@1@@Z) referenced in function _main
1>Engine.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall sf::VideoMode::VideoMode(unsigned int,unsigned int,unsigned int)" (__imp_??0VideoMode@sf@@QAE@III@Z) referenced in function _main
1>C:\Users\Jacob\Documents\Visual Studio 2008\Projects\AppleSauce\Debug\AppleSauce.exe : fatal error LNK1120: 4 unresolved externals
1>Build log was saved at "file://c:\Users\Jacob\Documents\Visual Studio 2008\Projects\AppleSauce\AppleSauce\Debug\BuildLog.htm"
1>AppleSauce - 5 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========