Describe the issue
OpenCV 4.1.1 cmake doesn't find cuDNN when using JetPack 4.4
System
- Jetson Nano
- cmake 3.16.3
- L4T 32.4.3 [ JetPack 4.4 ]
- Ubuntu 18.04.5 LTS
- Kernel Version: 4.9.140-tegra
- CUDA 10.2.89
- OpenCV version: 4.1.1
- CUDNN: 8.0.0.180
- TensorRT: 7.1.3.0
- Vision Works: 1.6.0.501
- VPI: 0.3.7
To Reproduce
- Download and install the Jetson Nano SD Card image
https://developer.nvidia.com/jetson-nano-sd-card-image
JP 4.4 from 2020/07/07
- optional: install cmake 3.16.3
- Checkout this repo and run:
./buildOpenCV.sh |& tee openCV_build.log
In the cmake config you can see that cuDNN -> NO is diplayed and OpenCV is built without it
Expected behavior
cuDNN -> YES is detected by cmake and OpenCV is built with cuDNN
Additional context
I was using a newer version of cmake as my build pipline requires this. So there's no issue related reason for the updated cmake version. This is likely not the cause for the error.
Describe the issue
OpenCV 4.1.1 cmake doesn't find cuDNN when using JetPack 4.4
System
To Reproduce
https://developer.nvidia.com/jetson-nano-sd-card-image
JP 4.4 from 2020/07/07
./buildOpenCV.sh |& tee openCV_build.logIn the cmake config you can see that cuDNN -> NO is diplayed and OpenCV is built without it
Expected behavior
cuDNN -> YES is detected by cmake and OpenCV is built with cuDNN
Additional context
I was using a newer version of cmake as my build pipline requires this. So there's no issue related reason for the updated cmake version. This is likely not the cause for the error.