当前位置:   article > 正文

Could NOT find CUDNN (missing: CUDNN_LIBRARY CUDNN_INCLUDE_DIR) (Required is at least version “7.5“)_dnn: cuda backend requires cudnn. please resolve d

dnn: cuda backend requires cudnn. please resolve dependency or disable openc

windows11   Cmake  cuda12

Cmake编译 OPENCV_DNN_CUDA 报错:

CMake Error at modules/dnn/CMakeLists.txt:39 (message):
DNN: CUDA backend requires cuDNN. Please resolve dependency or disable
OPENCV_DNN_CUDA=OFF
Call Stack (most recent call first):
modules/world/CMakeLists.txt:13 (include)
modules/world/CMakeLists.txt:32 (include_one_module)
 

解决方法:

search:cudnn

添加cudnn.lib

 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/知新_RL/article/detail/161549
推荐阅读
相关标签
  

闽ICP备14008679号