I am new to С and С++ and I have a problem. In order to compile the CSFML library, I needed CMake . But as soon as I tried to configure the project in CMake gui , an error pops up:
CMake Error: CMake Makefiles. CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool. CMake Error: CMake Makefiles. CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool. CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
The problem is that CMake as if I did not try, cannot find compilers, although they are registered in the PATH environment variable. If you run CMake from the command line, it says:
file does not exist
or
not contain CMakeLists.txt
But the file exists, and CMakeLists.txt there should not exist
I googled and looked at the answers to about the same questions, but I did not find a clear answer. I looked at a cloud of different sources, as well as official documentation, but nothing helped.
The version of CMake 3.12.3, installed from the official site.
The operating system is Windows XP SP3.
GCC MinGW compiler.
Операционная система Windows XP SP3.&&Новичок в программировании= nothing good will work? - 0-Level UNIX MonkCMAKE_C_COMPILERandCMAKE_CXX_COMPILERcommand to start the compiler? and in case the PATH is still not registered, with full paths? - Fat-ZerCMAKE_MAKE_PROGRAM(mingw32-make.exe), specify the folder with CMakeLists.txt, set the normal OS. - arrowd