I am trying to include a library file called libmathematica.a in gcc, so it is included in the executable.
I am trying to do this with gcc main.c libmathematica.a -o example
Note. I have to do this with gcc, since ld will not properly link it to the correct system libraries.
But I get: fatal error: mathematica.h: No such file or directory , which is odd because mathematica.h is in the library.
You can help?
c gcc libraries
Corwin mcknight
source share