Today I tried to build a project, but running “cmake
” gave me a strange output:
# cmake ..
CMake Error: CMake was unable to find a build program corresponding to "Unix 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
After referring this discussion: CMAKE_MAKE_PROGRAM not found, I suddenly realized that this a new setup server, so make
program may not be installed. As expected:
# make
-bash: make: command not found
After installing make
, the cmake
flow works normally.
Thanks a lot, that really helped me right now!
THANK YOU
Thank you! This is exactly what I need right now.
Thanks you!