Date: Thu, 14 Nov 2002 01:43:25 +0100 To: Jacques Garrigue Cc: luther at dpt-info.u-strasbg.fr, lablgtk at kaba.or.jp Subject: Re: lablgtk on windows ??? Message-ID: <20021114004325.GA3455 at iliana> References: <20021113175052.GA757 at iliana> <20021114093541J.garrigue at kurims.kyoto-u.ac.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021114093541J.garrigue at kurims.kyoto-u.ac.jp> From: Sven Luther On Thu, Nov 14, 2002 at 09:35:41AM +0900, Jacques Garrigue wrote: > From: Sven Luther > > > I did try to use lablgtk on windows, but failed miserabily, but then, i > > know almost nothing on windows, well apart from word and the one or > > other game that is. > > On windows? My, my! I didn't expect that of you! Well, i want to see if it works, and maybe run lablgtk apps on windows, hopefully some i did compile on the linux said in non-custom bytecode, but i am not sure if that will work. > > I did install the ocaml 3.06 windows from the prebuilt packages > > (msvc version) and downloaded the gtk+ dll as well as the lablgtk > > and lablgl prebuilt packages. > > > > I did put the ocaml stuff into C:\program files\objective caml. > > > > I did put the gtk+ dlls into C:\program files\objective caml\bin. > > > > I did extract both lablgtk and lablgl into C:\program files\objective caml > > Looks ok. No, it was the space_in_path issue, it worked well, almost. > Just verify that lablgtk.cma is in lib/lablgtk, and dlllablgtk.dll in > lib/stublibs. Yes, they where. > > When i run ocaml 3.06, it works ok. > > > > When i run lablgtk.bat, it complains about not finding a lablgtk.cma. > > > > What is wrong here, does the windows port of ocaml not support the -I > > +lablgtk option, or is the C:\program files\objective caml\lib directory > > not used per default ? > > Which version of windows is it? 98 SE. > Just in case, you can try doing > set PATH=%PATH%;"C:\Program Files\Objective Caml\bin" > set OCAMLLIB=C:\Program Files\Objective Caml\lib Yes, this would be a nice place > The presence of spaces in directories should not be a problem with > ocaml 3.06. And I actually tested lablgtk in such a configuration. Apparently, it still is a problem. > You can also try to load lablgtk.cma from inside the ocaml toplevel, > this should work: on windows there is no lablgtktop, lablgtk.bat is > just calling the standard toplevel and asking it to load lablgtk.cma. Mmm, ok i will try. That may be the reason why i could not run lablgtk.bat outside of his directory ? Also lablgl does not work, but i guess it is because i have no opengl dlls. Friendly, Sven Luther