1
我用ocamlc.opt
这样的:为什么corebuild不能使用绝对路径?
ocamlc.opt -I /home/foo/bar/baz -c foo.ml
我想我可以做同样的corebuild
:
ocamlc.opt -I /home/foo/bar/baz -c foo.ml
但是,这将引发一个错误:
Failure:
Included or excluded directories must be implicit (not "/home/foo/bar/baz").
有什么解决办法? –
@JessBowers:避免使用显式包含,[ref](https://github.com/ocaml/ocamlbuild/blob/master/manual/manual.adoc#module-paths-and-include-directories)。 –