Hi,
-- *** Found cuDNN, but we failed to compile the dlib/cmake_utils/test_for_cudnn project.
-- *** You either have an unsupported version of cuDNN or something is wrong with your cudDNN install.
...
It seems that the CUDA support is turned off due to some cuDNN issue.
Could you attach the complete output log from building dlib with us?
Thanks.