gpu_flow 安装过程出错解决方法
cannot find -lopencv_dep_cudart
cmake -D CUDA_USE_STATIC_CUDA_RUNTIME=OFF
在CmakeLists.txt中添加并不行,源文件中有这个了。
set(CUDA_USE_STATIC_CUDA_RUNTIME OFF)
解决完这个问题又会出现下面的问题
/usr/lib/x86_64-linux-gnu/libopencv_highgui.so.2.4.9: undefined reference toTIFFIsTiled@LIBTIFF_4.0’
这是Anaconda的问题,只要把anaconda下面的libtiff.so移开就可以了
mv /home/user_name/anaconda2/lib/libtiff.so* ~/user_name/bak/
参考
评论
发表评论