From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id C7461BB88 for ; Tue, 19 Jul 2005 17:26:17 +0200 (CEST) Received: from garuda.wmin.ac.uk (garuda.wmin.ac.uk [161.74.160.7]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j6JFQH4c006591 for ; Tue, 19 Jul 2005 17:26:17 +0200 Received: from groucho ([161.74.160.74] helo=groucho.wmin.ac.uk) by garuda.wmin.ac.uk with esmtp (Exim 4.12) id 1Dutz5-0000v9-00 for caml-list@yquem.inria.fr; Tue, 19 Jul 2005 16:26:15 +0100 Received: from localhost (zeppo.wmin.ac.uk [161.74.160.97]) by groucho.wmin.ac.uk (Postfix) with ESMTP id BE14358A9 for ; Tue, 19 Jul 2005 16:26:15 +0100 (BST) Received: from 161.74.14.16 ([161.74.14.16]) by zeppo.wmin.ac.uk (IMP) with HTTP for ; Tue, 19 Jul 2005 16:26:15 +0100 Message-ID: <1121786775.42dd1b97b71c7@zeppo.wmin.ac.uk> Date: Tue, 19 Jul 2005 16:26:15 +0100 From: N.P.S.Sika@westminster.ac.uk To: caml-list@yquem.inria.fr Subject: GTK MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.4 X-Originating-IP: 161.74.14.16 X-Scanner: exiscan for exim4 (http://duncanthrax.net/exiscan/) *1Dutz5-0000v9-00*jF/GAiGmHLY* X-Miltered: at nez-perce with ID 42DD1B99.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; gtk:01 gtk:01 ocaml:01 gwindow:01 gmain:01 ocamlc:01 ocamlc:01 lablgtk:01 lablgtk:01 gtkinit:01 cmo:01 gwindow:01 unbound:01 compile:01 compile:01 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=NO_REAL_NAME autolearn=disabled version=3.0.3 Hello there, I try to compile my first GTK+2 code "base.ml" taken from the GTK Ocaml tutorial from ------------- (* file: base.ml *) let main () = let window = GWindow.window () in window#show (); GMain.Main.main () let _ = main () ------------------- You can compile the above program with ocamlc using: ocamlc -I +lablgtk2 -o base lablgtk.cma gtkInit.cmo base.ml HOWEVER when I do that i get the following error message File "base.ml", line 4, characters 15-29: Unbound value GWindow.window anyone got any idea what it is ? thanks