I’m a little confused about the dependencies of the modules involved.
--hello.ml--
let foo = "bar" in
INFO_MSG "msg %s" foo;
--dune--
(executable
(name hello)
(preprocess (action (run camlp4 -I /usr/lib/ocaml/camlp4 -I /home/me/.opam/default/lib/volt -parser o -parser op -printer p bolt_pp.cmo %{input-file})))
(libraries volt threads dynlink))
$> dune build ./hello.exe
Error: No implementations provided for the following modules:
Dynlink referenced from /home/me/.opam/default/lib/volt/bolt.cmxa(Bolt)
Thread referenced from /home/me/.opam/default/lib/volt/boltThread.cmx
Mutex referenced from /home/me/.opam/default/lib/volt/boltThread.cmx
Unix referenced from /home/me/.opam/default/lib/volt/bolt.cmxa(Bolt)
Am I doing something wrong?
5 posts - 3 participants