现在的位置: 首页 > 综合 > 正文

centos6.3 安装opencv2.4.9出现的问题

2018年02月19日 ⁄ 综合 ⁄ 共 651字 ⁄ 字号 评论关闭

官方指导地址:http://docs.opencv.org/2.4/doc/tutorials/introduction/linux_install/linux_install.html

make执行到52%的时候报如下错误:

[ 52%] Building CXX object modules/ocl/CMakeFiles/opencv_ocl.dir/src/hog.cpp.o
c++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
make[2]: *** [modules/ocl/CMakeFiles/opencv_ocl.dir/src/hog.cpp.o] Error 1
make[1]: *** [modules/ocl/CMakeFiles/opencv_ocl.dir/all] Error 2
make: *** [all] Error 2
[root@AY1309281745072832Z opencv-2.4.9]#

在网上找了一下,有个人和我的问题大致相同:问题是内存太低了(只有512,需要至少1g)

https://bitcointalk.org/index.php?topic=304389.0

http://www.raspberrypi.org/forums/viewtopic.php?t=61496&p=457711

抱歉!评论已关闭.