Re: [gtkmm] Error in compliing gtkmm program using GCC 3.4.2



Murray Cumming wrote:

Hi all,

I got some troubles in compiling my gtkmm programs
with gcc 3.4.2. For example, the error messages I got
when compiled regexxer-0.7 are attached.
I am using glibmm-2.4.4, gtkmm-2.4.5 and
g++ (GCC) 3.4.2  (Gentoo Linux 3.4.2-r2, ssp-3.4.1-1,
pie-8.7.6.5).
[snip]
filebuffer.cc:653:   instantiated from here
/usr/include/gtkmm-2.0/glibmm/containerhandle_shared.h:205:
error: cannot convert `GtkTextMark*' to `GObject*' for
argument `1' to `Glib::RefPtr<Glib::Object>
Glib::wrap(GObject*, bool)'

Maybe some extra casts in the template in glibmm would help. Could you try
that?


Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list

The error is due he is looking for gtkmm-2.0 but you have gtkmm-2.4.x installed so you have to change in your projectdir in all the 'configure*' files 'gtkmm-2.0' into 'gtkmm-2.4'. If your using anjuta ide its the fault of anjuta's templates. But I can't find where I can change those templates.

Grts Bart



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