libglademm errors with some versions of g++



On Wed, 2005-02-23 at 02:00 -0800, Eugenia Loli-Queru wrote:
> Anyways, here is the problem: I am trying to install this app: 
> http://www.gnomefiles.org/app.php?soft_id=460
> and since last year, no matter what version of it I use, it would always 
> give me some libglademm errors (sorry, I don't have these handy either --  
> let me know if you need them, I can boot up the other laptop with Linux). I 
> emailed the author, and she has no idea why this happens. It works on her 
> Fedora & ASP Linux, but it doesn't on my Arch Linux or my Fedora). Could you 
> give it a try with the latest 2.4.x version?

Without details, I guess that you are experiencing this problem:

/usr/include/libglademm-2.4/libglademm/xml.h: In member function
`T_Widget* Gnome::Glade::Xml::get_widget_derived(const Glib::ustring&,
T_Widget*&) [with T_Widget = PrefDialog]':
mainwindow.cpp:323:   instantiated from here
/usr/include/libglademm-2.4/libglademm/xml.h:248: error: no matching
function for call to `wrap(GtkWindow*&)'
/usr/include/glibmm-2.4/glibmm/wrap.h:55: note: candidates are:
Glib::RefPtr<Glib::Object> Glib::wrap(GObject*, bool)
/usr/include/glibmm-2.4/glibmm/main.h:438: note:
Glib::RefPtr<Glib::MainContext> Glib::wrap(GMainContext*, bool)
/usr/include/glibmm-2.4/glibmm/main.h:496: note:
Glib::RefPtr<Glib::MainLoop> Glib::wrap(GMainLoop*, bool)
(etc)

I believe that this was fixed in cvs here:
http://bugzilla.gnome.org/show_bug.cgi?id=151872

But that is not yet in a libglademm 2.4.* release, though it's in
unstable libglademm 2.5.x releases.

I'll make a 2.4.2 release today. Please ask your distributor to
distribute it. 

-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]