SFML community forums
Help => General => Topic started by: GunnDawg 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.
-
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.