From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id q1SGCPQN016563 for ; Tue, 28 Feb 2012 17:12:25 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqEBAPX7TE+K57AEmWdsb2JhbABDs2QiAQEBAQEICwsHFCeBdwEBBTIBBUARCxgJFg8JAwIBAgFFEwYCAogEC7gTJI0AEwEHARMLBgQDBAMIBAoNEwEGAwKFCgEJNQYCBwIQBhqDHgSbHY0T X-IronPort-AV: E=Sophos;i="4.73,497,1325458800"; d="scan'208";a="133382569" Received: from ariane.ens-cachan.fr ([138.231.176.4]) by mail4-smtp-sop.national.inria.fr with ESMTP/TLS/ADH-AES256-SHA; 28 Feb 2012 17:12:21 +0100 Received: from localhost (localhost [127.0.0.1]) by ariane.ens-cachan.fr (Postfix) with ESMTP id A2E448A38A for ; Tue, 28 Feb 2012 17:11:18 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at ens-cachan.fr Received: from ariane.ens-cachan.fr ([127.0.0.1]) by localhost (ariane.ens-cachan.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id LGhaEHcTJ1Ls for ; Tue, 28 Feb 2012 17:11:18 +0100 (CET) Received: from olive.lsv.ens-cachan.fr (olive.lsv.ens-cachan.fr [138.231.81.248]) by ariane.ens-cachan.fr (Postfix) with ESMTP id 56A318A378 for ; Tue, 28 Feb 2012 17:11:17 +0100 (CET) Received: from [138.231.81.152] (unknown [138.231.81.152]) by olive.lsv.ens-cachan.fr (Postfix) with ESMTP id ECE384C01A2 for ; Tue, 28 Feb 2012 17:10:58 +0100 (CET) Message-ID: <4F4CFCED.2060204@lsv.ens-cachan.fr> Date: Tue, 28 Feb 2012 17:12:29 +0100 From: Romain Bardou User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111114 Icedove/3.1.16 MIME-Version: 1.0 To: caml-list@inria.fr References: <4F44D4AD.1010906@lsv.ens-cachan.fr> <4F44F4E7.8080105@lsv.ens-cachan.fr> In-Reply-To: <4F44F4E7.8080105@lsv.ens-cachan.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Validation-by: bardou@lsv.ens-cachan.fr Subject: Re: [Caml-list] LablGTK for OCaml 3.12 on Windows Le 22/02/2012 15:00, Romain Bardou a écrit : > Le 22/02/2012 14:56, Adrien a écrit : >> On 22/02/2012, Romain Bardou wrote: >>> Here: >>> http://old.nabble.com/LablGtk-2.14.2-td29736415.html >>> I read that "The windows release will have to wait for a windows version >>> of ocaml 3.12...". >>> >>> Will LablGTK be released now that OCaml 3.12.1 is available on Windows? >>> The README.Win32 file is a little bit scary (quote: "Full compilation >>> with MSVC or mingw (for the brave)"). >> >> Hi Romain, >> >> The compilation of lablgtk2 on windows doesn't have particular issues >> or difficulties but it's still windows. >> >> The "for the brave" part is probably a bit too scary (I guess it's >> quite old and the situation has worse back then). I think you can >> compile it by yourself in a matter of minutes if your environment is >> already set-up (i.e. gcc and ocaml). >> >> Regards, >> Adrien Nader >> > > Thanks for your answer Adrien. I guess I will try compiling myself > eventually! > > Cheers, > Hi list, An update on this: I successfully compiled LablGTK with OCaml 3.12 / MinGW and my application runs (almost) fine. There was one thing which confused me: in LablGTK's README.Win32 file, it says to go at http://gladewin32.sourceforge.net; but these do not work, at least with LablGTK 2.14.2. I tried to tweak some environment variables so that the headers were found, but then it failed to link due to some symbol missing. I guess it's due to the version of GTK there being 2.12? I had to use the "Bundle" from ftp://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.14/, which works fine. Cheers, -- Romain Bardou