Version française
Home     About     Download     Resources     Contact us    
Browse thread
Re: [Caml-list] Pretty printing Toploop errors?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: bacam@z...
Subject: Re: [Caml-list] Re: Pretty printing Toploop errors?
On Wed, Jul 12, 2006 at 07:53:15AM -0400, Geoffrey Alan Washburn wrote:
> Jonathan Roewen wrote:
> >>worked.  However, is there some other library I could link against that
> >>wouldn't require end-users having access to the OCaml sources?
> >
> >Have you tried toplevellib.cma?
> 
> 	I am, but if I only link against that ocamlc claims that it cannot 
> 	find the Errors module.  If I add drivers/errors.cmo it works, but that is 
> only in available in the actual OCaml source tree.  Is there something 
> else I should be trying?

You might have solved this in the meantime, but in case you haven't:

The problem is that the interface file errors.cmi isn't installed along
with ocaml.  You could keep a copy of errors.mli with your program and
use that to make a suitable errors.cmi for compiling against.  At least,
that seems to work for me.

  Brian