Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VSDEV_VCVARSVER: unbound variable #81

Open
jonahbeckford opened this issue Nov 27, 2023 · 0 comments
Open

VSDEV_VCVARSVER: unbound variable #81

jonahbeckford opened this issue Nov 27, 2023 · 0 comments
Milestone

Comments

@jonahbeckford
Copy link
Contributor

From https://discuss.ocaml.org/t/failed-when-install-dkml-2-1-on-windows/13506:

after successfull install dkml, then I run dkml init --system,failed with:

Applying: Diskuv ocaml host patch ocaml-common-4_14_0-a02-msvccflags.patch
patches(flexdll host) =
warning: database file for 'clangarm64' does not exist (use '-Sy' to download)
[2023-11-27T12:37:07+00:00] share/dkml/repro/100co/vendor/dkml-compiler/src/r-c-ocaml-2-build_host-noargs.sh
/c/Users/usead/AppData/Local/Programs/DkMLNative/share/dkml/repro/100co/vendor/drc/unix/crossplatform-functions.sh: line 2442: VSDEV_VCVARSVER: unbound variable
dkml: FATAL: <builtin>\install-ocaml-compiler.sh exited with error code 1
@jonahbeckford jonahbeckford added this to the 2.1.0 milestone Nov 27, 2023
jonahbeckford added a commit to diskuv/dkml-runtime-common that referenced this issue Nov 27, 2023
1. MSVSPREFERENCE and CMAKEGENERATOR can be derived
from the VsDevCmd.bat created environment variables.
2. Don't use -vcvars_ver and -winsdk when they are not known.

Part of diskuv/dkml-installer-ocaml#81
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant