Re: Problem compiling on Windows



On Nov 24, 2007 2:09 AM, Micah Carrick <email micahcarrick com> wrote:
I'm trying to learn how to build GTK+ applications on Windows XP. I have
installed GTK+ and dependencies from binaries as linked to from
http://www.gimp.org/~tml/gimp/win32/ and finally everything seems okay.
However, when I try to build a little libglade hello world application,
I get this:

gcc -Wall -g `pkg-config --cflags --libs` -o hello hello.c


I  dont know about windows setups but I'm sure that `pkg-config --cflags --libs`
wont output anything if you dont specify a package.

Try gcc -Wall -g `pkg-config --cflags --libs libglade-2.0` -o hello hello.c

Cheers,
               -Tristan



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