Tag Archives: Third party library compilation

Could NOT find CUDNN: Found unsuitable version “..“, but required is at least “6“

Phenomenon: when compiling CUDA version of opencv4.1, cudnn was not found when using cmake configuration, but it was actually installed

Reason: since the cudnn version installed is 8.2, the macro definition (cudnn) of cudnn version was originally recorded_ Major and cudnn_ Minor) moved from cudnn. H to   cudnn_ version.h。

Resolution: not processed

It’s not known if it will affect the compilation, but camke found cudnn. So ((found/usr/local/cuda-11.1/lib64/libcudnn. So)).