You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am new to Ocaml, and follow tutorial to set up develop environment, then try helloworld with dune and OCaml.
$ dune init exe helloworld
Success: initialized executable component named helloworld
$ dune build
Error: I cannot find the root of the current workspace/project.
If you would like to create a new dune project, you can type:
dune init project NAME
Otherwise, please make sure to run dune inside an existing project or
workspace. For more information about how dune identifies the root of the
current workspace/project, please refer to
https://dune.readthedocs.io/en/stable/usage.html#finding-the-root
According to this answer, I manually add dune-project file, then everything ok.
So I want to ask if dune-project file need add manually after dune version 3.0 or other command automaticlly create it?
Specifications
Version of dune (output of dune --version): 3.0.2
Version of ocaml (output of ocamlc --version): 4.11.1
Operating system (distribution and version): WSL2
The text was updated successfully, but these errors were encountered:
Hi, I am new to Ocaml, and follow tutorial to set up develop environment, then try helloworld with dune and OCaml.
According to this answer, I manually add
dune-project
file, then everything ok.So I want to ask if
dune-project
file need add manually after dune version 3.0 or other command automaticlly create it?Specifications
dune
(output ofdune --version
): 3.0.2ocaml
(output ofocamlc --version
): 4.11.1The text was updated successfully, but these errors were encountered: