ocaml - Unbound module Camlp4 -
i aware of similar questions on site none of them have helped solve problem.
i new @ ocaml , using following tutorial using camlp4 https://github.com/ocaml/camlp4/wiki/ocaml_code_generation_tutorial
however error on first line: open camlp4.precast
saying "unbound module camlp4"
there camlp4.exe file have downloaded ocaml assumed installed. have tried both on windows 8 , xubuntu
this input passing command line compile file: ocamlc -o test.exe test.ml
test.ml file contains line error
you should know camlp4 deprecated, should use ppx instead.
if need compile old programs using camlp4, should have instructions on how build. anyway it's rare use ocamlc
directly, should try ocamlbuild or @ least use ocamlfind
.
Comments
Post a Comment