I am trying to get a C++ program working with Win7, Eclipse, MinGW and gtkmm-2.4. It says there are plenty of undefined references although I think the Eclipse project is configured correctly. I have also read all the threads about this topic but that did not help me yet.
The header files like gtkmm/main.h are included without errors. Still the references to Gtk and Glib classes and functions are not resolved somehow.
its linker error which mean you clearly didny include something, or referenced your class wrong.
you might also try changing #include <gtkmm\main.h> to relative path #include "gtkmm\main.h". Also what is the scope of your class? Is it in namespace? Gtk::Main seems different to Gtk::Main::Main