From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id C8C33BB88 for ; Tue, 19 Jul 2005 17:41:51 +0200 (CEST) Received: from miritek.com (v30-53.icu.ac.kr [210.107.130.53] (may be forged)) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j6JFfnw3003878 for ; Tue, 19 Jul 2005 17:41:50 +0200 Received: from [192.168.0.21] ([220.123.200.13]) by miritek.com (8.9.3/8.9.3) with ESMTP id AAA14868; Wed, 20 Jul 2005 00:55:58 +0900 Message-ID: <42DD1F08.1060906@compiler.kaist.ac.kr> Date: Wed, 20 Jul 2005 00:40:56 +0900 From: SooHyoung Oh User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: N.P.S.Sika@westminster.ac.uk Cc: caml-list@yquem.inria.fr Subject: Re: [Caml-list] GTK References: <1121786775.42dd1b97b71c7@zeppo.wmin.ac.uk> In-Reply-To: <1121786775.42dd1b97b71c7@zeppo.wmin.ac.uk> Content-Type: text/plain; charset=EUC-KR Content-Transfer-Encoding: 7bit X-j-chkmail-Score: MSGID : 42DD1F3D.001 on concorde : j-chkmail score : X : 0/20 1 X-Miltered: at concorde with ID 42DD1F3D.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; compiler:01 caml-list:01 gtk:01 lablgtk:01 ocamllib:01 lablgtk:01 gtk:01 ocaml:01 gwindow:01 gmain:01 ocamlc:01 ocamlc:01 gtkinit:01 cmo:01 gwindow: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.1 required=5.0 tests=FORGED_RCVD_HELO autolearn=disabled version=3.0.3 It seems that you don't have lablgtk2 installed. Please check whether $(OCAMLLIB)/lablgtk2 exists or not. N.P.S.Sika@westminster.ac.uk wrote: >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 > >_______________________________________________ >Caml-list mailing list. Subscription management: >http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list >Archives: http://caml.inria.fr >Beginner's list: http://groups.yahoo.com/group/ocaml_beginners >Bug reports: http://caml.inria.fr/bin/caml-bugs > > >