Re: Eclipse cannot find GTK+ libraries



Rpm of Gtk+2.0 requested too many other packages, so I compiled 
all of them. 

After I have installed "gtk+-devel-1.2.10-33.i386.rpm", pkg-config gtk+ --cflags returned:
-I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include

pkg-config gtk+ -- libs returned nothing, but pkg-config --libs gtk+ returned: 
-L/usr/X11R6/lib -lgtk -lgdk -lXi -lXext -lX11 -lm -lglib


I've also tried Standard Make project, but it could not build the project. I guess there is a problem about the makefile. (I haven't written an makefiles before.)




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