Cuda lib links missing from opencv_world.lib

Hi,

I did a cuda build of opencv 4.10 ensuring all versions we compatible.

No issues with the build process. My Visual Studio keeps throwing errors when trying to build my project saying that I am missing links to opencv_cudaarithm.lib, cudaimageproc.lib, cudawarping.lib, etc.

I have two lib files in:
C:\opencv\install\x64\vc17\lib
opencv_world4100.lib
opencv_img_hash4100.lib

As I did a world config (is that a potential issue? Do I need to do a modular install if using modules from opencv_contrib during the build?)

I’ll also add that all the header files are there, just the .lib files are missing. When I go here within my install:
C:\opencv\install\include\opencv2

I see all the cuda.hpp files installed…it’s just the lib files that seem to be missing.

I did a dumpbin of opencv_world4100.lib and didn’t see any references to cuda, but I’m not sure if this was a proper way to trouble shoot.

The only link I have in my Visual Studio is to the opencv_world4100.lib. Pathing all appears to be correct.

Are there additional steps to troubleshoot? Do I need to rebuild without world?

Thanks

There will be an error before that which explains why the libraries failed to build. Its likely because you are using CUDA 12.8 with an older version of OpenCV. I would try using the latest version which should be compatible with CUDA 12.8. If that doesn’t build then report back the error you are getting in the order they are generated.