Closed YoucanBaby closed 4 weeks ago
/usr/include/crt/host_config.h:138:2: error: #error -- unsupported GNU version! gcc versions later than 8 are not supported!
You use gcc 9.4.0, which is, according to the error message, not supported by this cuda version.
See also https://stackoverflow.com/questions/6622454/cuda-incompatible-with-my-gcc-version for a version compatibility table.
Either update cuda to at least 11 or downgrade gcc to 8.
Warning: this issue has been inactive for 35 days and will be automatically closed on 2024-10-29 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.
/usr/include/crt/host_config.h:138:2: error: #error -- unsupported GNU version! gcc versions later than 8 are not supported!
You use gcc 9.4.0, which is, according to the error message, not supported by this cuda version.
See also https://stackoverflow.com/questions/6622454/cuda-incompatible-with-my-gcc-version for a version compatibility table.
Either update cuda to at least 11 or downgrade gcc to 8.
Thanks a lot for your relpy. I fix this error by update CUDA to 12.4
What Operating System(s) are you seeing this problem on?
Linux (x86-64)
dlib version
19.24.99
Python version
3.10
Compiler
GCC 9.4.0
Expected Behavior
I want to install dlib using CUDA.
When I run the last command, I get the error.
Current Behavior
CUDA was found but your compiler failed to compile a simple CUDA program so dlib isn't going to use CUDA.
Steps to Reproduce
Use the following commands:
Anything else?
No response