Centos7.3 安裝 OpenCV3.3.0


 

一開始會出現這個錯誤:

 1 CMake Error at CMakeLists.txt:11 (message):
 2   
 3  
 4   FATAL: In-source builds are not allowed.
 5  
 6          You should create separate directory for build files.
 7  
 8  
 9  
10 -- Configuring incomplete, errors occurred!

 


 原因是:則應該是在代碼根目錄下直接執行過 cmake,導致根目錄下生成了 CMakeCache.txt,需要刪除 CMakeCache.txt再次執行編譯即可。

 

cmake 的時候會下載       IPPICV: Download: ippicv_2017u2_lnx_intel64_20170418.tgz     ,速度有點慢。。。。

 

 官方安裝網址:https://docs.opencv.org/2.4/doc/tutorials/introduction/linux_install/linux_install.html#linux-installation

 

已成功安裝。。。。。好海森。。。。

 


免責聲明!

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



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