Re: how to tell compiler to look for GTK library

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

 



On Sun, 2003-08-24 at 21:30, Valdis.Kletnieks@xxxxxx wrote:
> On Sun, 24 Aug 2003 21:16:36 PDT, Jeff Trefftzs <trefftzs@xxxxxxxx>  said:

<snip>
> > 
> > A quick check on my system (RH9) shows the directory as
> > 
> > /usr/include/gtk-1.2  (note the dash between gtk and 1.2).
> > 
> > Check man ldconfig to see if /usr/include is in our load path (I don't
> > see how it couldn't, but ...), and maybe add /usr/include/gtk-1.2 to the
> > /etc/ld.so.conf file as well.  Or, try addint /usr/include/gtk-1.2 to
> > your LD_LIBRARY_PATH environment variable.
> 
> /usr/include doesn't have anything to do with ldconfig.  
> 
Of course.  You're right.  (Not enough coffee).

> Getting a -I/usr/include/gtk-1.2 into gcc would be more productive,
> either by modifying the CFLAGS or CPPFLAGS environment variables:
> 
> export CPPFLAGS=`gtk-config --cflags`      (note those *back*ticks)
> 
> (or similar magic inside a Makefile).
-- 

--Jeff

Jeff Trefftzs <trefftzs@xxxxxxxx>
http://www.tcsn.net/trefftzs			Home Page
http://gug.sunsite.dk/gallery.php?artist=68	Gimp Gallery
http://trefftzs.topcities.com/			Photo Gallery 

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux