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

官方指导地址: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















你可能感兴趣的:(centos6.3 安装opencv2.4.9出现的问题)