I tried to send this email previously to gtkmm-list, but then it could not be delivered. Trying again now.

2013-10-24 16:47, Kjell Ahlstedt skrev:
It's quite strange. I can run the book/menus/main_menu example. You obviously have a new enough version of glibmm's header files, or else the compilation would have failed. Is it possible that your library file libgiomm-2.4.so* is older than your header files (such as giomm/actionmap.h)? Improbable, but it's the only explanation I can think of now.

Kjell

2013-10-24 09:52, Glus Xof skrev:
Hi Mr. Kjell,


2013/10/24 Kjell Ahlstedt <kjell.ahlst...@bredband.net <mailto: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

        (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_actionERKN4Glib7ustringERKN4sigc4slotIvNS5_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

Reply via email to