1 |
On Wed, Aug 03, 2005 at 09:33:28PM -0500, Matt Garman wrote: |
2 |
> I just started working on a glib/gtk application. I have glib-2.6.4 |
3 |
> and gtk-2.6.7 installed (plus glib and gtk versions 1.2.something). |
4 |
> |
5 |
> For some reason, whenever I run 'gtk-config --version' (or the glib |
6 |
> the equivalent), it returns version 1.2.something. |
7 |
> |
8 |
> Likewise, if I use the "--libs" and/or "--cflags" options, I get |
9 |
> information pointing to the 1.2 libraries and headers. |
10 |
> |
11 |
> How do I get the config programs to return the 2.6 headers and |
12 |
> libraries? |
13 |
|
14 |
Sorry, stupid question. gtk-config is specifically for the 1.2 |
15 |
version. pkg-config is for the new version: |
16 |
|
17 |
pkg-config --cflags gtk+-2.0 |
18 |
pkg-config --libs gtk+-2.0 |
19 |
|
20 |
Somebody should have RTFM'ed me: |
21 |
|
22 |
http://gtk.org/tutorial/sec-compiling.html |
23 |
|
24 |
Thanks! |
25 |
Matt |
26 |
|
27 |
-- |
28 |
Matt Garman |
29 |
email at: http://raw-sewage.net/index.php?file=email |
30 |
-- |
31 |
gentoo-user@g.o mailing list |