Date: Tue, 29 Apr 2003 08:50:08 +0200 To: Benjamin Monate Cc: Sven Luther , lablgtk Subject: Re: lablgtk on windows ... Message-ID: <20030429065008.GA2475 at iliana> References: <20030425114457.GA1558 at iliana> <3EA91DD1.8010709 at lix.polytechnique.fr> <20030425130710.GA2677 at iliana> <3EA93F07.3060504 at lix.polytechnique.fr> <20030425163012.GA1189 at iliana> <3EAA4271.3080006 at lix.polytechnique.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3EAA4271.3080006 at lix.polytechnique.fr> From: Sven Luther On Sat, Apr 26, 2003 at 10:25:21AM +0200, Benjamin Monate wrote: > What is the output of : > > pkg-config --libs --cflags gtk+-2.0 I wrote to the gimp-win32-devel list, and found the problem, i feel stupid now, as ever i think. You need to do : gcc -mno-cygwin -mms-bitfields `pkg-config --cflags gtk+-2.0` -o hello-gtk hello-gtk.c `pkg-config --libs gtk+-2.0` The libs have to be after the .c file using them, how could i have missed that, to long ago that i did some independent C programming perhaps. Anyway, it still does not work, because the resulting executable makes a window popup saying that it doesn't find the glib-2.0 dll. Will keep you informed on my progress on this. Friendly, Sven Luther