我在 Windows 7 64 位上使用 CMake(尽管我正在编译 32 位)。
我正在尝试安装vxl库,当我(从界面)运行 CMake 时,出现以下错误:
The C compiler identification is unknown
The CXX compiler identification is unknown
Check if the system is big endian
Searching 16 bit integer
CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/TestBigEndian.cmake:44 (message):
no suitable type found
Call Stack (most recent call first):
config/cmake/config/CMakeLists.txt:287 (TEST_BIG_ENDIAN)
Configuring incomplete, errors occurred!
我将 VS 2008 的默认编译器用于 32 位。它看起来像一个内部 CMake 错误,我在互联网上找不到任何有用的东西。问题是当我尝试重新配置-已经安装的-ITK 库时,我得到了同样的错误。
注意:当我第一次尝试配置 CMake 时,我得到了无数类型的错误:
CMake Error: Internal CMake error, TryCompile configure of cmake failed
创建 CMakeCache 并设置 cmake 变量后,它们不会再次出现。在第二个“配置”中尝试只出现第一个错误。
我真的不知道如何继续,有人可以帮忙吗?先感谢您。