SFML community forums
Help => General => Topic started 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!
-
You defined SFML_STATIC yet linked the shared libraries. Re-read the tutorial and decide on what you want to do. ;)
-
Its always the stupid stuff, I removed SFML_STATIC and its working. Thanks!