ocaml - (yet another) "Unbound module" error -
the line
open uutf
in file mymod.ml
causing error shown below:
% corebuild -quiet test.native + ocamlfind ocamlopt -c -w a-4-33-40-41-42-43-34-44 -strict-sequence -g -annot -bin-annot -short-paths -thread -syntax camlp4o -package bin_prot.syntax -package sexplib.syntax,comparelib.syntax,fieldslib.syntax,variantslib.syntax -package core -o mymod.cmx mymod.ml file "mymod.ml", line 2, characters 5-9: error: unbound module uutf
i've installed uutf
with
% opam install uutf
what else 1 supposed after running opam install
command above?
ps: have read several se threads on ocaml "unbounded module" errors, including
ocaml unbound module error: unbound module ... in ocaml ocaml toplevel throws error unbounded module ocaml , opam: unbound module core
...but none have answered question.
just utilize
corebuild -package uutf test.native
this automatically (using ocamlfind
) find dependend bundle , add together needed flags.
you can query ocamlfind database ocamlfind list
shell comand, see libraries available. handy if you're unsure library name.
ocaml
No comments:
Post a Comment