Version française
Home     About     Download     Resources     Contact us    
Browse thread
Lwt and OCamlMakefile
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Markus Mottl <markus.mottl@g...>
Subject: Re: [Caml-list] Lwt and OCamlMakefile
OCamlMakefile handles the preprocessing problem by requiring that the
first line of a file specifies the preprocessing command. It has the
form "(*pp ... *)", where "..." is the command you want to use for
preprocessing.  Both dependency calculation as well as compilation
will then be handled correctly.

Regards,
Markus

On Mon, Dec 20, 2010 at 20:05,  <orbitz@ezabel.com> wrote:
> Hey,
> I'm using OCamlMakefile for a project that uses lwt, and I'm having trouble
> getting the right combination of settings to use the syntax extensiosn,
> specifically it is failing trying to calculate dependencies:
>
> ocamlfind ocamldep -pp "camlp4o pa_lwt.cmo " pm_sge_utils.ml >
> ._d/pm_sge_utils.d
> Camlp4: Uncaught exception: DynLoader.Error ("pa_lwt.cmo", "file not found
> in path")
>
>
> What do I need to do?
>
> Thanks!
>
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
>



-- 
Markus Mottl        http://www.ocaml.info        markus.mottl@gmail.com