Skip to content
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

[Bug]: /usr/include/c++/11/cmath:45:15: fatal error: math.h: No such file or directory #2955

Closed
Harshu2032000 opened this issue May 1, 2024 · 1 comment

Comments

@Harshu2032000
Copy link

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

Linux (x86-64)

dlib version

19.24

Python version

No response

Compiler

gcc 11.4, nvcc 12.4, ubuntu 22.04

Expected Behavior

No response

Current Behavior

Dlib installation being terminated. Giving error as /usr/include/c++/11/cmath:45:15: fatal error: math.h: No such file or directory
*** 45 | #include_next <math.h>
*** | ^~~~~~~~
*** compilation terminated.
Screenshot from 2024-05-01 11-24-39

Steps to Reproduce

download and extract dlib.
go to examples directory.
create a build folder
inside build folder run command cmake ..

Anything else?

No response

@Harshu2032000
Copy link
Author

This issue was because of multiple cuda installations. After fresh installation of Ubuntu and cuda the issue was resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant