Hi! I'm installing opencv following this instructions http://www.pyimagesearch.com/2015/02/23/install-opencv-and-python-on-your-raspberry-pi-2-and-b/ this is the most popular web page, and ranks first.
This is the problem:
pi@raspberrypi:~ $ cd opencv-2.4.10 pi@raspberrypi:~/opencv-2.4.10 $ cd build pi@raspberrypi:~/opencv-2.4.10/build $ make [ 3%] Built target libjasper [ 9%] Built target IlmImf [ 9%] Built target opencv_core_pch_dephelp [ 9%] Built target pch_Generate_opencv_core [ 11%] Built target opencv_core [ 11%] Built target opencv_ts_pch_dephelp [ 11%] Built target pch_Generate_opencv_ts [ 11%] Built target opencv_flann_pch_dephelp [ 12%] Built target pch_Generate_opencv_flann [ 12%] Built target opencv_flann [ 12%] Built target opencv_imgproc_pch_dephelp [ 12%] Built target pch_Generate_opencv_imgproc [ 16%] Built target opencv_imgproc [ 16%] Built target opencv_highgui_pch_dephelp [ 16%] Built target pch_Generate_opencv_highgui [ 16%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap.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. modules/highgui/CMakeFiles/opencv_highgui.dir/build.make:54: recipe for target 'modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap.cpp.o' failed make[2]: * [modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap.cpp.o] Error 4 CMakeFiles/Makefile2:1823: recipe for target 'modules/highgui/CMakeFiles/opencv_highgui.dir/all' failed make[1]: [modules/highgui/CMakeFiles/opencv_highgui.dir/all] Error 2 Makefile:137: recipe for target 'all' failed make: ** [all] Error 2