Error While installing OpenCV 3.4.2
Please Someone Help Me! I wanted to install OpenCV on my RaspberryPi 3 with Raspbian Stretch installed. i'm a beginner here so i used this site to learn and install OpenCV. "https://www.pyimagesearch.com/2017/09..."
When I try the compiling command MAKE, it starts but at around 51% it stops and gives me this error.
CMakeFiles/opencv_perf_core.dir/perf/opencl/perf_matop.cpp.o: file not recognized: File truncated collect2: error: ld returned 1 exit status modules/core/CMakeFiles/opencv_perf_core.dir/build.make:881: recipe for target 'bin/opencv_perf_core' failed make[2]: * [bin/opencv_perf_core] Error 1 CMakeFiles/Makefile2:2696: recipe for target 'modules/core/CMakeFiles/opencv_perf_core.dir/all' failed make[1]: [modules/core/CMakeFiles/opencv_perf_core.dir/all] Error 2 make[1]: Waiting for unfinished jobs.... CMakeFiles/opencv_test_imgproc.dir/test/ocl/test_blend.cpp.o: file not recognized: File truncated collect2: error: ld returned 1 exit status modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/build.make:1401: recipe for target 'bin/opencv_test_imgproc' failed make[2]: [bin/opencv_test_imgproc] Error 1 CMakeFiles/Makefile2:3271: recipe for target 'modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/all' failed make[1]: [modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/all] Error 2 [ 51%] Built target opencv_test_objdetect CMakeFiles/opencv_perf_imgproc.dir/perf/perf_resize.cpp.o: file not recognized: File truncated collect2: error: ld returned 1 exit status modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/build.make:1063: recipe for target 'bin/opencv_perf_imgproc' failed make[2]: [bin/opencv_perf_imgproc] Error 1 CMakeFiles/Makefile2:3347: recipe for target 'modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/all' failed make[1]: [modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/all] Error 2 Makefile:160: recipe for target 'all' failed make: * [all] Error 2
Please Help me what should i do? i'm tryind to install OpenCV 3.4.2 with python 3.
file not recognized: File truncated Check your SD card?
Yup! I literally tried 4 times and I can open GUI with VNC but installations gets stuck at 51% giving this error. And green light flashes up at that moment So i guess SD Card is okay.