Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not compile #3702

Closed
vicuna opened this issue Jun 25, 2005 · 2 comments
Closed

Can not compile #3702

vicuna opened this issue Jun 25, 2005 · 2 comments
Labels

Comments

@vicuna
Copy link

vicuna commented Jun 25, 2005

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

@vicuna
Copy link
Author

vicuna commented Jul 8, 2005

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/threads

If 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/

@vicuna
Copy link
Author

vicuna commented Jul 8, 2005

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

@vicuna vicuna closed this as completed Jul 8, 2005
@vicuna vicuna added the bug label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant