On Sun, Oct 06, 2002 at 10:45:26AM +0300, Ville V Sinkko wrote:
> Is it just my imagination or newbie ignorance, or are things with debian
> header packages seriously messed up? GTK headers are installed by apt-get
> in /usr/include/gtk-1.2/gtk, which renders eg. GTK-- headers completely
> non-functional because they look for GTK headers in /usr/include/gtk/.

You should be using gtk-config to get the appropriate compiler and
linker flags.

  [cjwatson@arborlon ~]$ gtk-config --cflags
  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include 
-I/usr/X11R6/include
  [cjwatson@arborlon ~]$ gtk-config --libs
 -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext 
-lX11 -lm

Cheers,

-- 
Colin Watson                                  [[EMAIL PROTECTED]]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to