Browse thread
[Caml-list] No Graphics module in 3.02?
- David S. Fox
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | David S. Fox <dsfox@c...> |
| Subject: | [Caml-list] No Graphics module in 3.02? |
[Sorry if this is a duplicate, I think it was rejected because it came from an address different from my subscription.] The following works for me under 3.01: % cat hello9.ml let _ = Graphics.open_graph ":0.0 300x500"; Graphics.set_window_title "Hello, world"; Graphics.moveto 150 250; Graphics.draw_string "Hello, world"; ignore (Graphics.read_key ()) % ocamlc graphics.cma hello9.ml File "hello9.ml", line 6, characters 2-21: Unbound value Graphics.open_graph % I'm running the ocaml-3.02-1 RPM. ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr