Closed vicuna closed 18 years ago
Comment author: administrator
Hi,
Must have forgotten to mention in my email, this is the windows version of ocaml.
Best Regards, Riza
--- Damien Doligez caml-bugs@pauillac.inria.fr wrote:
Hello,
I have downloaded the latest version of ocaml and wanted to compile a simple program that uses the threads lib. But I get a compile error saying:
Unbound value Thread.delay
This looks like you don't have the threads library installed on your machine. Try the following:
ls
ocamlc -where
/threadsIf the directory doesn't exist, or does not contain a file called thread.cmi, then threads aren't installed properly.
-- Damien
Sell on Yahoo! Auctions – no fees. Bid on great items.
http://auctions.yahoo.com/
Comment author: administrator
Hello,
I have downloaded the latest version of ocaml and wanted to compile a simple program that uses the threads lib. But I get a compile error saying:
Unbound value Thread.delay
This looks like you don't have the threads library installed on your machine. Try the following:
ls ocamlc -where
/threads
If the directory doesn't exist, or does not contain a file called thread.cmi, then threads aren't installed properly.
-- Damien
Original bug ID: 3702 Reporter: administrator Status: closed Resolution: not a bug Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Bug description
Hi,
I have downloaded the latest version of ocaml and wanted to compile a simple program that uses the threads lib. But I get a compile error saying:
Unbound value Thread.delay
The code is as follows (test.ml):
let foo () = Format.print_string "deneme"
let _ = Thread.delay 0.4
The command line is as such:
ocamlc -I +threads threads.cma test.ml
Can anybody tell me if there is something wrong with this picture?
Kind Regards, rd
Discover Yahoo! Get on-the-go sports scores, stock quotes, news and more. Check it out! http://discover.yahoo.com/mobile.html