Re: gcc can't find includes for gtk



Jeff Shipman <shippy@cs.nmt.edu> writes:

> Anton Steiner wrote:

> > Since I'v updated my gtk, glib and egcs, gcc can't find the
> > includes for gtk+

> Try taking a look at what your 'gtk-config --cflags --libs'
> prints out. Maybe, for some reason, it's not spitting out
> the proper flags and libs.

Yes, right :-((

[toni@localhost source]$ gtk-config --cflags --libs

-I/usr/lib/glib/include -I/usr/X11R6/include
-L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm   

but how can I alter the settings to point to /usr/include/gtk too ? 

Anton




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