Re: Errors in compiling GTK 2.14.4 with DirectFB target



Yes (for a geany v1.22 install on the network), I tried to compile a newer
GTK for RHEL5.5 (Centos 5.5) and this error is because of a conflict with
the already installed but older GTK.  I had PATH, LD_LIBRARY_PATH, and
PKG_CONFIG_PATH set but that didn't help get over the below error.

I had to go hand edit gdk-pixbuf/gdk-pixbuf-enum-types.h and replace
"@ENUMPREFIX@" with "GDK".  Then the compile got past this step!

- Mark


Harinandan S wrote:
> 
> Hi All,
> 
> When I try to compile GTK 2.14.4 with DirectFB target I get the following
> errors. I use DirectFB 1.1.1.
> 
> In file included from gdk-pixbuf.h:41,
>                  from gdk-pixbuf.c:31:
> ../gdk-pixbuf/gdk-pixbuf-enum-types.h:17:9: macro names must be
> identifiers
> ../gdk-pixbuf/gdk-pixbuf-enum-types.h:19:9: macro names must be
> identifiers
> ../gdk-pixbuf/gdk-pixbuf-enum-types.h:21:9: macro names must be
> identifiers
> ../gdk-pixbuf/gdk-pixbuf-enum-types.h:25:9: macro names must be
> identifiers
> ../gdk-pixbuf/gdk-pixbuf-enum-types.h:27:9: macro names must be
> identifiers
> gdk-pixbuf.c: In function `gdk_pixbuf_class_init':
> gdk-pixbuf.c:101: error: `GDK_TYPE_COLORSPACE' undeclared (first use in
> this
> function)
> gdk-pixbuf.c:101: error: (Each undeclared identifier is reported only once
> gdk-pixbuf.c:101: error: for each function it appears in.)
> 
> Has anyone encountered this and solved this problem?
> 
> 
> 
> Regards,
> Harinandan S
> 
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
> 
> 
-- 
View this message in context: http://old.nabble.com/Errors-in-compiling-GTK-2.14.4-with-DirectFB-target-tp20616283p34551199.html
Sent from the Gtk+ - General mailing list archive at Nabble.com.



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