# Win10 vs2017+cuda+opencv

**URL:** <https://forum.opencv.org/t/win10-vs2017-cuda-opencv/2191>\
**Category:** Uncategorized\
**Tags:** build, cuda\
**Created:** [March 16, 2021, 2:44am UTC](https://forum.opencv.org/t/win10-vs2017-cuda-opencv/2191 "2021-03-16T02:44:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yuany](https://avatars.discourse-cdn.com/v4/letter/y/13edae/32.png) [@Yuany](https://forum.opencv.org/u/Yuany)\
**Post date:** [March 16, 2021, 2:44am UTC](https://forum.opencv.org/t/win10-vs2017-cuda-opencv/2191/1 "2021-03-16T02:44:55Z")

</div>

When I compiled opencv with cmake, the following problems occurred

Could NOT find CUDNN (missing: CUDNN\_LIBRARY CUDNN\_INCLUDE\_DIR) (Required is at least version “7.5”)

---

<div class="post-metadata">

**Author:** ![laurent.berger](https://avatars.discourse-cdn.com/v4/letter/l/ec9cab/32.png) [@laurent.berger](https://forum.opencv.org/u/laurent.berger)\
**Post date:** [March 16, 2021, 8:00am UTC](https://forum.opencv.org/t/win10-vs2017-cuda-opencv/2191/2 "2021-03-16T08:00:03Z")

</div>

Hi,  
Did you install [cudnn](https://developer.nvidia.com/cudnn)?

---

<div class="post-metadata">

**Author:** ![Yuany](https://avatars.discourse-cdn.com/v4/letter/y/13edae/32.png) [@Yuany](https://forum.opencv.org/u/Yuany)\
**Post date:** [March 16, 2021, 1:13pm UTC](https://forum.opencv.org/t/win10-vs2017-cuda-opencv/2191/3 "2021-03-16T13:13:34Z")

</div>

Yes ,I did. I can configure successfully, but without the following file, am I wrong? Can I download files directly  
The file are **cudaarithm.hpp** , **cudaimgproc.hpp**. **cudafilters.hpp**. **cudafeatures2d.hpp**. **cudaobjdetect.hpp**

---

<div class="post-metadata">

**Author:** ![laurent.berger](https://avatars.discourse-cdn.com/v4/letter/l/ec9cab/32.png) [@laurent.berger](https://forum.opencv.org/u/laurent.berger)\
**Post date:** [March 16, 2021, 1:18pm UTC](https://forum.opencv.org/t/win10-vs2017-cuda-opencv/2191/4 "2021-03-16T13:18:35Z")

</div>

I don’t understand :

> [@Yuany](#):
>
> The file are **cudaarithm.hpp** , **cudaimgproc.hpp**. **cudafilters.hpp**. **cudafeatures2d.hpp**. **cudaobjdetect.hpp**

That’s regular opencv file.  
delete cmakecache.txt and rerun cmake and post full output
