Re: Eclipse cannot find GTK+ libraries



Hi,

You must install Gtk+ 2.0 not Gtk+ 1.2. Take a look at
http://www.gtk.org/ for more information about Gtk+ 2.0 and its
dependencies.

If you want to use Gtk+ 1.2 you need to change your Makefile adding
your Gtk+ 1.2 flags.

BR,

Afonso

On 6/11/05, polat ee bilkent edu tr <polat ee bilkent edu tr> wrote:
> 
> 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.)
> 
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
>



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