DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:x-accept-language:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=DqWe8Ip4Xw8Gwd8HA8dw8zPU2pPvEYE0TBgvVCIiNLU0hnBszFiJwfTA1Sl/goUE6S+c4/fQ6TTniJnlnBaMJ/A7irIqC56sgNGbtdFPkZ4f/8sc0qIoYOcI6yl+lTfTYvO9I9Y9IBLRMG0r1/36meaXQ8wx35URLDv6kmUosvA= Message-ID: <4360925A.4060500 at inria.fr> Date: Thu, 27 Oct 2005 10:39:54 +0200 From: Julien Narboux MIME-Version: 1.0 To: Jacques Garrigue CC: lablgtk at math.nagoya-u.ac.jp Subject: Re: new pre-release of lablgtk2 and lablGL (including win32) References: <20051027.102024.51705582.garrigue at math.nagoya-u.ac.jp> In-Reply-To: <20051027.102024.51705582.garrigue at math.nagoya-u.ac.jp> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: Julien Narboux Jacques Garrigue wrote: >I have uploaded pre-releases of lablgtk-2.6.0 and lablgl-1.02 >at the usual places: > > http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgtk.html > http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgl.html > >The true release will be after ocaml 3.09, but if some people are >ready to try them, particularly the windows binaries, which have a new >"late-compilation" scheme, I'll be happy to have some feedback. > >--------------------------------------------------------------------------- >Jacques Garrigue Nagoya University garrigue at math.nagoya-u.ac.jp > JG > > I just tried lablgtk 2.6.0 under linux. It compiled from source perfectly and works fine with drgeocaml. But under Windows Xp, I downloaded ocaml mingw 3.08.3. I put the labgtk2 files in the OjectiveCaml sub-directories as explained in the readme. I put the bin directory of gtk 2.6 in the path. I edited build.ml to put cc instead of msvc. Here is what i get : C:\Program Files\Objective Caml\lib\lablgtk2>ocaml build.ml ocamlc.opt -thread -w s -c gaux.ml ocamlc.opt -thread -w s -c gpointer.mli ocamlc.opt -thread -w s -c gpointer.ml ocamlc.opt -thread -w s -c glib.mli ... ocamlc.opt -thread -w s -c gtkInit.ml ocamlc.opt -thread -w s -c gtkThread.mli ocamlc.opt -thread -w s -c gtkThread.ml ocamlc.opt -thread -w s -c gtkThInit.ml ocamlc.opt -thread -w s -a -o lablgtk.cma -cclib -llablgtk2 -dllib -llablgtk2 -c clib "-lgtk-win32-2.0.dll -lgdk_pixbuf-2.0.dll -lgdk-win32-2.0.dll -lpango-1.0.d ll -latk-1.0.dll -lglib-2.0.dll -lgobject-2.0.dll" gaux.cmo gpointer.cmo glib.cm o gobject.cmo gdkEnums.cmo pangoEnums.cmo gtkEnums.cmo pango.cmo gdk.cmo gdkEven t.cmo gdkKeysyms.cmo gdkPixbuf.cmo gtk.cmo gtkSignal.cmo gtkStock.cmo gtkObject. cmo gtkBaseProps.cmo gtkBinProps.cmo gtkButtonProps.cmo gtkEditProps.cmo gtkList Props.cmo gtkMenuProps.cmo gtkMiscProps.cmo gtkPackProps.cmo gtkRangeProps.cmo g tkTextProps.cmo gtkTreeProps.cmo gtkFileProps.cmo gtkActionProps.cmo gtkBrokenPr ops.cmo gtkData.cmo gtkBase.cmo gtkPack.cmo gtkButton.cmo gtkMenu.cmo gtkMisc.cm o gtkWindow.cmo gtkList.cmo gtkBin.cmo gtkEdit.cmo gtkRange.cmo gtkText.cmo gtkT ree.cmo gtkFile.cmo gtkMain.cmo gtkBroken.cmo gPango.cmo gDraw.cmo gObj.cmo gDat a.cmo gMain.cmo ogtkBaseProps.cmo ogtkBinProps.cmo ogtkButtonProps.cmo ogtkEditP rops.cmo ogtkListProps.cmo ogtkMenuProps.cmo ogtkMiscProps.cmo ogtkPackProps.cmo ogtkRangeProps.cmo ogtkTextProps.cmo ogtkTreeProps.cmo ogtkFileProps.cmo ogtkAc tionProps.cmo ogtkBrokenProps.cmo gContainer.cmo gPack.cmo gButton.cmo gText.cmo gMenu.cmo gMisc.cmo gTree.cmo gList.cmo gFile.cmo gWindow.cmo gBin.cmo gEdit.cm o gRange.cmo gAction.cmo gBroken.cmo gUtil.cmo gToolbox.cmo ocamlopt.opt -thread -w s -c gaux.ml 'as' n'est pas reconnu en tant que commande interne ou externe, un programme exécutable ou un fichier de commandes. Assembler error, input left in file C:\DOCUME~1\Narboux\LOCALS~1\Temp\camlasmadb ae4.s Native build failed: error 2 You can still use the bytecode version Now ready to use on an OCaml Mingw port C:\Program Files\Objective Caml\lib\lablgtk2>path PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Ob jective Caml\bin;C:\Program Files\gtk2.6;C:\Program Files\gtk2.6\bin Cheers Julien Narboux