Re: Compiling woes with gtkimage.h



Chris Chabot <chabotc reviewboard com> writes:

> With a few of the packages i am trying to get compiled, i keep running
> into an error about 'parse error before GdkPixbufAnimationIter' in
> gtkimage.h. This happens to me with gtkhtml, eog and gnome-core
> (gen_utils).
> 
> A sample error (from gnome-core/applets/gen_util):
> In file included from /usr/include/gtk-2.0/gtk/gtk.h:82,
>                  from main.c:22:
> /usr/include/gtk-2.0/gtk/gtkimage.h:85: parse error before
> `GdkPixbufAnimationIter'
> /usr/include/gtk-2.0/gtk/gtkimage.h:85: warning: no semicolon at end
> of struct or union
> /usr/include/gtk-2.0/gtk/gtkimage.h:87: parse error before `}'
> /usr/include/gtk-2.0/gtk/gtkimage.h:113: field `anim' has incomplete type
> make: *** [main.lo] Error 1
> 
> The errors with libgtkhtml and eog basicly come down to the same thing..
> 
> I checked, and the gtk.h and gtkimage.h i have on my systems come from
> the latest gtk2+ (1.3.13), but the error is the same as the one i has
> when i used previous gtk2+ versions.
> 
> Is there something i am missing here? Anyone else run into this problem?

You need to update your gnome-1 gdk-pixbuf, or if you have updated your 
gnome-1 gdk-pixbuf, you have stale headers in /usr/include/gdk-pixbuf.

The problem here is that the wrong gdk-pixbuf headers are being found.

Regards,
                                        Owen



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