SFML community forums

Help => General => Topic started by: DeadLegend on May 21, 2015, 10:05:24 pm

Title: Help With Linking and External Symbol Errors
Post by: DeadLegend on May 21, 2015, 10:05:24 pm
I'm moving a project from a svn repo to my HD, which involved changing a the VS 2013 project properties as I was no longer able to point to the repo sfml folder. I've got everything set up like my lest project, which was working with no errors, but I now have 2 unresolved external symbols:

error LNK2001: unresolved external symbol "public: static class sf::RenderStates const sf::RenderStates::Default" (?Default@RenderStates@sf@@2V12@B)

error LNK2001: unresolved external symbol "public: static class sf::Color const sf::Color::Black" (?Black@Color@sf@@2V12@B)   


I've attached pics of the project settings. Thanks!
 
Title: Re: Help With Linking and External Symbol Errors
Post by: eXpl0it3r on May 22, 2015, 02:33:25 am
You defined SFML_STATIC yet linked the shared libraries. Re-read the tutorial and decide on what you want to do. ;)
Title: Re: Help With Linking and External Symbol Errors
Post by: DeadLegend on May 22, 2015, 02:41:56 pm
Its always the stupid stuff, I removed SFML_STATIC and its working. Thanks!