SFML forum,
SFML 2.4.2 Visual Studio 2017
I'm trying to link SFML to Visual Studio. I have followed all the
steps in
https://www.sfml-dev.org/tutorials/2.4/start-vc.php.
Everything links and compiles until I put this line in my program:
sf::RenderWindow window(sf::VideoMode(200, 200), "SFML works!");
Then I get errors like:
Error LNK2019 unresolved external symbol "public: __thiscall
sf::String::String(char const *,class std::locale const &)"
(??0String@sf@@QAE@PBDABVlocale@std@@@Z) referenced in function _main
unresolved external symbol "public:_thiscall sf::VideoMode::VideoMode(
unsigned int,unsigned)
Note that the line #include <SFML/Graphics.hpp> causes no errors.
Must be a linking error but I have double checked everything and
SFML_STATIC is assigned.
Any suggestions?
jerryd