So, I wrote this library called subprocess for working with OS processes. It’s a dune package. I installed it (or so I thought) with dune install.
I wrote a “script” for doing stuff with files (previewing them and then moving them to a folder). It’s called watchnmove. It is supposed to use the subprocess library. When I’m editing it, merlin seems to know the subprocess library and the interfaces it provides.
However, when I try to build watchnmove, I get the following error:
File "_none_", line 1:
Error: Files .watchnmove.eobjs/native/dune__exe__Watchnmove.cmx
and /home/ninjaaron/.opam/4.10.0/lib/subprocess/subprocess.cmxa
make inconsistent assumptions over interface Subprocess
Not really sure how to proceed at this point. dune build @check works fine (for the watchnmove script).
Thanks, but I don’t know how to act on this insight. Should I just read the man page for ocamlobjinfo? I don’t know what you’re advising me to do. This is my first time trying to use a library that I wrote and installed with dune. There are many things I do not know. e.g. how to change the recorded path.
I see a lot of hashes, and I don’t really know which ones I’m supposed to be looking at. I see one next to something that says CRC of implementation which is different from the one that says Subprocess under “Interfaces imported”.
Though I don’t think I’ve done everything you actually asked, let’s assume the hashes are mismatched. What would I do to correct that?