gpt4 book ai didi

opencv - ubuntu14.04上的CMake错误

转载 作者:行者123 更新时间:2023-12-02 16:49:34 25 4
gpt4 key购买 nike

我正在尝试从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中,出现上述错误。

最佳答案

我遇到了同样的错误:TestBigEndian:找不到合适的类型。

但是,删除build_android_arm目录下的CMakeCache.txt文件可以解决此问题。

关于opencv - ubuntu14.04上的CMake错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35981180/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com