1
  • OpenCV => 3.2
  • 操作系统/平台 => Ubuntu 64 位
  • 编译器 => 制作
详细说明

我在安装 OpenCV 3.2 时遇到了一些问题。我遵循了 Milq 的 github 上给出的示例:https ://github.com/milq/milq/blob/master/scripts/bash/install-opencv.sh ;但是,在键入命令“make -j4”后,由于 make 错误,进程在 23% 处停止。然后我尝试了这个解决方案:http://www.ozbotz.org/opencv-installation,使用第一个解决方案中的相同 OpenCV 3.2 zip 文件。但是,它再次停止,我收到以下错误:

Scanning dependencies of target opencv_cudaarithm
[ 18%] [ 18%] [ 18%] [ 18%] Building CXX object 
modules/cudaarithm/CMakeFiles/opencv_cudaarithm.dir/src/core.cpp.o
Building CXX object modules /cudaarithm/CMakeFiles/opencv_cudaarithm.dir/src/element_operations.cpp.o
Building CXX object modules/cudaarithm/CMakeFiles/opencv_cudaarithm.dir/src/reductions.cpp.o
Building CXX object modules/cudaarithm/CMakeFiles/opencv_cudaarithm.dir/src/arithm.cpp.o
Linking CXX shared library ../../lib/libopencv_cudaarithm.so
[ 18%] Built target opencv_cudaarithm
make: *** [all] Error 2

有没有人有任何建议或解决方案来解决这个问题?我尝试重新创建它近 5 次,每次都收到相同的错误。我相信这与 cudaarithm 有关。我对这些类型的安装很陌生,但我尽力学习。通过反复试验,我自己已经能够弄清楚大多数事情,但我在这里不知所措。

4

0 回答 0