Delivered-To: garrigue at math.nagoya-u.ac.jp Delivered-To: lablgtk at yquem.inria.fr Message-ID: From: Asma Tafat Date: Mon, 25 Oct 2010 14:29:52 +0200 To: lablgtk at yquem.inria.fr MIME-Version: 1.0 (Apple Message framework v1081) Subject: [Lablgtk] lablgtk2 Content-Type: multipart/mixed; boundary="===============1730278326==" Mime-version: 1.0 Status: U --===============1730278326== Content-Type: multipart/alternative; boundary="Apple-Mail-6-464947123" --Apple-Mail-6-464947123 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="us-ascii" Hello,=20 I'm using lablgtk2 on Mac OS (Snow Leopard). Until now, it woks = correctly (actually i use a platform that uses lablgtk2) and without = doing any thing it does not.=20 For example, when i wrote this code=20 (* file: base.ml *) let main () =3D let window =3D GWindow.window () in window#show (); GMain.Main.main () let _ =3D main () It compiles correctly with :=20 ocamlc -I +lablgtk2 -o base lablgtk.cma gtkInit.cmo base.ml But when I try to execute it (./base), it does not do any think as = though with an infinite loop. Can any one help me to resolve this. PS: my english is not well. I'm sorry =20= --Apple-Mail-6-464947123 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="us-ascii"
	(* file: base.ml *)

	=
let main () =3D
  	=
let window =3D GWindow.window () in
  	=
window#show ();
  	=
GMain.Main.main ()

	=
let _ =3D main ()
It compiles =
correctly with : 
	ocamlc -I =
+lablgtk2 -o base lablgtk.cma gtkInit.cmo base.ml

But when I try to execute it =
(./base), it does not do any think as though with an infinite =
 loop.
Can any =
one help me to resolve this.
PS: my =
english is not well. I'm sorry