Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Error using lablgtk
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-09-01 (23:41)
From: Nicolas George <>
Subject: Re: [Caml-list] Error using lablgtk
Le samedi 01 septembre 2001 à 19:28, José Romildo Malaquias a écrit :
> 	$ lablgtk -labels -o hello

To compile programs using LablGtk, you must use the regular OCaml compiler,
and link with the library. Something like that:

ocamlc.opt -o hello -labels lablgtk.cma

The lablgtk command is a toplevel including the library (or, to be exact,
it is a shell script starting the true toplevel with some options).

Note also that examples programs that comes with LablGtk are intended to be
run as script using this toplevel, because they do not call

But I do not understand why the -w option (added by the script) is
rejected: the -w option is correct for toplevels. The -o option should be
rejected instead.
Bug reports:  FAQ:
To unsubscribe, mail  Archives: