Я пытаюсь собрать супербилд ParaView (https://gitlab.kitware.com/paraview/paraview-superbuild), используя CMake на Windows 10. Они рекомендуют использовать генератор Ninja.
Я скачал Ninja и поместил его в C:/Ninja/ninja.exe
Но я получаю эту ошибку:
CMake Error at CMakeLists.txt:3 (project):
No CMAKE_C_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.
CMake Error at CMakeLists.txt:3 (project):
No CMAKE_CXX_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.
Где я могу найти этот компилятор?
Я установил Visual Studio 13 и 15 и попытался открыть cmake- gui из командной строки разработчика, но безуспешно.
Я пробовал другие генераторы. Супербилд ParaView не работает с Visual Studio. На моем Ма c я использовал Unix MakeFiles
, но в Windows 10 он не работает, появляется эта ошибка:
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