# Cuda lib links missing from opencv\_world.lib

**URL:** <https://forum.opencv.org/t/cuda-lib-links-missing-from-opencv-world-lib/20456>\
**Category:** C++\
**Tags:** windows, build, cuda\
**Created:** [March 7, 2025, 10:07am UTC](https://forum.opencv.org/t/cuda-lib-links-missing-from-opencv-world-lib/20456 "2025-03-07T10:07:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mattmass](https://avatars.discourse-cdn.com/v4/letter/m/c77e96/32.png) [@mattmass](https://forum.opencv.org/u/mattmass)\
**Post date:** [March 7, 2025, 10:07am UTC](https://forum.opencv.org/t/cuda-lib-links-missing-from-opencv-world-lib/20456/1 "2025-03-07T10:07:55Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![cudawarped](https://avatars.discourse-cdn.com/v4/letter/c/9dc877/32.png) [@cudawarped](https://forum.opencv.org/u/cudawarped)\
**Post date:** [March 7, 2025, 3:39pm UTC](https://forum.opencv.org/t/cuda-lib-links-missing-from-opencv-world-lib/20456/2 "2025-03-07T15:39:33Z")

</div>

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.
