First of all, you have to download SFML 2.5.1 and MinGW 7.3.0.
- Unpack the downloaded compiler and SFML
- Add
%MINGW_PATH%/bin
to%Path%
environment variable - Copy
%SFML_PATH%/include
content into%MINGW_PATH%/include
- Copy
%SFML_PATH%/lib
content into%MINGW_PATH%/lib
- Edit your
Makefile
and set the correct path to MinGW - In MinGW folder, copy
mingw32-make.exe
and save in the same folder asmake.exe
- Now you must be able to compile the project just by typing
make
in command line
If you wanna debug the project, you can compile the debug version of project by typing make debug
.