Gtkmm-PLplot 3.0
A scientific plotting library for Gtkmm
Loading...
Searching...
No Matches
Usage

Include the Gtkmm-PLplot header:

This includes every header installed by Gtkmm-PLplot, so can slow down compilation, but suffices for this simple example. Assuming that your program source file is program.cc, compile it with:

g++ program.cc -o program `pkg-config --cflags --libs gtkmm-plplot-3.0`

Alternatively, if using autoconf, use the following in configure.ac:

PKG_CHECK_MODULES([GTKMMPLPLOT], [gtkmm-plplot-3.0])

Then use the generated GTKMMPLPLOT_CFLAGS and GTKMMPLPLOT_LIBS variables in the project Makefile.am files. For example:

program_CPPFLAGS = $(GTKMMPLPLOT_CFLAGS)
program_LDADD = $(GTKMMPLPLOT_LIBS)