Re: Creating a project from scratch



Stef:

On Tue, 2003-01-21 at 05:35, Stephane Wirtel wrote:
In your project, have you define the PATH for gtk+-2.X ?
by example :

pkg-config --flags --libs gtk+-2.0

bye

stef


When I run autogen.sh, I do see the following:

.
.
.
checking if malloc debugging is wanted... no
checking for gtk+-2.0 >= 2.0.0... yes
checking GTK_CFLAGS...  -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/include/Xft2 -I/usr/include/freetype2
-I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include

checking GTK_LIBS...  -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
-lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0
-lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
checking for pthread_create in -lpthread... yes
.
.
.

So it seems that autogen.sh is aware of the existence of gtk2, but I
can't figure out how to get GTK_CFLAGS and GTK_LIBS into the gcc calls.

Neil






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