cygwin windows build pkg_config




Hi all ->

  I would like to build programs using cygwin gcc and the latest
precompiled MSVCRT gtk stuff, which I think I can do as long as I use
those 'no cygwin' flags.  But my hello world attempt gets stuck in the
starting gate as pkg-config won't even work:

$ pkg-config --cflags gtk+-2.0
Package gobject-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gobject-2.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'gobject-2.0', required by 'GdkPixbuf', not found

my PKG_CONFIG_PATH looks like:
/usr/X11R6/lib/pkgconfig: \
/cygdrive/c/proj/gtk/gtk+-dev-2.4.13/lib/pkgconfig: \
/cygdrive/c/proj/gtk/atk-dev-1.6.0/lib/pkgconfig: \
/cygdrive/c/proj/gtk/pango-dev-1.4.1/lib/pkgconfig

I believe I have grabbed what I need from Tor's download site, which says:
If you intend to develop and/or build GTK+-using software for Windows,
start by downloading GLib, libiconv gettext-runtime, GTK+, atk and Pango.
Then come back for more if necessary. You won't need stuff that just some
GIMP plug-ins use.

But, when I search, I can find no other .pc files other than those in the
PKG_CONFIG_PATH.  Am I missing a needed library, or doing something else
wrong?

Thanks for any assistance!

-> Pete



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