I just installed OCaml on my computer (macOS Monterrey, M1, which seems to be the cause of lots of issues). Following this guide, I ran:
brew install opam
opam init
eval `opam env`
opam switch create 4.13.1
eval `opam env`
Then created a new directory, went into it and
dune init exe helloworld
dune build
And got
Error: Program ocamlc not found in the tree or in PATH
Lots of things seem to be broken.
What did I do wrong?
6 posts - 3 participants