> 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 always been in Unix. Try:

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

I would also make sure it uses "-o hello.exe" explicitly, just to
avoid possible confusion. If you use autofoo and libtool, this should
happen automatically.

--tml
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to