dlib icon indicating copy to clipboard operation
dlib copied to clipboard

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

Open Harshu2032000 opened this issue 1 year ago • 0 comments

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 avatar May 01 '24 06:05 Harshu2032000