I'm trying to build a program (not mine) that uses libglademm. It compiles and links fine, but when I try to run it and it tried to load the Glade file I get these messages: (om_gtk:31937): libglade-WARNING **: could not find a parent that handles internal children for `vbox' (om_gtk:31937): libglade-WARNING **: could not find a parent that handles internal children for `vbox' (om_gtk:31937): libglademm-CRITICAL **: widget `load_patch_name_from_file_radio' not found in glade file `./om_gtk.glade' ** (om_gtk:31937): CRITICAL **: Gnome::Glade::Xml::get_widget(): dynamic_cast<> failed. (om_gtk:31937): libglademm-CRITICAL **: widget `load_patch_name_from_user_radio' not found in glade file `./om_gtk.glade' ** (om_gtk:31937): CRITICAL **: Gnome::Glade::Xml::get_widget(): dynamic_cast<> failed. (om_gtk:31937): libglademm-CRITICAL **: widget `load_patch_name_entry' not found in glade file `./om_gtk.glade' ** (om_gtk:31937): CRITICAL **: Gnome::Glade::Xml::get_widget(): dynamic_cast<> failed. (om_gtk:31937): libglademm-CRITICAL **: widget `load_patch_poly_from_file_radio' not found in glade file `./om_gtk.glade' ** (om_gtk:31937): CRITICAL **: Gnome::Glade::Xml::get_widget(): dynamic_cast<> failed. (om_gtk:31937): libglademm-CRITICAL **: widget `load_patch_poly_from_user_radio' not found in glade file `./om_gtk.glade' ** (om_gtk:31937): CRITICAL **: Gnome::Glade::Xml::get_widget(): dynamic_cast<> failed. (om_gtk:31937): libglademm-CRITICAL **: widget `load_patch_poly_spinbutton' not found in glade file `./om_gtk.glade' ** (om_gtk:31937): CRITICAL **: Gnome::Glade::Xml::get_widget(): dynamic_cast<> failed. (om_gtk:31937): libglademm-CRITICAL **: widget `load_patch_ok_button' not found in glade file `./om_gtk.glade' ** (om_gtk:31937): CRITICAL **: Gnome::Glade::Xml::get_widget(): dynamic_cast<> failed. (om_gtk:31937): libglademm-CRITICAL **: widget `load_patch_cancel_button' not found in glade file `./om_gtk.glade' ** (om_gtk:31937): CRITICAL **: Gnome::Glade::Xml::get_widget(): dynamic_cast<> failed. Segmentation fault (core dumped) All the widgets that are "not found" exist in that Glade file, inside a Table inside a VBox inside a FileChooserDialog which is loaded using Xml::get_widget_derived(). If I comment out this call to get_widget_derived() the program runs fine until it tries to use that widget. I searched google and found a similar problem: http://bugzilla.gnome.org/show_bug.cgi?id=155738 But this is supposed to have been fixed in the latest libglademm. I was using libglademm 2.4.1, so I upgraded to 2.6.0 - but the problem is still there. Does anyone have any idea how to fix this? Other people have built and used this program successfully using libglademm 2.4.1 (although on different distributions - I'm using Mandrake). The program: http://savannah.nongnu.org/projects/om-synth The Glade file: http://savannah.nongnu.org/cgi-bin/viewcvs/*checkout*/om-synth/om-synth/src/clients/gtk/src/om_gtk.glade?rev=HEAD&content-type=text/plain -- Lars Luthman PGP key: http://www.d.kth.se/~d00-llu/pgp_key.php Fingerprint: FCA7 C790 19B9 322D EB7A E1B3 4371 4650 04C7 7E2E
Attachment:
signature.asc
Description: This is a digitally signed message part