Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Linking errors with VS2012  (Read 992 times)

0 Members and 1 Guest are viewing this topic.

Bobbo

  • Newbie
  • *
  • Posts: 16
    • View Profile
Linking errors with VS2012
« 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.

Bobbo

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: Linking errors with VS2012
« Reply #1 on: May 31, 2013, 12:37:02 pm »
Apologies, it seems it was in fact the wrong library.

 

anything