Hi everyone, when I write two executable stanza in dune file for “hello world” program, dune build is ok. This error occures when preprocess are added to both exectables below. Any ideas how to let dune build to compile. thx.
(executable
(public_name test_main)
(name main)
(libraries core_unix)
(preprocess (pps ppx_let ppx_jane))
)
(executable
(public_name test_main2)
(name main2)
(libraries core_unix)
(preprocess (pps ppx_let ppx_jane))
)
main.ml and main2.ml are just simple demo as below:
let () =
let open Core.Option.Let_syntax in
let%bind _a = Some 1 in
print_endline “Hello, World!”
error is as below when running dune build