关于在 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注释掉。解决以上问题

 

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