Open TeddybearCrisis opened 4 years ago
Explicitely providing the flag -D CUDNN_VERSION='8.0'
resolved the issue. Via https://github.com/mdegans/nano_build_opencv
Maybe modify the shell script with a little switch statement selecting the explicit verison depending on the JetPack version?
Did you solve this issue? I am working on building OpenCV 4.3.0 using JetPack4.4 on Xavier Agx and meet the same problem.
Well it is solved as described in my previous comment. Yet I wouldn't call this a proper solution but a workaround. I'd say it's up to the maintainer to provide a fix or classify my comment as solution.
@TeddybearCrisis Thank you! I use this method and my OpenCV 4.4.0 manages to find cuDNN!
Describe the issue OpenCV 4.1.1 cmake doesn't find cuDNN when using JetPack 4.4
System
To Reproduce
./buildOpenCV.sh |& tee openCV_build.log
In the cmake config you can see that cuDNN -> NO is diplayed and OpenCV is built without itExpected 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.