Re: Updated to Ubuntu 11.04 and Can't Compile
- From: Craig Bakalian <craigbakalian verizon net>
- To: David NeÄas <yeti physics muni cz>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Updated to Ubuntu 11.04 and Can't Compile
- Date: Sat, 05 Mar 2011 20:18:23 -0500
On Sun, 2011-03-06 at 01:30 +0100, David NeÄas wrote:
So, what does it print then? Are the flags and libraries printed with
--libs those you expect? If they are not what are those you get
Here it is->
pkg-config --cflags gtk+-2.0
-pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0
-I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libdrm
pkg-config --libs gtk+-2.0
-pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0
-lpangocairo-1.0 -lgdk_pixbuf-2.0 -lm -lcairo -lpango-1.0 -lfreetype
-lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0
It all looks okay to me.
instead? What .pc file it uses if you ask for gtk+-2.0? Use --debug.
And if they are what you expect do they define the symbols such as
gtk_main? Running pkg-config is indeed of no avail if the result is
not examined.
Yeti
I am not sure what you mean by .pc file and if I ask for gtk+-2.0.
--
Craig Bakalian <craigbakalian verizon net>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]