Build OpenCV with Cuda

If you post the first error you got which caused the libraries not to be built then we will be able to offer more help.

From your configuration at the minimum you need to upgrade to the latest version of OpenCV because you are building it against CUDA 12.8. That said the error’s you are getting could be in addition to that.