Hello,
I have the following dune file :
(library
(public_name OTP)
(libraries cryptokit base32 unix qrc stdint)
(name OTP))
(env
(dev
(flags (:standard -w +42 -warn-error -32 -warn-error -33) ))
(release
(ocamlopt_flags (:standard -O3))))
When I build the project with the dev environment, it builds fine. But whith the relase environment, I have a strange error :
PS H:\OCaml\OTP> opam exec -- dune build --release
(cd _build/default && C:\Users\XXX\AppData\Local\opam\default\bin\ocamlc.opt.exe -w -40 -w -49 -nopervasives -nostdlib -g -bin-annot -bin-annot-occurrences -I lib/.OTP.objs/byte -no-alias-deps -o lib/.OTP.objs/byte/oTP.cmo -c -impl lib/oTP.ml-gen)
File "lib/oTP.ml-gen", line 1:
Error: Could not find the .cmi file for interface lib/oTP.mli.
there should not be an oTP.mli
but an otp.mli
file instead. I have a simple library project with two files : otp.ml and otp.mli (and a test_OTP.ml)
Is this a windows issue with dune/opam ?
2 posts - 1 participant