Image Noise/OCaml/OpenGL: Difference between revisions

with ocamlnat
(added ocaml)
 
(with ocamlnat)
Line 3:
Compile this program to native-code with the following command:
ocamlopt -o noise_gl.opt bigarray.cmxa unix.cmxa -I +glMLite GL.cmxa Glut.cmxa noise_gl.ml
 
One can also interpret it with the native code OCaml toplevel:
ocamlnat unix.cmxs bigarray.cmxs -I +glMLite GL.cmxs Glut.cmxs noise_gl.ml
 
<lang ocaml>open Glut