SFML community forums

Help => General => Topic started by: Bobbo on May 30, 2013, 11:55:30 pm

Title: Linking errors with VS2012
Post by: Bobbo on May 30, 2013, 11:55:30 pm
Hi,

Followed the newbie tutorial to setup SFML 2 in VS (using VS 2012), but I get linking errors such as

Quote
Error   1   error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall sf::RenderWindow::~RenderWindow(void)" (__imp_??1RenderWindow@sf@@UAE@XZ)

I'm not sure why. I'm linking to:

Quote
sfml-graphics-d.lib
sfml-window-d.lib
sfml-system-d.lib
sfml-network-d.lib
sfml-audio-d.lib

dynamically, meaning I have not set the static define.
Title: Re: Linking errors with VS2012
Post by: Bobbo on May 31, 2013, 12:37:02 pm
Apologies, it seems it was in fact the wrong library.