Showing posts with label ocaml. Show all posts
Showing posts with label ocaml. Show all posts

Wednesday, 2 July 2008

O'Caml Executable

I created my first Executable in O'Caml yesterday. The program was a simple OpenGL routine that displayed a triangle on the screen & I used the following commands to create it.

ocamlopt -I +lablgl lablgl.cmxa lablglut.cmxa simple.ml

Just enter the above code in a Windows Command Prompt, making sure that you are in the folder where your source file is.

During compilation a few warnings were displayed & I had no control over the name of the .exe but I think I know how to solve those problems.

Tuesday, 1 July 2008

O'Caml

O'Caml is a language I first heard about some time ago. I've recently installed the Windows version & messed about with OpenGL. I'll make another post in the future containing more information & I'll probably put a tutorial on my Wikispace.

You can find out more about O'Caml here on this Wikipedia page. Also here is a link to the O'Caml site & here is one to the OpenGL implementation to O'Caml.