On Wed, Aug 03, 2005 at 09:33:28PM -0500, Matt Garman wrote:
> I just started working on a glib/gtk application. I have glib-2.6.4
> and gtk-2.6.7 installed (plus glib and gtk versions 1.2.something).
>
> For some reason, whenever I run 'gtk-config --version' (or the glib
> the equivalent), it returns version 1.2.something.
>
> Likewise, if I use the "--libs" and/or "--cflags" options, I get
> information pointing to the 1.2 libraries and headers.
>
> How do I get the config programs to return the 2.6 headers and
> libraries?
Sorry, stupid question. gtk-config is specifically for the 1.2
version. pkg-config is for the new version:
pkg-config --cflags gtk+-2.0
pkg-config --libs gtk+-2.0
Somebody should have RTFM'ed me:
http://gtk.org/tutorial/sec-compiling.html
Thanks!
Matt
--
Matt Garman
email at: http://raw-sewage.net/index.php?file=email
--
[email protected] mailing list