Compiling Libgami Applications

Compiling Libgami Applications — How to compile your Libgami application

Compiling Libgami Applications on UNIX

To compile a Libgami application, you need to tell the compiler where to find the Libgami header files and libraries. This is done with the pkg-config utility.

The following interactive shell session demonstrates how pkg-config is used (the actual output on your system may be different):

$ pkg-config --cflags libgami-1.0
 -I/usr/include/libgami-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
$ pkg-config --libs libgami-1.0
 -L/usr/lib -lgami-1.0 -lgobject-2.0 -lglib-2.0