English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Using ocamlbuild with camlp4
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-04-30 (11:35)
From: Joel Reymont <joelr1@g...>
Subject: Using ocamlbuild with camlp4
I'm strying to compile the example that Nicolas posted in the AST  
transformations thread.

What am I missing?

	Thanks, Joel



"easy_strip.ml": camlp4of, use_camlp4



ocamlbuild -classic-display -use-menhir $*

./build.sh test.byte

ocamldep.opt -pp camlp4of -modules easy_strip.ml > easy_strip.ml.depends
ocamlfind ocamlc -package ounit -c -I +camlp4 -pp camlp4of -o  
easy_strip.cmo easy_strip.ml
+ ocamlfind ocamlc -package ounit -c -I +camlp4 -pp camlp4of -o  
easy_strip.cmo easy_strip.ml
File "easy_strip.ml", line 3, characters 12-47:
Unbound class