Re: cygwin windows build pkg_config



Pete Nagy wrote:

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
looks like you're missing an entry for glib's lib\pkgconfig directory...

   -brian



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