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

Author Topic: LINKER ERRORS :(  (Read 1633 times)

0 Members and 1 Guest are viewing this topic.

GunnDawg

  • Newbie
  • *
  • Posts: 22
    • View Profile
    • Email
LINKER ERRORS :(
« on: September 17, 2013, 05:08:24 am »
Trying to get SFML 2.1 setup for the first time on VS 2012 Express using this tutorial: http://www.sfml-dev.org/tutorials/2.1/start-vc.php

However I am getting some errors.
Error   3   error LNK1120: 2 unresolved externals   c:\users\admin\documents\visual studio 2012\Projects\SFML\Release\SFML.exe   SFML
Error   1   error LNK2001: unresolved external symbol "public: static class sf::Color const sf::Color::Green" (?Green@Color@sf@@2V12@B)   c:\Users\Admin\documents\visual studio 2012\Projects\SFML\SFML\main.obj   SFML
Error   2   error LNK2001: unresolved external symbol "public: static class sf::RenderStates const sf::RenderStates::Default" (?Default@RenderStates@sf@@2V12@B)   c:\Users\Admin\documents\visual studio 2012\Projects\SFML\SFML\main.obj   SFML


Any help is appreciated. Thanks.

Ixrec

  • Hero Member
  • *****
  • Posts: 1241
    • View Profile
    • Email
Re: LINKER ERRORS :(
« Reply #1 on: September 17, 2013, 05:51:27 am »
First, should be in the help section.

Second, those symbols are both from the graphics module, so somehow you've failed to link the graphics library.  There really isn't anything else I can tell you besides double check every setting in that tutorial, because you must have gotten one of them wrong, or misplaced one of the .dlls.

 

anything