Re: Compiling woes with gtkimage.h



BTW these kind of questions probably belong on gnome-list and definitely
not on gnome-hackers. 

The problem is the -I{includedir} in Makefile.am. Basically you don't
have a gdk-pixbuf that properly parallel installs. You can fix this by
removing the -I{includedir} and rerunning autogen.sh or better yet by
installing a recent gdk-pixbuf that parallel installs (not sure if there
has been a release for that).

Regards,
Kevin


On Thu, 2002-01-31 at 07:54, Chris Chabot wrote:
> 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?
> 
>     -- Chris Chabot





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