Re: Problem compiling on Windows
- From: Micah Carrick <email micahcarrick com>
- To: gtk-app-devel-list <gtk-app-devel-list gnome org>
- Subject: Re: Problem compiling on Windows
- Date: Fri, 23 Nov 2007 21:04:59 -0800
Shoot, sorry. I meant
gcc -Wall -g `pkg-config --cflags --libs gtk+-2.0 libglade-2.0` -o hello hello.c
- Micah Carrick
Developer - http://www.micahcarrick.com
GTK+ Forums - http://www.gtkforums.com
Tristan Van Berkom wrote:
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]