Cuda 10.0 fatal error: dynlink_nvcuvid.h: No such file or directory解决

版权声明:本文为博主原创文章,转载请注明出处:https://blog.csdn.net/qq_31261509 https://blog.csdn.net/qq_31261509/article/details/88567504

https://docs.nvidia.com/cuda/video-decoder/index.html

https://github.com/opencv/opencv_contrib/issues/1786
原因说是nvidia将某些东西改变了,只是使用一下,就只说说解决方法

解决方法

cmake编译的参数将下面变量设置成OFF就可以了。

-DENABLE_PRECOMPILED_HEADERS=OFF

猜你喜欢

转载自blog.csdn.net/qq_31261509/article/details/88567504