Replies: 6 comments
-
Does the above file exist on your system?
|
Beta Was this translation helpful? Give feedback.
-
@diml
Because I set And my ocaml install path is :
so dune can not find it. |
Beta Was this translation helpful? Give feedback.
-
Is this the system you work on or a CI? I'm asking because of the "appveyor" in the path in the error message. |
Beta Was this translation helpful? Give feedback.
-
Oh, the truth is I don't have this And dune works fine on my another linux system. In ## Arguments passed to the configure script
CONFIGURE_ARGS=--prefix=D:/linux_home/.opam/4.09.0+mingw64c --host=x86_64-w64-mingw32 CC=x86_64-w64-mingw32-gcc CPP=x86_64-w64-mingw32-cpp
## Top build directory
TOP_BUILDDIR = .
## Installation directories
prefix=D:/linux_home/.opam/4.09.0+mingw64c I just do a stupid way to create the above path by making fold one by one. And copy Then I build dune project. And get another error:
BTW, maybe I should focus on linux environment rather than Windows. |
Beta Was this translation helpful? Give feedback.
-
Since you did not install cygwin I assume that you have installed a precompiled version of OCaml? In that case you may need to set some environment variables in order for OCaml to find its install path. |
Beta Was this translation helpful? Give feedback.
-
Indeed, you need to set at least |
Beta Was this translation helpful? Give feedback.
-
Expected Behavior
dune build pass.
Actual Behavior
Reproduction
hello-world.ml
,dune
. Then build a project named hello-world on Windows. There's a error occurred:HOME=D:\linux_home
Specifications
dune
: 2.4.0ocaml
: 4.09.0Additional information
This error seems to be due to dune can not find cygwin path.
And my cygwin is at
D:\OCaml64\Cygwin.bat
.Beta Was this translation helpful? Give feedback.
All reactions