# Opencv\_world490.lib missing during building opencv using CUDA 12.6 and cudnn

**URL:** <https://forum.opencv.org/t/opencv-world490-lib-missing-during-building-opencv-using-cuda-12-6-and-cudnn/18736>\
**Category:** Uncategorized\
**Tags:** dnn, windows, build, cuda\
**Created:** [September 12, 2024, 12:08pm UTC](https://forum.opencv.org/t/opencv-world490-lib-missing-during-building-opencv-using-cuda-12-6-and-cudnn/18736 "2024-09-12T12:08:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![samblueocean](https://avatars.discourse-cdn.com/v4/letter/s/858c86/32.png) [@samblueocean](https://forum.opencv.org/u/samblueocean)\
**Post date:** [September 12, 2024, 12:08pm UTC](https://forum.opencv.org/t/opencv-world490-lib-missing-during-building-opencv-using-cuda-12-6-and-cudnn/18736/1 "2024-09-12T12:08:54Z")

</div>

Severity Code Description Project File Line Suppression State Details  
Error LNK1181 cannot open input file ‘…\lib\Release\opencv\_world490.lib’ opencv\_perf\_wechat\_qrcode C:\Users\Admin\Code\opevcv\_cuda\opencv\build\modules\world\LINK 1

Getting the above error for most modules which are missing the opencv\_world490.lib

I am installing opencv 4.9.0 using cuda 12.6 and cudnn 9.3.0

---

<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:** [September 12, 2024, 12:53pm UTC](https://forum.opencv.org/t/opencv-world490-lib-missing-during-building-opencv-using-cuda-12-6-and-cudnn/18736/2 "2024-09-12T12:53:56Z")

</div>

I’m assuming you have build errors explaining why **opencv\_world490.lib** hasn’t been built before the link errors?

If so its because CUDA 12.6 was not supported until this PR

> <https://github.com/opencv/opencv_contrib/pull/3785>
>
> Fixes https://github.com/opencv/opencv\_contrib/issues/3773
> 
> \### Pull Request R…eadiness Checklist
> 
> See details at https://github.com/opencv/opencv/wiki/How\_to\_contribute#making-a-good-pull-request
> 
> \- \[x\] I agree to contribute to the project under Apache 2 License.
> \- \[x\] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
> \- \[\] The PR is proposed to the proper branch
> \- \[\] There is a reference to the original bug report and related work
> \- \[\] There is accuracy test, performance test and test data in opencv\_extra repository, if applicable
> Patch to opencv\_extra has the same branch name.
> \- \[\] The feature is well documented and sample code can be built with the project CMake

You need to build OpenCV against the latest commits from the 4.x branch of both the main and contrib repositories or downgrade your version of CUDA
