From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id B13F9BB84 for ; Sat, 30 Aug 2008 23:42:41 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AukBANRauUhKfU4YnGdsb2JhbACCMY9YPgEBAQEBCAMKBxGcCociAQI X-IronPort-AV: E=Sophos;i="4.32,299,1217800800"; d="scan'208";a="16424941" Received: from ey-out-2122.google.com ([74.125.78.24]) by mail3-smtp-sop.national.inria.fr with ESMTP; 30 Aug 2008 23:42:41 +0200 Received: by ey-out-2122.google.com with SMTP id 6so480952eyi.15 for ; Sat, 30 Aug 2008 14:42:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:organization:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:message-id:from; bh=UBN60y6TZYwZ1rcq0YTqW1KvPiXlA676gb7HUmdO8Xs=; b=ZD/5K9OK1oh9+hPTdsKV9C33JspwyqnMBHUril86pcARhLL76xTblR/oeuX0Nr8yZw Ht41zKDV2MfTXXwKUIrf5pLshOg4/R2A5lDsz7x2xwEV7e43yp107Ib4mE3Bo9MWiVHJ JtjeSuBw5z28RVXzXdsmSWsHSGBhaxXo2aQXQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=organization:to:subject:date:user-agent:references:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:message-id:from; b=B5voJK0WunN6rh0/EwqETTOa3SRM2FX6CfFZu5gYou15RO806uXZ+XpVjP+uTDME/J q+wr/2PGbZTgXKdQVoCgcZ0vWroojTSM6PSxMCHAGfuEG64xQ8cxFwqy1k4nbLU7EtGW k0e/R/p1Q5Z0MyP/lJ/lqM1/KkfvdwcpKhNX8= Received: by 10.210.42.13 with SMTP id p13mr3815811ebp.153.1220132560928; Sat, 30 Aug 2008 14:42:40 -0700 (PDT) Received: from beast.local ( [90.198.246.218]) by mx.google.com with ESMTPS id j8sm10461443gvb.1.2008.08.30.14.42.40 (version=SSLv3 cipher=RC4-MD5); Sat, 30 Aug 2008 14:42:40 -0700 (PDT) Organization: Flying Frog Consultancy Ltd. To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] How to fix this unbound value problem? Date: Sat, 30 Aug 2008 22:41:54 +0100 User-Agent: KMail/1.9.9 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200808302241.54420.jon@ffconsultancy.com> From: Jon Harrop X-Spam: no; 0.00; ocamlopt:01 -rectypes:01 -inline:01 ocaml:01 mli:01 ocaml:01 frog:98 unbound:01 wrote:01 compile:01 compile:01 caml-list:01 suffix:02 output:02 languages:03 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