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

Error installing vscoq-language-server on Windows 11 #26491

Open
W1llDu opened this issue Sep 4, 2024 · 1 comment
Open

Error installing vscoq-language-server on Windows 11 #26491

W1llDu opened this issue Sep 4, 2024 · 1 comment

Comments

@W1llDu
Copy link

W1llDu commented Sep 4, 2024

Steps:
make switch (4.13.1)
pin coq to 8.19.2

#=== ERROR while compiling coq-core.8.19.2 ====================================#
# context     2.2.1 | win32/x86_64 | ocaml-base-compiler.4.13.1 | https://opam.ocaml.org#b239951e2279e4b35b1fcef0a4da819a409faa5d
# path        C:\opamroot\opam-1ddc8f\coq\.opam-switch\build\coq-core.8.19.2
# command     C:\opamroot\opam-1ddc8f\coq\.opam-switch\build\coq-core.8.19.2\./configure -prefix C:\opamroot\opam-1ddc8f\coq -mandir C:\opamroot\opam-1ddc8f\coq\man -libdir C:\opamroot\opam-1ddc8f\coq\lib/coq -native-compiler no
# exit-code   1
# env-file    C:\opamroot\opam-1ddc8f\log\coq-core-53332-754c34.env
# output-file C:\opamroot\opam-1ddc8f\log\coq-core-53332-754c34.out
### output ###
# Uncaught exception: Invalid_argument("index out of bounds")
# Error while running 'C:\opamroot\opam-1ddc8f\coq\bin/ocamlfind.exe ocamlc -version' (exit code 3)
# Configuration script failed!

coq-core-53332-754c34.env.txt
coq-core-53332-754c34.info.txt
coq-core-53332-754c34.out.txt

@proux01
Copy link
Contributor

proux01 commented Sep 6, 2024

Coq currently doesn't work on OPAM for windows. Until we get it to work (might take months), the best solution is probably, as recommended on the official website to resort on the Coq platform: https://coq.inria.fr/download

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants