我正在尝试从git构建project。获取以下错误:
CMake Warning at cmake/OpenCVDetectCXXCompiler.cmake:95 (message):
GCC version not detected!
Call Stack (most recent call first):
CMakeLists.txt:116 (include)
-- Detected version of GNU GCC: 00 (0)
-- Check if the system is big endian
-- Searching 16 bit integer
CMake Error at /usr/share/cmake-3.2/Modules/TestBigEndian.cmake:51 (message):
no suitable type found
Call Stack (most recent call first):
CMakeLists.txt:529 (test_big_endian)
-- Configuring incomplete, errors occurred!
无法理解错误。任何帮助表示赞赏
在项目3. Build Android OpenCV SDK with extra modules for Android
中,当我尝试sh ./scripts/cmake_android_arm.sh
时,我收到了上述错误。
答案 0 :(得分:4)
我遇到了同样的错误:TestBigEndian:找不到合适的类型。
但是,删除build_android_arm目录下的CMakeCache.txt文件解决了这个问题。