1
General / Still getting unresolved external with libs linked.
« on: September 07, 2011, 09:59:44 am »
Wow, it was that simple.. I feel stupid now, but it's all learning experience. Thanks.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
sfml-graphics-d.lib
sfml-audio-d.lib
sfml-window-d.lib
sfml-system-d.lib
sfml-network-d.lib
sfml-graphics.lib
sfml-audio.lib
sfml-window.lib
sfml-system.lib
sfml-network.lib
sfml-graphics-s.lib
sfml-audio-s.lib
sfml-window-s.lib
sfml-system-s.lib
sfml-network-s.lib
#include <SFML/Graphics.hpp>
int main() {
sf::RenderWindow Game(sf::VideoMode(800,600,32),"Test window");
}
error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall sf::RenderWindow::RenderWindow(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_??0RenderWindow@sf@@QAE@VVideoMode@1@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@KABUWindowSettings@1@@Z) referenced in function _main
error LNK2001: unresolved external symbol "public: __thiscall sf::RenderWindow::RenderWindow(class sf::VideoMode,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,unsigned long,struct sf::WindowSettings const &)" (??0RenderWindow@sf@@QAE@VVideoMode@1@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@KABUWindowSettings@1@@Z)