ubuntu 14.04 OpenCV安装错误

时间:2016-03-09 10:01:00

标签: python c++ opencv ubuntu

我正在尝试在运行Ubuntu 14.04的笔记本电脑上安装OpenCV我有Python 3(Anconda 3)

我收到很多关于CMake和其他事情的警告/错误。 导致安装中止的错误似乎是Python 3(Anaconda)

以下是CMake问题的摘录

[ 27%] Building NVCC (Device) object modules/cudev/test/CMakeFiles`     /opencv_test_cudev.dir//./opencv_test_cudev_generated_test_reduction.cu.o`
cc1: warning: command line option ‘-Wno-delete-non-virtual-dtor’ is valid for C++/ObjC++ but not for C [enabled by default]
cc1: warning: command line option ‘-Wno-delete-non-virtual-dtor’ is valid for C++/ObjC++ but not for C [enabled by default]

许多与此相似的其他问题

安装失败之前发生的问题是:

//home/brendan/anaconda3/lib/libQtGui.so.4: undefined reference to `png_set_text@PNG16_0'
//home/brendan/anaconda3/lib/libQtGui.so.4: undefined reference to `png_set_strip_16@PNG16_0'
collect2: error: ld returned 1 exit status
make[2]: *** [bin/opencv_test_cudev] Error 1
make[1]: *** [modules/cudev/test/CMakeFiles/opencv_test_cudev.dir/all] Error 2
make: *** [all] Error 2

****  Installation failed. Aborting package creation.

Restoring overwritten files from backup...OK

Cleaning up...OK

此致

布伦丹

0 个答案:

没有答案