[SFML] Problem z instalacją
Ostatnio zmodyfikowano 2011-11-28 11:21
alleon Temat założony przez niniejszego użytkownika |
[SFML] Problem z instalacją » 2011-11-26 21:35:13 |
|
SeaMonster131 |
» 2011-11-26 21:47:04 Hm..a może podałbyś błędy jakie pojawiają się podczas kompilacji itd? |
|
alleon Temat założony przez niniejszego użytkownika |
» 2011-11-26 21:52:48 1>main.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall sf::Window::~Window(void)" (??1Window@sf@@UAE@XZ) referenced in function _main 1>main.obj : error LNK2019: unresolved external symbol "public: void __thiscall sf::Window::Display(void)" (?Display@Window@sf@@QAEXXZ) referenced in function _main 1>main.obj : error LNK2019: unresolved external symbol "public: bool __thiscall sf::Window::IsOpened(void)const " (?IsOpened@Window@sf@@QBE_NXZ) referenced in function _main 1>main.obj : error LNK2019: unresolved external symbol "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 &)" (??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>main.obj : error LNK2019: unresolved external symbol "public: __thiscall sf::VideoMode::VideoMode(unsigned int,unsigned int,unsigned int)" (??0VideoMode@sf@@QAE@III@Z) referenced in function _main 1>MSVCRTD.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartupO O to chodziło? |
|
DejaVu |
» 2011-11-27 09:55:57 To są błędy linkera - musisz w ustawieniach projektu dopisać biblioteki SFML-a, które muszą zostać dolinkowane aby projekt działał. |
|
alleon Temat założony przez niniejszego użytkownika |
» 2011-11-27 11:58:20 No właśnie jest w linker>input>Additional Dependencies dopisane sfml-system.lib w VC++ Directories> Libary files jest C:\SFML-1.6\lib ,a w Include files jest C:\SFML-1.6\include |
|
DejaVu |
» 2011-11-28 11:21:09 To zdecydowanie za mało - jakbyś poszukał tych błędów linkera to z pewnością znalazłbyś kilka tematów na naszym forum gdzie były wylistowane wszystkie liby, które trzeba dołączyć. |
|
« 1 » |