davisking / dlib

A toolkit for making real world machine learning and data analysis applications in C++
http://dlib.net
Boost Software License 1.0
13.57k stars 3.38k forks source link

[Bug]: #2962

Closed 1rdsk1 closed 3 months ago

1rdsk1 commented 5 months ago

What Operating System(s) are you seeing this problem on?

Windows

dlib version

19.24

Python version

No response

Compiler

VS2022

Expected Behavior

The build succeeded, but there was an error when attempting to open the cuDNN library file. Specifically, the error message "LINK : fatal error LNK1104: cannot open file 'cudnn.lib'" indicates that the linker was unable to locate the cuDNN library file during the linking stage of the build process.

Current Behavior

unable to determine what is wrong as all paths and properties appear correctly set

Steps to Reproduce

attempt to create dlib.dll with cuda support has failed

Anything else?

no

1rdsk1 commented 5 months ago

Looking at the dlib.vcx.proj file at lines 68 and 69, the targetname and tearget extension are overriden from those I set in the properties window. I set dlib.dll but this gets overridden by dlibxxxxxxxxx.lib I'm struggling to understand why?

davisking commented 5 months ago

I can't say. It sounds like something is wrong with your cudnn install. I would try installing it again and being sure to follow the instructions nvidia gives for your platform :shrug:

dlib-issue-bot commented 4 months ago

Warning: this issue has been inactive for 35 days and will be automatically closed on 2024-07-22 if there is no further activity.

If you are waiting for a response but haven't received one it's possible your question is somehow inappropriate. E.g. it is off topic, you didn't follow the issue submission instructions, or your question is easily answerable by reading the FAQ, dlib's official compilation instructions, dlib's API documentation, or a Google search.

dlib-issue-bot commented 4 months ago

Warning: this issue has been inactive for 42 days and will be automatically closed on 2024-07-22 if there is no further activity.

If you are waiting for a response but haven't received one it's possible your question is somehow inappropriate. E.g. it is off topic, you didn't follow the issue submission instructions, or your question is easily answerable by reading the FAQ, dlib's official compilation instructions, dlib's API documentation, or a Google search.

dlib-issue-bot commented 3 months ago

Notice: this issue has been closed because it has been inactive for 45 days. You may reopen this issue if it has been closed in error.