[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
2.2 Linking with libgimpprint
To link a program with libgimpprint, then ‘-lgimpprint’ needs to be passed to the compiler when linking. For example, to compile and link ‘prog.c’ the following commands would be used:
gcc -c prog.c gcc -o prog -lgimpprint prog.o |
The compiler and linker flags needed may vary depending on the options
GIMP-Print was configured with when it was built. The
gimpprint-config
script will give the correct parameters for
the local installation (see section gimpprint-config
).