SFML community forums
Help => General => Topic started by: jerryd on May 06, 2017, 11:32:28 pm
-
SFML forum,
I have been using SFML-2.4.0 with CodeLite and Code::Blocks for some
time and am now trying to set up MS Visual C++ to use it. The problem
is MSVC wants me to include "sfml-graphics.lib" and other similar
libraries but I don't have those. Where or how do I get them?
Jerryd
-
If you're compiling SFML yourself from source, it needs to be recompiled with the compiler you're using it with - MSVC.
If you use pre-built versions of SFML, download the Visual C++ version from SFML's download page (https://www.sfml-dev.org/download/sfml/2.4.2/).
-
Hapax,
Thanks for the reply.
I am not familiar with CMAKE so I read all about it and I still
don't understand what it will do for my problem. It isn't a
compiler so will it make the files I'm missing?
I don't have the full MS Visual Studio just MS Visual C++ 2010.
Any suggestions?
Jerryd
-
CMake generates make files and project files for various compiler toolchains and IDEs. By using CMake you can generate a VS 2010 project file which allows you to build SFML libs for VS 2010.
If you're using VS 2010 Express, I highly recommend you update to VS 2017 Community.