Re: Compoilation error



Hi,

Chris Nystrom <ccn olenska hn org> writes:

> It looks like you have more than one version on your
> system. gtk-config is reporting glib-1.2 and yet your find is
> reporting glib-2.2.0.

gtk-config will always report a glib-1.2, never a 2.x version.

> Perhaps you are using the wrong version of gtk-config? Do a "which
> gtk-config" and make sure it corresponds with the one you want to use.
> 
> My guess would be that glib-1.2 is installed in /opt/sfw and glib-2.2 is
> installed in /usr/local, so you would want to use
> /usr/local/bin/gtk-config instead of /opt/sfw/bin/gtk-config.

if you want to compile for glib-2.0 you want to use pkg-config.
See http://developer.gnome.org/doc/API/2.0/gtk/gtk-compiling.html


Salut, Sven



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