Date: Fri, 25 Apr 2003 14:45:03 +0200 To: Sven Luther , lablgtk at kaba.or.jp Subject: Re: lablgtk on windows ... Message-ID: <20030425124503.GA2284 at iliana> References: <20030425114457.GA1558 at iliana> <20030425113410.GB24262 at alan-schm1p> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030425113410.GB24262 at alan-schm1p> From: Sven Luther On Fri, Apr 25, 2003 at 07:34:10AM -0400, Alan Schmitt wrote: > * Sven Luther (sven.luther at wanadoo.fr) wrote: > > Hello, ... > > > > I am urgently in need for help on how to run lablgtk on windows, i need > > to build a lablgtk app that has to run on a windows computer. I passed > > all morning trying to build glib on cygwin, and failed miserably, i hate > > windows. ocaml built fine, why, o why, can't cygnus also provide > > glib/gtk packages :(((( > > > > So, what is the correct way to building lablgtk on windows ? What > > compiler, ocaml, gtk+ and such are used ? > > > > Any help would be welcome. > > I think the following is easiest: > http://www.taglib.co.kr/ocaml/win32.html > > (summary: > - install cygwin with mingw, compile ocaml Ok; > - get gtk for mingw Hah, and this is the difficult part, where should i get gtk for mingw ? the win32 link from www.gtk.org only has microsoft C packages or whatever, and building from sources fails :((( > - compile lablgtk with it) > > Tell me if it does not work (the trick is replacing a -fnative-struct > with a -mms-bitfields at some point in a Makefile). I did it recently > and it worked like a charm. Nice to know, this was also a problem i encountered. But if i don't get a gtk for mingw, it will not help anyway. Thanks for your help. Friendly, Sven Luther