CMake 错误编译器不工作

MrD*_*MrD 5 c++

我已经尝试用 CMaker 构建 vxl 库几个小时了,但遇到了一个又一个错误......

最后一个...(我已经检查过,我的路径上没有 sh.exe):

The C compiler identification is GNU 4.8.1
The CXX compiler identification is GNU 4.8.1
Check for working C compiler: C:/MinGW/bin/gcc.exe
CMake Error: Generator: execution of make failed. Make command was: "nmake" "/NOLOGO" "cmTC_ff6a8\fast"
Check for working C compiler: C:/MinGW/bin/gcc.exe -- broken
CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.4/Modules/CMakeTestCCompiler.cmake:61 (message):
  The C compiler "C:/MinGW/bin/gcc.exe" is not able to compile a simple test
  program.

  It fails with the following output:

   Change Dir: C:/vxl-root/obj-e/CMakeFiles/CMakeTmp



  Run Build Command:"nmake" "/NOLOGO" "cmTC_ff6a8\fast"

  The system cannot find the file specified

  Generator: execution of make failed.  Make command was: "nmake" "/NOLOGO"
  "cmTC_ff6a8\fast"





  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:21 (PROJECT)


Configuring incomplete, errors occurred!
See also "C:/vxl-root/obj-e/CMakeFiles/CMakeOutput.log".
See also "C:/vxl-root/obj-e/CMakeFiles/CMakeError.log".
Run Code Online (Sandbox Code Playgroud)

在此输入图像描述