GNOME Data Access manual | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
To compile you will need to set the C flags and to link the library, so we recommend to use the pkg-config command.
$ gcc -o main `pkg-config --cflags --libs libgda` main.c
|
Doing this will add to the C compiler command line all needed header files and library directories as well as all needed libraries for linking your GDA application. To include header files, you can just use libgda/libgda.h, which will include all GDA header files.