This repository was archived by the owner on Mar 3, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 43
CMake Windows Compilation
jlppc edited this page Nov 12, 2018
·
2 revisions
- Download SFML here (Take the GCC 6 32 bits version)
- Extract in a folder
- Add
libandincludefolder of SFML in the Windows path :
set PATH=%PATH%;C:\_where_is_the_folder\SFML\lib
set PATH=%PATH%;C:\_where_is_the_folder\SFML\include
To see if the folder is in the Path, type in CMD :path
- Download MinGW (with a link below in the SFML download page)
- Extract
- Add the
binfolder of MinGW in the Windows path :
set PATH=%PATH%;C:\where_is_the_folder\mingw32\bin
- Download and install cmake
- In the cmake installation, don't forget to check "Add CMake to the system PATH"
- If this is not work, type in CMD:
set PATH=%PATH%;C:\Program Files\CMake\bin - Download OpMon here
- Extract
- Go to the OpMon folder
- Copy what you can find in
installers/windowsinbin/Release - Copy the
datafolder inbin/Release - Open CMD in this folder and type :
cmake . -G "MinGW Makefiles"mingw32-make
OpMons (creatures)