Version française
Home     About     Download     Resources     Contact us    
Browse thread
How to fix this unbound value problem?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jon Harrop <jonathandeanharrop@g...>
Subject: Re: [Caml-list] How to fix this unbound value problem?
On Saturday 30 August 2008 22:29:51 circ ular wrote:
> how do I compile a program?

The compile line for that program is given at the bottom of this page:

  http://www.ffconsultancy.com/languages/ray_tracer/comparison.html

Specifically:

  ocamlopt -rectypes -inline 1000 ray.ml -o ray

> what suffix does ocaml files have? 

.ml and .mli files are OCaml source code. In this case, you should save that 
code into a "ray.ml" file. However, that code was designed for Linux and not 
Windows so you may have problems with Windows injecting unwanted \r 
characters into the output, resulting in wonky images.

-- 
Dr Jon D Harrop, Flying Frog Consultancy Ltd.
http://www.ffconsultancy.com/products/?e