關於在 Ubuntu 16.04 安裝Opencv3.2 環境 Anaconda cuda9.0

cmake opencv3.2 遇到:

CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: CUDA_nppi_LIBRARY (ADVANCED) 問題。

參考:

https://blog.csdn.net/u014613745/article/details/78310916解決

make時遇到Unsupported gpu architecture 'compute_20' opencv錯誤:

參考這篇文章 :https://blog.csdn.net/renhanchi/article/details/80493232 解決

重新cmake:

cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D CUDA_GENERATION=Kepler ..

 

沒有註銷 Anaconda時提示: 

libtiff.so.5  recipe for target 'bin/opencv_annotation' failed ld returned 1 exit status

參看:https://www.machunjie.com/deeplearning/264.html 解決後又遇到下面問題:

/anaconda2/lib/libcurl.so.4: no version information available 等錯誤。

後來讀到這篇解釋https://blog.csdn.net/billbliss/article/details/73498307 並locate libcurl.so.4 感覺是與Anaconda庫衝突,於是將Anaconda註釋掉。解決以上問題

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章