I am trying to install OpenCV on Raspbian by following these steps:
http://mitchtech.net/raspberry-pi-opencv/
Everything works up until I do a "make". It gets up to 61% and then I get the following error:
[61% built target opencv_perf_gpu]
[61% building CXX object modules/gpu/CMakeFiles/opencv_test_gpu.dir/test/test_core.cpp.o]
c++: internal compiler error: Killed (program cclplus)
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_test_gpu.dir/test/test_core.cpp.o] Error 4
make[1]: *** [modules/gpu/CMakeFiles/opencv_test_gpu.dir/all] Error 2
make: *** [all] Error 2
I'm running 2012-08-16-wheezy-raspbian image, expanded to 8GB.
The website I am following is installing an older version of OpenCV [2.3.1] on a Debian image.
Do you think this is the problem? Is it worth perusing to fix this problem or should I simply revert to a older version of OpenCV and use Debian instead?