tschoonj / xraylib

A library for X-ray matter interaction cross sections for X-ray fluorescence applications
https://github.com/tschoonj/xraylib/wiki
Other
123 stars 56 forks source link

Compile without using pkg-config on linux for C #52

Closed Nennala closed 7 years ago

Nennala commented 7 years ago

Hi,

I'm trying to compile just with linking the static library "libxrl.a" with the following command line : gcc test.c -L/usr/local/lib/ -lxrl but I always have the same error : test.c:1:21: fatal error: xraylib.h: Aucun fichier ou dossier de ce type

include

                 ^

compilation terminated. There is something more to add at the command line to compile and linking the good .h ?

Thank you and best regards.

Nennala commented 7 years ago

Sorry for the issue, I just have to add with -I option where the headers are... I'm closing the issue.