From: Maurizio Colucci To: Olivier Andrieu Subject: Re: (errata corrige) Screen for GtkWindow not set --- Warning: this expression should have type unit. Date: Thu, 12 Aug 2004 13:35:45 +0200 Cc: lablgtk at kaba.or.jp References: <200408091552.53159.seguso.forever at tin.it> <20040812.131718.74755885.oandrieu at nerim.net> In-Reply-To: <20040812.131718.74755885.oandrieu at nerim.net> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200408121335.45549.seguso.forever at tin.it> Olivier wrote: > you did not init GTK+. See the README: > > ,----[ README ] > > | lablgtktop contains an extra module GtkInit, whose only contents is: > | let locale = GtkMain.Main.init () > | You must either add this line, or add this module to your link, > | before calling any Gtk function. > | ocamlc -I +lablgtk2 -w s lablgtk.cma gtkInit.cmo ???.ml -o ??? > > `---- Thank you very much Olivier. I was kind of desperate :-) Mau