New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot open source file "dynlink_nvcuvid.h" opencv_cudacodec #9544
Comments
Also getting this error, same setup. |
I also ran into the same problem |
Thanks @whizzzkid , the solution proposed by #9599 worked! |
@lucaspbordignon this is because cuda8 provides I am still working on the solution for this. Another workaround is to use |
Incorrect Naming (opencv#9599) * Resolved opencv#9544 * This is a better fix * This should be good.
Despite the merge, the issue persists with CUDA 10.
|
I have the same issue with CUDA 10. Edit: I checked usr/local/cuda-10.0/include and there are no such files as dynlink_nvcuvid.h or nvcuvid.h! |
Same problem with CUDA 10 precomp.hpp:60:18: fatal error: dynlink_nvcuvid.h: No such file or directory |
NVCUVID is deprecated: https://docs.nvidia.com/cuda/video-decoder/index.html A possible (and verified) hack is to download new NVDecode SDK: https://developer.nvidia.com/designworks/video_codec_sdk/downloads/v8.2-ga2 Which provides in Changes to the header inclusion based on CUDA version need to be reverted accordingly, of course. I would suggest moving these two header files to opencv directly as they only specify the interface to the decoder. |
@petrpulc Solved thanks |
This workaround uses CUDA 8 definitions on CUDA 10 for a deprecated API. What is the "longer" term permanent fix? In other words, It's unclear to me if the older nvcuvid.h from Cuda 8 and the one in Cuda 10 / NVDecode SDK are compatible? I don't have Cuda 8 headers to compare. |
System information (version)
Detailed description
i meet two bugs:
1.first enable preformance test cause error same as #6716
2.cannot open source file "dynlink_nvcuvid.h"
cmake configure output
General configuration for OpenCV 3.3.0-dev
Extra modules:
Location (extra): opencv_contrib-master/modules
The text was updated successfully, but these errors were encountered: