From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id BAA30000; Sun, 2 Sep 2001 01:41:13 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id BAA29894 for ; Sun, 2 Sep 2001 01:41:12 +0200 (MET DST) Received: from nef.ens.fr (nef.ens.fr [129.199.96.32]) by nez-perce.inria.fr (8.11.1/8.10.0) with ESMTP id f81NfC512071 for ; Sun, 2 Sep 2001 01:41:12 +0200 (MET DST) Received: from clipper.ens.fr (clipper-gw.ens.fr [129.199.1.22]) by nef.ens.fr (8.10.1/1.01.28121999) with ESMTP id f81NfBm92395 for ; Sun, 2 Sep 2001 01:41:11 +0200 (CEST) Received: from aimlin.ens.fr (root@clipper [129.199.129.1]) by clipper.ens.fr (8.9.2/jb-1.1) id BAA06474 for ; Sun, 2 Sep 2001 01:41:10 +0200 (MET DST) Received: by aimlin.ens.fr (Postfix, from userid 501) id 93074380BA; Sun, 2 Sep 2001 01:01:39 +0200 (CEST) Date: Sun, 2 Sep 2001 01:01:39 +0200 From: Nicolas George To: caml-list@inria.fr Subject: Re: [Caml-list] Error using lablgtk Message-ID: <20010902010139.B4588@aimlin> Mail-Followup-To: lablgtk@kaba.or.jp References: <20010901192824.A20723@darling.home.br> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.1.4i In-Reply-To: <20010901192824.A20723@darling.home.br>; from romildo@uber.com.br on Sat, Sep 01, 2001 at 07:28:24PM -0300 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Le samedi 01 septembre 2001 à 19:28, José Romildo Malaquias a écrit : > $ lablgtk -labels -o hello hello.ml To compile programs using LablGtk, you must use the regular OCaml compiler, and link with the library. Something like that: ocamlc.opt -o hello -labels lablgtk.cma hello.ml The lablgtk command is a toplevel including the library (or, to be exact, it is a shell script starting the true toplevel with some options). Note also that examples programs that comes with LablGtk are intended to be run as script using this toplevel, because they do not call GMain.Main.init. But I do not understand why the -w option (added by the script) is rejected: the -w option is correct for toplevels. The -o option should be rejected instead. ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr