export GTK_CONFIG="/mingw/bin/pkg-config gtk+-1.3-win32-production"
before you run configure. Also, I've found that pkg-config returns strange version numbers, so configure thinks it has the wrong version of gtk. I configure with --disable-gtktest to turn off the package version check. Finally, you need to use the -mms-bitfields flag if you are using the pre-built windows binaries. I'm not sure if this is necessary for cygwin.
export GTK_CONFIG="/mingw/bin/pkg-config gtk+-1.3-win32-production" CFLAGS="-mms-bitfields" ./configure --disable-gtktest
I'd recommend using msys/mingw rather than cygwin, if you possibly can. msys/mingw will make a binary which can be run on plain windows machines. If you use cygwin, then your users will have to install cygwin too.
There's a gtk-win mailing list which you might find helpful.
http://groups.yahoo.com/group/gimpwin-users/
Michael Torrie wrote:
On Tue, 2003-10-28 at 17:04, U Fleku wrote:
It's not a gtk-2.0 program, the compilation requires me just gtk-config. Luckily gtk was ported to cygwin (there is even two version). Now I only need this file.
See http://www.gimp.org/win32. The complete gtk 1.3 (1.2) and 2.x branches with everything you need to build within mingw32 or cygwin are there.
Michael
'bye.
----- Original Message ----- From: Michael Hill
To: U Fleku
Cc: gtk-list@xxxxxxxxx
Sent: Tuesday, October 28, 2003 10:54 PM
Subject: Re: gtk-config needed
gtk-config only existed for GTK-1.2. If it's a GTK-2.0
program you should be using `pkg-config gtk-2.0 --cflags
--libs`. Gargnome has a prepackaged GTK-2.0 installer that
uses the mingw runtime if you want to give that a try. I
don't believe GTK has been ported straight to Cygwin, though I
could be wrong.
HTH,
Michael
On Tue, 2003-10-28 at 16:32, U Fleku wrote: > Hi all,
> excuse me if I resend the same post, but I really need a
> gtk-config file. Please someone can send me this file? I
> need it for compile a linux program on Cygwin, a linux
> emulator for win32.
> 'Bye
_______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list