【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

[ 98%] Building CXX object modules/stitching/CMakeFiles/opencv_test_stitching.dir/test/test_main.cpp.o
cc1plus: warning: /opt/opencv-3.3.1/build/modules/stitching/test_precomp.hpp.gch/opencv_test_stitching_Release.gch: not used because `OPENCV_TRAITS_ENABLE_DEPRECATED' is defined [-Winvalid-pch]
[ 98%] Linking CXX executable ../../bin/opencv_test_stitching
[ 98%] Built target opencv_test_stitching
[ 98%] Linking CXX executable ../../bin/opencv_perf_stitching
[ 98%] Built target opencv_perf_stitching


Scanning dependencies of target opencv_cudaoptflow
[ 98%] Building CXX object modules/cudaoptflow/CMakeFiles/opencv_cudaoptflow.dir/src/farneback.cpp.o
[ 98%] Building CXX object modules/cudaoptflow/CMakeFiles/opencv_cudaoptflow.dir/src/tvl1flow.cpp.o
[ 98%] Building CXX object modules/cudaoptflow/CMakeFiles/opencv_cudaoptflow.dir/src/brox.cpp.o
[ 98%] Building CXX object modules/cudaoptflow/CMakeFiles/opencv_cudaoptflow.dir/src/pyrlk.cpp.o

參考

1.stackoverflow;


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM