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
$ opam switch create .
[WARNING] The default compiler selection: ocaml-system >= 4.02.3 | ocaml-base-compiler
is not compatible with the local packages found at C:/Users/user/project, and the packages don't specify an unambiguous compiler.
You can use `--compiler` to manually select one.
You may also proceed, with no specific compiler selected. Do you want to? [Y/n] n
'C:\OCaml64\usr\local\bin\opam.exe switch create .' failed.
$ opam switch create --compiler=ocaml-variants.4.12.0+mingw64c .
opam: unknown option `--compiler'.
Usage: opam switch [OPTION]... [COMMAND] [ARG]...
Try `opam switch --help' or `opam --help' for more information.
$ opam switch create . ocaml-variants.4.12.0+mingw64c
... # ok
--compiler is not an option, it's the second (optional) argument of switch create. I haven't tested with newer versions of Opam.
The text was updated successfully, but these errors were encountered:
--compiler
is not an option, it's the second (optional) argument ofswitch create
. I haven't tested with newer versions of Opam.The text was updated successfully, but these errors were encountered: