I'm trying to build OpenCV with opencv-contrib modules as extra modules using CMake-gui in order to get Cuda DNN to work with my GPU, but I got this error :
CMake Error at modules/videoio/cmake/detect_ffmpeg.cmake:16 (include): include could not find load file: C:/opencv_4/build/3rdparty/ffmpeg/ffmpeg_version.cmake
How can I fix this error?
- OpenCV: 4.4.0 ( installed from source )
- Cuda: 10.0
- Cudnn:7.5
- python 3.6
3rdparty
components get downloads properly? I.e. Is thisC:/opencv_4/build/3rdparty/ffmpeg/ffmpeg_version.cmake
a valid path on your machine? – squareskittles