So I am trying to compile SFML 2.1 from the source, and I am having some issues with CMake.
I did my best to follow the tutorial to the letter, but when I hit Configure in the CMake window, I get the following errors I don't understand:
CMake Error: CMake was unable to find a build program corresponding to "MinGW Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMake was unable to find a build program corresponding to "MinGW Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_C_COMPILER_ENV_VAR
CMake Error: Could not find cmake module file:C:/Users/Guerric/Downloads/SFML Custom/CMakeFiles/2.8.11.2/CMakeCCompiler.cmake
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_COMPILER_ENV_VAR
CMake Error: Could not find cmake module file:C:/Users/Guerric/Downloads/SFML Custom/CMakeFiles/2.8.11.2/CMakeCXXCompiler.cmake
Configuring incomplete, errors occurred!
I used the
set PATH=%PATH%;your_mingw_folder\bin
command to set the PATH variable (obviously with my own installation directory), and tried running CMake both from the desktop icon and from the command prompt using cmake-gui.
How can I solve these and get to compiling SFML?