Build CMake can';t构建ITK

Build CMake can';t构建ITK,build,compilation,cmake,itk,Build,Compilation,Cmake,Itk,我正试图通过在上的示例安装ITK 4.5.0。 我用的是mac 10.5 正如所建议的,我使用的是CMake(2.8--12),但我得到了一个错误: 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 buil

我正试图通过在上的示例安装ITK 4.5.0。 我用的是mac 10.5

正如所建议的,我使用的是CMake(2.8--12),但我得到了一个错误:

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: Error required internal CMake variable not set, cmake may be not be built     correctly.
Missing variable is:
CMAKE_C_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_C_COMPILER
CMake Error: Could not find cmake module file: /Users/usr/Desktop/ITK_bin/CMakeFiles/2.8.12.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: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_COMPILER
CMake Error: Could not find cmake module file: /Users/usr/Desktop/ITK_bin/CMakeFiles/2.8.12.2/CMakeCXXCompiler.cmake
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
Configuring incomplete, errors occurred!

我做错了什么?我需要在路径中添加一些内容吗

安装XCode,并确保“make”程序在您的路径中可用