Quantcast
Channel: OCaml - Topics tagged dune
Viewing all articles
Browse latest Browse all 521

Beginner issue: `ocamlc` not found in tree or in `PATH`

$
0
0

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

Read full topic


Viewing all articles
Browse latest Browse all 521

Trending Articles