【opencv基础】OpenCV installation stuck at [ 98%] Built target opencv_perf_stitching with no error

时间:2023-03-09 19:19:32
【opencv基础】OpenCV installation stuck at [ 98%] Built target opencv_perf_stitching with no error

前言

按照官网步骤安装opencv的过程中进行到98%时一直没有继续进行。

原因

后台一直在编译运行,只需等待即可,参考here

well, turns out it gets stuck for quite a long time and then moves forward successfully. Don't stop the installation. BE PATIENT!

bash

[ %] Building CXX object modules/stitching/CMakeFiles/opencv_test_stitching.dir/test/test_main.cpp.o
cc1plus: warning: /opt/opencv-3.3./build/modules/stitching/test_precomp.hpp.gch/opencv_test_stitching_Release.gch: not used because `OPENCV_TRAITS_ENABLE_DEPRECATED' is defined [-Winvalid-pch]
[ %] Linking CXX executable ../../bin/opencv_test_stitching
[ %] Built target opencv_test_stitching
[ %] Linking CXX executable ../../bin/opencv_perf_stitching
[ 98%] Built target opencv_perf_stitching Scanning dependencies of target opencv_cudaoptflow
[ %] Building CXX object modules/cudaoptflow/CMakeFiles/opencv_cudaoptflow.dir/src/farneback.cpp.o
[ %] Building CXX object modules/cudaoptflow/CMakeFiles/opencv_cudaoptflow.dir/src/tvl1flow.cpp.o
[ %] Building CXX object modules/cudaoptflow/CMakeFiles/opencv_cudaoptflow.dir/src/brox.cpp.o
[ %] Building CXX object modules/cudaoptflow/CMakeFiles/opencv_cudaoptflow.dir/src/pyrlk.cpp.o

参考

1.*;