Hello
I’d like to know the syntaxe for Mac to create executable with graphics
I have the graphic window with
$ utop
#require "graphics" ;;
Graphics.open_graph "";;
but with compile syntaxe like
% ocamlc graphics.cma test_graph.ml
I get
**File "test_graph.ml", line 18, characters 0-19** :
18 | Graphics.open_graph "";;
**^^^^^^^^^^^^^^^^^^^**
**Error** : Unbound module Graphics
How to do ?
The program is
Graphics.open_graph "";;