Version française
Home     About     Download     Resources     Contact us    
Browse thread
How to compile using sexplib?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Sylvain Le Gall <sylvain@l...>
Subject: Re: [Caml-list] Re: How to compile using sexplib?
Hello,

On Thu, Jun 12, 2008 at 03:02:30PM -0700, Ian Pye wrote:
> Hi,
> 
> I am trying the above solution, and getting this:
> 
> ocamlfind ocamlc -package
> unix,str,vec,mapmin,hashtbl_bounded,fileinfo,intvmap,extlib,mysql,sexplib.syntax
> -syntax camlp4o -I ../../batch/analysis -g -c online_db.ml
> 
> File "online_db.ml", line 44, characters 27-31:
> Failure: "Pa_type_conv: path not set"
> Preprocessor error
> 

Read the documentation ;-)

You need to add something like:

TYPE_CONV_PATH "CsvGenerator"

in your .ml file.

Regards
Sylvain Le Gall