无法编译ANTs cmake

时间:2019-03-20 12:31:11

标签: cmake ants

已安装cmake并创建了一个构建目录

我运行代码

ccmake ~/code/ANTs

并出现以下错误

CMake Error at
/usr/local/Cellar/cmake/3.13.4/share/cmake/Modules/CMakeTestCCompiler.cmake:52
(message):
The C compiler

 "/anaconda3/bin/x86_64-apple-darwin13.4.0-clang"

is not able to compile a simple test program.

It fails with the following output:

 Change Dir: /Users/andrewgregory/bin/ants/CMakeFiles/CMakeTmp

  Run Build Command:"/usr/bin/make" "cmTC_a1b94/fast"
 /Applications/Xcode.app/Contents/Developer/usr/bin/make -f
 CMakeFiles/cmTC_a1b94.dir/build.make CMakeFiles/cmTC_a1b94.dir/build
 Building C object CMakeFiles/cmTC_a1b94.dir/testCCompiler.c.o
 /anaconda3/bin/x86_64-apple-darwin13.4.0-clang   -march=core2

我该如何解决?

0 个答案:

没有答案