Re: Native Windows Gtk+ from Cygwin

On Mon, 2005-12-12 at 14:55 +0200, Tor Lillqvist wrote:
Daryl Lee writes:
 > I'm trying to use Cygwin to build a native Windows app using Gtk+.

 > First, the symptoms.  When I run the executable froma DOS prompt, I get
 > an error alert: "This application as failed to start because
 > cygglib-2.0-0.dll was not found."

.... It's easiest if you download the native
Win32 pkg-config from, and install
(unzip) it in the same prefix as where you installed the native Win32
GTK+ etc developer (and run-time, presumably) packages.

Thanks.  After doing that, I had to tinker a bit with the syntax for the
PKG_CONFIG_PATH value.  Once I settled on c:/foo/pkgconfig, instead of
c:\.... or /cygdrive/c/..., it all came together.  pkg-config's --debug
option was a great help there.

One thing I did that I'd be interested in counsel on, if indeed this is
the right place, is that I changed the name of pkg-config to
pkg-config-win, so I could use one or the other, depending on the
context for which an app is intended.  Am I just asking for trouble
doing that?
Daryl Lee
Open the Present--It's a Gift.

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