【发布时间】:2012-03-06 14:13:28
【问题描述】:
我正在尝试在 Windows 上使用 CMAKE 和 MinGW 在 Windows 上编译 OpenCV。但是,当我尝试这样做时,出现以下错误:
The C compiler identification is GNU
The CXX compiler identification is GNU
Check for working C compiler: C:/MinGW/bin/gcc.exe
CMake Error: Generator: execution of make failed. Make command was: make "cmTryCompileExec\fast"
Check for working C compiler: C:/MinGW/bin/gcc.exe -- broken
CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):
The C compiler "C:/MinGW/bin/gcc.exe" is not able to compile a simple test program.
有谁知道可能是什么问题?
【问题讨论】:
-
我遇到了类似的错误。我的问题是 MinGW 安装不完整。据我回忆,gcc 根本就不见了。