To use the libgnomedbmm APIs, you must include the header files of the library, and link to their shared libraries. The necessary compiler and linker commands can be obtained from the pkg-config
utiltity like so:
pkg-config libgnomedbmm-3.0 --cflags pkg-config libgnomedbmm-3.0 --libs
However, if you are using the "autotools" (automake, autoconf, etc) build system, you will find it more convenient to use the PKG_CHECK_MODULES
macro in your configure.ac
file.
PKG_CHECK_MODULES(EXAMPLE, libgnomedbmm-3.0) AC_SUBST(EXAMPLE_CFLAGS) AC_SUBST(EXAMPLE_LIBS)
You should then use the generated _CFLAGS and _LIBS definitions in your Makefile.am files.