Raspberry Pi中的OpenCV安装停留在100%

时间:2019-10-19 19:49:33

标签: opencv raspberry-pi

我是树莓派的新手,正在尝试安装open-cv。我遵循了https://linuxize.com/post/how-to-install-opencv-on-raspberry-pi/中的所有步骤,到目前为止,我没有发现任何错误,并完成了该过程,直到100%。但是现在它卡在了100%,并且安装没有结束。

我将其放置了一个多小时,但没有任何变化。我已经增加了交换大小并减少了GPU内存消耗。

我认为输出应该像

... [100%]链接CXX共享模块../../lib/python3/cv2.cpython-35m-arm-linux-gnueabihf.so [100%]建立了目标opencv_python3

并结束安装。但就我而言,它停留在

[100%] Built target example_tutorial_MatchTemplate_Demo
[100%] Built target example_tutorial_calcBackProject_Demo1
[100%] Built target example_tutorial_compareHist_Demo
[100%] Built target example_tutorial_periodic_noise_removing_filter
[100%] Built target example_tutorial_Smoothing
[100%] Built target example_tutorial_Threshold
[100%] Built target example_tutorial_Threshold_inRange
[100%] Built target example_tutorial_changing_contrast_brightness_image
[100%] Built target example_tutorial_HitMiss
[100%] Built target example_tutorial_Morphology_3
[100%] Built target example_tutorial_Morphology_1
[100%] Built target example_tutorial_motion_deblur_filter
[100%] Built target opencv_perf_superres
[100%] Built target`enter code here` opencv_test_superres

我认为安装尚未完成,因为如果尝试通过ctrl + C手动结束安装,则会显示

^Cmodules/python3/CMakeFiles/opencv_python3.dir/build.make:62: recipe for target 'modules/python3/CMakeFiles/opencv_python3.dir/__/src2/cv2.cpp.o' failed
make[2]: *** [modules/python3/CMakeFiles/opencv_python3.dir/__/src2/cv2.cpp.o] Interrupt
modules/python2/CMakeFiles/opencv_python2.dir/build.make:62: recipe for target 'modules/python2/CMakeFiles/opencv_python2.dir/__/src2/cv2.cpp.o' failed
make[2]: *** [modules/python2/CMakeFiles/opencv_python2.dir/__/src2/cv2.cpp.o] Interrupt
CMakeFiles/Makefile2:19567: recipe for target 'modules/python3/CMakeFiles/opencv_python3.dir/all' failed
make[1]: *** [modules/python3/CMakeFiles/opencv_python3.dir/all] Interrupt
CMakeFiles/Makefile2:19465: recipe for target 'modules/python2/CMakeFiles/opencv_python2.dir/all' failed
make[1]: *** [modules/python2/CMakeFiles/opencv_python2.dir/all] Interrupt
Makefile:160: recipe for target 'all' failed
make: *** [all] Interrupt

0 个答案:

没有答案