Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Unable to build opencv on the raspberry pi running raspbian

Hi all, I am trying to build opencv version 2.4.6.1 on Raspbian (Linux raspberrypi 3.6.11+ #538 PREEMPT Fri Aug 30 20:42:08 BST 2013 armv6l) running on a raspberry pi B. I am following the instructions at the following link; http://denis.doublebuffer.net/lablog/2012/08/10/setting-everything-up-for-opencv-raspberry-pi/ Make stops around 61%. See the following error dump.

[ 67%] Building CXX object modules/gpu/CMakeFiles/opencv_gpu.dir/src/denoising.cpp.o
[ 67%] Building CXX object modules/gpu/CMakeFiles/opencv_gpu.dir/src/bilateral_filter.cpp. o
Linking CXX shared library ../../lib/libopencv_gpu.so
[ 67%] Built target opencv_gpu
[ 67%] Generating opencv_perf_gpu_pch_dephelp.cxx
[ 68%] Building CXX object modules/gpu/CMakeFiles/opencv_perf_gpu_pch_dephelp.dir/opencv_p erf_gpu_pch_dephelp.cxx.o
Linking CXX static library ../../lib/libopencv_perf_gpu_pch_dephelp.a
[ 68%] Built target opencv_perf_gpu_pch_dephelp
[ 68%] Generating perf_precomp.hpp
[ 68%] Generating perf_precomp.hpp.gch/opencv_perf_gpu_RELEASE.gch
[ 68%] Built target pch_Generate_opencv_perf_gpu
[ 68%] Building CXX object modules/gpu/CMakeFiles/opencv_perf_gpu.dir/perf/perf_precomp.cp p.o
[ 68%] Building CXX object modules/gpu/CMakeFiles/opencv_perf_gpu.dir/perf/perf_video.cpp. o
[ 69%] Building CXX object modules/gpu/CMakeFiles/opencv_perf_gpu.dir/perf/perf_features2d .cpp.o
[ 69%] Building CXX object modules/gpu/CMakeFiles/opencv_perf_gpu.dir/perf/perf_calib3d.cp p.o
[ 69%] Building CXX object modules/gpu/CMakeFiles/opencv_perf_gpu.dir/perf/perf_labeling.c pp.o
[ 69%] Building CXX object modules/gpu/CMakeFiles/opencv_perf_gpu.dir/perf/perf_denoising. cpp.o
[ 69%] Building CXX object modules/gpu/CMakeFiles/opencv_perf_gpu.dir/perf/perf_main.cpp.o [ 69%] Building CXX object modules/gpu/CMakeFiles/opencv_perf_gpu.dir/perf/perf_core.cpp.o c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file: usr="" share="" doc="" gcc-4.6="" readme.bugs=""> for instructions.
make[2]: * [modules/gpu/CMakeFiles/opencv_perf_gpu.dir/perf/perf_core.cpp.o] Error 4
make[1]:
[modules/gpu/CMakeFiles/opencv_perf_gpu.dir/all] Error 2
make: *
* [all] Error 2

How do I see what the problem is and correct it?

Pranav