RE: Re: gtk with mingw - compile problem helloworld
[email protected] Tue, 15 Apr 2003 09:54:36 +0100
| Newsgroups | gmane.comp.video.gimp.windows.devel |
|---|---|
| Message-ID | <B1F38D7B53615140BCEA6677DF9F2F8C01111343@i2km11-ukbr.domain1.systemhost.net> |
> Thanks for the reply but I still have the same problem with a batch > file that looks like this... > > set CFLAGS=-lgtk-win32-2.0 -lgdk-win32-2.0 -lgthread-2.0 -lgdi32 - > lole32 -luuid -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 - > lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv > > set LIBS=-Ld:/usr/share/gcc/lib -Id:/usr/share/gcc/include/gtk-2.0 - > Id:/usr/share/gcc/lib/gtk-2.0/include -Id:/usr/share/gcc/include/atk- > 1.0 -Id:/usr/share/gcc/include/pango-1.0 - > Id:/usr/share/gcc/include/glib-2.0 -Id:/usr/share/gcc/lib/glib-2.0 - > Id:/usr/share/gcc/lib/glib-2.0/include > > g++ %1 %2 %3 -mno-cygwin -mms-bitfields %CFLAGS% %LIBS% Can I ask, why are you using a batch file? The simplest way would be to use a makefile surely? Regards, Martyn