Problems compiling OpenCV

asked 2015-06-23 03:22:04 -0600

josemgm gravatar image

I'm trying to compile OpenCV 2.4.11 on Ubuntu 14.04. My settings are the following.

OS: Ubuntu 14.04 Server CPU: 8 cores RAM: 64GB HDD: 2TB

I'm getting the following error.

[ 67%] Building CXX object modules/ocl/CMakeFiles/opencv_ocl.dir/src/cl_runtime/clamdblas_runtime.cpp.o

c++: internal compiler error: Segmentation fault (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See <file: usr="" share="" doc="" gcc-4.9="" readme.bugs=""> for instructions. make[2]: * [modules/ocl/CMakeFiles/opencv_ocl.dir/src/cl_runtime/clamdblas_runtime.cpp.o] Error 4 make[1]: [modules/ocl/CMakeFiles/opencv_ocl.dir/all] Error 2 make: ** [all] Error 2

I tried to increment the swap memory, also I updated the g++ from 4.8 to 4.9 and the error persists. I compiled in other similar server without problems.

How can I solve it?

Thanks in advance.

Kind regards,

edit retag flag offensive close merge delete