Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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

------

_tags:

"easy_strip.ml": camlp4of, use_camlp4

build.sh:

#!/bin/sh

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
Camlp4Filters.GenerateMap.generated

--
http://wagerlabs.com/