Use the VS 2017 download links here: https://www.sfml-dev.org/download/sfml/2.5.1/
|You can then unpack the SFML archive wherever you like. Copying headers and libraries to your installation of Visual Studio is not recommended, it's better to keep libraries in their own separate location, especially if you intend to use several versions of the same library, or several compilers.|
Previously versions of VS like 2010 were not compatible with VS 2013 and beyond, but VS 2017 and VS 2019 are compatible.
Then, follow the rest of the tutorial: https://www.sfml-dev.org/tutorials/2.5/start-vc.php
"Creating and configuring a SFML project"
I just downloaded it myself and built it and ran the green circle example myself. The tutorial works.
One specific part of the tutorial that is slightly off: The "Additional Include Directories" is now found under Properties --> VC++ Directories --> Include Directories
But just as the tutorial says, you would put the path to the /include folder of the SFML package you downloaded.
(I extracted the zip file in a centralized C:\libraries folder. You can put it anywhere.)
e.g. for the Linker's Additional Library Directories:
- Make sure that if you are building as debug, you set the Linker's Additional Dependencies to be the -d lib files, e.g.
Don't use the optional SFML_STATIC. I mean, you can, but it will force you to configure additional dependencies. Just make sure you copy the -d DLL files into the folder where your exe is built.
e.g. inside the folder where your exe is, copy:
The DLL files are found in the /bin folder of the downloaded zip.