Den 2015-07-01 16:42, John Emmas skrev:
On 01/07/2015 14:28, Kjell Ahlstedt
wrote:
Which version do you use? gtkmm 2.24.3? Don't! Use
2.24.2 or 2.24.4. gtkmm 2.24.3 is the mess that Murray
mentions. See https://bugzilla.gnome.org/show_bug.cgi?id=697835,
if you're very interested.
Hi Kjell,
Currently I'm building 2.24.4.
Code for gtkmm 2 must be generated with an old version of
gmmproc (i.e. glibmm) that includes glibmm.h in all generated
header files. Gtkmm 2.24.3 was generated with a newer gmmproc,
which does not include glibmm.h.
Interesting... AFAICT all generated source files (".cc" files)
seem to be #including glibmm.h - but the only header files which
include it are:-
gtk/gtkmm.h
gtk/gtkmm/stockid.h
Needless to say, 'gdkmm/pixbufanimationiter.h' doesn't #include
either of them.
John
Where have you found your gtkmm 2.24.4?
http://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.24/gtkmm-2.24.4.tar.xz
contains about 200 header files with #include <glibmm.h>.
If you generate .h files yourself, by configuring with
--enable-maintainer-mode, you must use an old version of gmmproc
(glibmm), 2.31.0 or earlier.
Kjell
|