cuDNN found but version can't be deduced

in Openpose change the cmake/cuda.cmake file and the /cmake/modules/FindCuDNN.cmake file.

Find the line that reads:
file(READ ${CUDNN_INCLUDE}/cudnn.h CUDNN_VERSION_FILE_CONTENTS)
change to:
file(READ ${CUDNN_INCLUDE}/cudnn_version.h CUDNN_VERSION_FILE_CONTENTS)

17 Likes