Re: Problem compiling on Windows

2007-11-23 Thread Micah Carrick
Argh. Duh. Cool, thanks. It's all working now. Thanks guys. - Micah Carrick Developer - http://www.micahcarrick.com GTK+ Forums - http://www.gtkforums.com Tor Lillqvist wrote: >> Try gcc -Wall -g `pkg-config --cflags --libs libglade-2.0` -o hello hello.c >> > > Even that is wrong in g

Re: Problem compiling on Windows

2007-11-23 Thread Micah Carrick
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 PROTECTED]> wrot

Re: Problem compiling on Windows

2007-11-23 Thread Tor Lillqvist
> Try gcc -Wall -g `pkg-config --cflags --libs libglade-2.0` -o hello hello.c Even that is wrong in general, and only works on some ELF-based platforms like Linux. To work on most platforms (including mingw), one has to specify the libraries *after* the object (source) files. This is how it has al

Re: Problem compiling on Windows

2007-11-23 Thread Tristan Van Berkom
On Nov 24, 2007 2:09 AM, Micah Carrick <[EMAIL PROTECTED]> 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