OpenCv3.3 build is failing
hi everyone, I was trying to build open cv 3.3 on my raspberry pi 3 which has rasbian os installed. But my build is failing at 81 percent. please find the log bellow.
[ 81%] Building CXX object modules/xfeatures2d/CMakeFiles/opencv_test_xfeatures2d.dir/test/test_detectors.cpp.o
c++: internal compiler error: Bus error (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-6/README.Bugs> for instructions.
c++: internal compiler error: Bus error (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-6/README.Bugs> for instructions.
modules/xfeatures2d/CMakeFiles/opencv_test_xfeatures2d.dir/build.make:62: recipe for target 'modules/xfeatures2d/CMakeFiles/opencv_test_xfeatures2d.dir/test/test_detectors.cpp.o' failed
make[2]: *** [modules/xfeatures2d/CMakeFiles/opencv_test_xfeatures2d.dir/test/test_detectors.cpp.o] Error 4
c++: internal compiler error: Bus error (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
modules/xfeatures2d/CMakeFiles/opencv_perf_xfeatures2d.dir/build.make:110: recipe for target 'modules/xfeatures2d/CMakeFiles/opencv_perf_xfeatures2d.dir/perf/perf_main.cpp.o' failed
make[2]: *** [modules/xfeatures2d/CMakeFiles/opencv_perf_xfeatures2d.dir/perf/perf_main.cpp.o] Error 4
See <file:///usr/share/doc/gcc-6/README.Bugs> for instructions.
CMakeFiles/Makefile2:17534: recipe for target 'modules/xfeatures2d/CMakeFiles/opencv_test_xfeatures2d.dir/all' failed
make[1]: *** [modules/xfeatures2d/CMakeFiles/opencv_test_xfeatures2d.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: *** Waiting for unfinished jobs....
modules/xfeatures2d/CMakeFiles/opencv_perf_xfeatures2d.dir/build.make:62: recipe for target 'modules/xfeatures2d/CMakeFiles/opencv_perf_xfeatures2d.dir/perf/perf_daisy.cpp.o' failed
make[2]: *** [modules/xfeatures2d/CMakeFiles/opencv_perf_xfeatures2d.dir/perf/perf_daisy.cpp.o] Error 4
c++: internal compiler error: Bus error (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-6/README.Bugs> for instructions.
modules/xfeatures2d/CMakeFiles/opencv_perf_xfeatures2d.dir/build.make:86: recipe for target 'modules/xfeatures2d/CMakeFiles/opencv_perf_xfeatures2d.dir/perf/perf_latch.cpp.o' failed
make[2]: *** [modules/xfeatures2d/CMakeFiles/opencv_perf_xfeatures2d.dir/perf/perf_latch.cpp.o] Error 4
CMakeFiles/Makefile2:17209: recipe for target 'modules/xfeatures2d/CMakeFiles/opencv_perf_xfeatures2d.dir/all' failed
make[1]: *** [modules/xfeatures2d/CMakeFiles/opencv_perf_xfeatures2d.dir/all] Error 2
can it be, you're running out of resources ?
sometimes it is not ressources but write error on disk too...
HI ,Thanks for the response :) I am using 16 gb sd card whiuch has only rasbian os and opencv3.3.I dont think its a resource issue.
Hi, I made a Rasbian docker image for OpenCV 3.1 and 3.4. You may look the Dockerfile and OpenCV installation script. https://github.com/mohaseeb/raspberry... The images, if you want to use any https://hub.docker.com/r/mohaseeb/ras...