Hi Mr. Kjell,
2013/10/24 Kjell Ahlstedt <kjell.ahlst...@bredband.net> > Gio::ActionMap::add_action(**const Glib::ustring& name, const > ActivateSlot& slot) > was added in glibmm 2.37.5 and modified in 2.37.6. > Is it possible that you had access to a newer version of glibmm when you > compiled the program, and then an older version when you ran the program? > $ pkg-config --modversion glibmm-2.4 2.38.0 So, yes !... I'm using a newer version of glibmm, but in this case and after the deprecations of Gtk::Action, Gtk::ActionGroup... Which is the preferred method to design menus ? Is there an example code available somewhere ? Glus > > Kjell > > 2013-10-23 19:57, Glus Xof skrev: > > Hi guys, >> >> Taking this example code: >> https://git.gnome.org/browse/**gtkmm-documentation/tree/** >> examples/book/menus/main_menu<https://git.gnome.org/browse/gtkmm-documentation/tree/examples/book/menus/main_menu> >> >> (compiled with Gtkmm-3.10.0 as follows: $ g++ examplewindow.cc main.cc -o >> menu `pkg-config --cflags --libs gtkmm-3.0`) >> >> Is it normal that it breaks with an error message like, >> ./menu: symbol lookup error: ./menu: undefined symbol: >> _ZN3Gio9ActionMap10add_**actionERKN4Glib7ustringERKN4si** >> gc4slotIvNS5_3nilES7_S7_S7_S7_**S7_S7_EE >> >> at runtime ? >> >> Is it something wrong ? >> >> Glus >> >> >
_______________________________________________ gtkmm-list mailing list gtkmm-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtkmm-list