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 0CFA1BBD7 for ; Wed, 3 Aug 2005 16:34:11 +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 j73EYAgt015117 for ; Wed, 3 Aug 2005 16:34:10 +0200 Received: from groucho ([161.74.160.74] helo=groucho.wmin.ac.uk) by garuda.wmin.ac.uk with esmtp (Exim 4.12) id 1E0KJr-0007By-00 for caml-list@yquem.inria.fr; Wed, 03 Aug 2005 15:34:07 +0100 Received: from localhost (zeppo.wmin.ac.uk [161.74.160.97]) by groucho.wmin.ac.uk (Postfix) with ESMTP id 28DD95906 for ; Wed, 3 Aug 2005 15:33:22 +0100 (BST) Received: from 161.74.14.16 ([161.74.14.16]) by zeppo.wmin.ac.uk (IMP) with HTTP for ; Wed, 3 Aug 2005 15:32:57 +0100 Message-ID: <1123079577.42f0d599176cc@zeppo.wmin.ac.uk> Date: Wed, 3 Aug 2005 15:32:57 +0100 From: N.P.S.Sika@westminster.ac.uk To: caml-list@yquem.inria.fr Subject: gtk2 compiling problem 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/) *1E0KJr-0007By-00*RbmxZHwzETs* X-Miltered: at nez-perce with ID 42F0D5E2.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 lablgtk:01 lablgtk:01 gtkinit:01 cmo:01 ocamlc:01 gtkinit:01 cmo:01 gwindow:01 gale:98 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 Hi everybody , I had this problem addressed before but myself, I had to be off any computer for some time so I am back with the same problem. I am having trouble with compiling any gtk2 code taken out of a tutorial of Tony Gale and Ian Main adapted to Ocaml by SooHyoung Oh --------------------- (* file: base.ml *) let main () = let window = GWindow.window () in window#show (); GMain.Main.main () let _ = main () ---------------------- it says that to compile i should do ocamlc -I +lablgtk2 -o base lablgtk.cma gtkInit.cmo base.ml but this is the error message i got ----------- fishs-Computer:~/FYP/gtk fish$ ocamlc -I +lablgtk2 -o base lablgtk.cma gtkInit. cmo base.ml File "base.ml", line 4, characters 15-29: Unbound value GWindow.window ------------- if it is of any help i have installed gtk2 libraries via Fink lablgtk2 via Godi need help here guies. my final year project depends on it. thanks