Cantera Version 3.0.0
When I tried to run the example of C++ program get error in math.h
g++ main/main.cpp -o myProgram -std=c++17 $(pkg-config --cflags --libs cantera)
I get the error:
In file included from /usr/include/cantera/base/ct_defs.h:19,
from /usr/include/cantera/base/ctexceptions.h:14,
from /usr/include/cantera/base/Solution.h:9,
from /usr/include/cantera/core.h:12,
from main/main.cpp:1:
/usr/include/c++/14.2.1/cmath:47:15: fatal error: math.h: No such file or directory
47 | #include_next <math.h>
| ^~~~~~~~
compilation terminated.
The math.h is installed and seems works fine in another projects.