English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] Problem using modules like "Str", "Graphics" under Windows
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-05-08 (15:16)
From: Sylvain LE GALL <sylvain.le-gall@p...>
Subject: Re: [Caml-list] Problem using modules like "Str", "Graphics" under Windows
On Sat, May 08, 2004 at 04:53:12PM +0200, Henning Sudbrock wrote:
> Hello,
> I am trying to use the module "Str" with ocaml 3.07+2. 
> My problem is that when I enter a command like "Str.split;;" in the
> ocaml-toplevel, I get the answer "Reference to undefined global 'Str' ".
> Also when I try to open the module via "open Str;;" first, I get the
> same answer when typing "split;;" afterwards.
> I would be thankful for any help with this problem.
> With kind regards, Henning Sudbrock


What about : 

For interactive use of the str library, do:

ocamlmktop -o mytop str.cma

or (if dynamic linking of C libraries is supported on
your platform), start ocaml and type #load "str.cma";;.

Kind regard
Sylvain Le Gall

To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners