Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/opencv/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Opencv ubuntu14.04上的Cmake错误_Opencv_Cmake - Fatal编程技术网

Opencv ubuntu14.04上的Cmake错误

Opencv ubuntu14.04上的Cmake错误,opencv,cmake,Opencv,Cmake,我正在尝试从git生成。出现以下错误: 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

我正在尝试从git生成。出现以下错误:

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中。当我尝试
sh./scripts/cmake\u Android\u arm.sh时,为Android构建带有额外模块的Android OpenCV SDK
,我收到了上述错误。

我收到了相同的错误:TestBigEndian:未找到合适的类型


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

我收到了相同的错误:TestBigEndian:未找到合适的类型


但是,删除build_android_arm目录下的CMakeCache.txt文件解决了这个问题。

显示
gcc的输出--version
?@Glutton gcc(Ubuntu 4.8.4-2ubuntu1~14.04)4.8.4请显示您的
CMakeLists.txt
@Glutton,显示
uname-mpi的输出
。显示
gcc的输出--version
?@Glutton gcc(Ubuntu 4.8.4-2ubuntu1~14.04)4.8.4请显示您的
CMakeLists.txt
@Glutton,请显示
uname-mpi的输出。