If I configure CMake without CUDA (uncheck with WITH_CUDA, and uncheck all BUILD_opencv_cudaxxx modules), everything works fine. However, when I include CUDA - I have one issue in CMake, and if I continue to build, I get many errors.
The CMake error is CUDA_NVCUVENC_LIBRARY NOTFOUND - and searching for this issue it appears that NVIDIA no longer offers this library - there seems to be a bug report on this. - Don't know if this causes the problems I am experiencing wih the build.
I get a number of errors - all with a cryptic message
The system was unable to find the specified registry key or value - file CUSTOMBUILD
Please help - building without CUDA support is useless for my needs.