Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] graphics on Mac OS X
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Daniel_Bünzli <daniel.buenzli@e...>
Subject: Re: [Caml-list] graphics on Mac OS X
Maybe you didn't open X11.app (i.e. launch the X server). Also if you 
try to do that from Terminal.app you may need to set the environment 
variable $DISPLAY to ":0.0".

By the way you can use dynamic linking, no need to create a new top 
level,

 > ocaml graphics.cma
         Objective Caml version 3.08.0

# Graphics.open_graph "";;
- : unit = ()

Hope that helps,

Daniel

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