Hello.
I suppose you've installed all the needed packages (their names could vary, both gtkmm2 and gtkmm2-devel here on my openSUSE 10.2, and all the related packages from their dependencies -i.e. glibmm2-devel, cairomm-devel, ... and so).
i found that if i put these: `pkg-config glibmm-2.4 --cflags` `pkg-config glibmm-2.4 --libs` for the compiler and linker it should work
I think that you should use gtkmm-2.4 as the reference package with pkg-config:
deschamps@vulcano:~> pkg-config gtkmm-2.4 --cflags
-I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/opt/gnome/include/gtkmm-2.4 -I/opt/gnome/lib/gtkmm-2.4/include -I/opt/gnome/include/glibmm-2.4 -I/opt/gnome/lib/glibmm-2.4/include -I/opt/gnome/include/gdkmm-2.4 -I/opt/gnome/lib/gdkmm-2.4/include -I/opt/gnome/include/pangomm-1.4 -I/opt/gnome/include/atkmm-1.6 -I/opt/gnome/include/gtk-2.0 -I/opt/gnome/include/sigc++-2.0 -I/opt/gnome/lib/sigc++-2.0/include -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -I/opt/gnome/lib/gtk-2.0/include -I/opt/gnome/include/cairomm-1.0 -I/opt/gnome/include/pango-1.0 -I/opt/gnome/include/atk-1.0
deschamps@vulcano:~> pkg-config gtkmm-2.4 --libs
-L/opt/gnome/lib -lgtkmm-2.4 -lgdkmm-2.4 -latkmm-1.6 -lgtk-x11-2.0 -lpangomm-1.4 -lcairomm-1.0 -lglibmm-2.4 -lsigc-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lfreetype -lz -lfontconfig -lexpat -lglitz -lm -lpng12 -lXrender -lX11 -lpthread -lXau -lXdmcp
This way worked fine for me compiling with C::B the minimal sample from gtkmm website.
Regards.
[attachment deleted by admin]