-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to compile dlib due to some file encoding issue? #2953
Comments
I can't say, other than it looks like something in your visual studio or cuda install is broken (i.e. something unrelated to dlib). |
I downgraded CUDA from 11.3 to 11.2, CUDA is working because Tensorflow is using my GPU and also upgraded VS2019 but the problem still exists. I wonder if I can use VS2019 to compile dlib? Because I can't download VS2015 anymore and I plan to re-install VS2019 if it can be used to compile dlib |
Yeah VS2019 is fine. As are newer versions of visual studio. |
Got it, will try again soon and I will keep things updated in here. |
What Operating System(s) are you seeing this problem on?
Windows
dlib version
19.24
Python version
3.9.13
Compiler
GCC 11.3.0, MSVC 14
Expected Behavior
Since CUDA and cuDNN was found, I expect to install dlib with CUDA support
Current Behavior
When I run
cmake ..
inbuild
directory, it says "CUDA was found but your compiler failed to compile a simple CUDA program so dlib isn't going to use CUDA." and CUDA is not going to be used in dlib. The error message seems to be related to some file encoding issue? The whole output is very long so I uploaded it as a gist raw fileSteps to Reproduce
^ The error occurs during in
cmake ..
Anything else?
I also tried to build
test_for_cuda
andtest_for_cudnn
(As mentioned in another issue),test_for_cudnn
has no error buttest_for_cuda
has error incmake --build .
, the output is also very long so I also uploaded it as a gist raw fileTried to Google this and search it in here but by far couldn't find anything related to this... Please help
The text was updated successfully, but these errors were encountered: