GNOME Data Access manual |
---|
To compile you do not need to link with many libraries and configure directories of headers files, only capture the output of pkg-config as follows:
$ gcc -o main `pkg-config --cflags --libs libgda` main.c
Further more, you only need to include one headers file and it is:
#include <libgda/libgda.h>
As in the old version, you need to call gda_init() to initialise the library:
gda_init ("TestGDA", "0.1", argc, argv);
<<< Full example | Configuration and connections >>> |