Re: Compiling Gtk+ and Cygwin
- From: Roger Leigh <roger whinlatter uklinux net>
- To: Maya <EscalanteCanada netscape net>
- Cc: cygwin cygwin com, jamil elsalvador com, "'gtk-list-request gnome org'" <gtk-list gnome org>
- Subject: Re: Compiling Gtk+ and Cygwin
- Date: Wed, 24 Mar 2004 21:52:34 +0000
Maya <EscalanteCanada netscape net> writes:
> Using the Cygwin setup program, I have installed GTK+; looking for the
> 'gtk.h' file I found one in '/usr/include/gtk-2.0/gtk/gtk.h' and
> another at '/usr/X11R6/include/gtk-2.0/gtk/gtk.h', why is this?
> Most importantly, when I try to compile a program using:
> gcc example.c -Wall -o example `gtk-config --libs --cflags`
> I get a message saying that gtk-config was not found and that there is
> no such a file as 'gtk/gtk.h'!
>
> Can someone tell me how to solve this problem?
Use `pkg-config --cflags --libs gtk+-2.0`.
--
Roger Leigh
Printing on GNU/Linux? http://gimp-print.sourceforge.net/
GPG Public Key: 0x25BFB848. Please sign and encrypt your mail.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]