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

ocamlfind: [WARNING] Undefined toolchain: windows #204

Open
NebuPookins opened this issue Jul 24, 2021 · 0 comments
Open

ocamlfind: [WARNING] Undefined toolchain: windows #204

NebuPookins opened this issue Jul 24, 2021 · 0 comments

Comments

@NebuPookins
Copy link

This might be related to #64 where I noticed that person also got the ocamlfind: [WARNING] Undefined toolchain: windows. Their issue eventually is resolved, but they don't exactly state what they did to fix it.

Here are some of the things I've tried:

$  opam switch
#  switch                      compiler                    description
→  ocaml-base-compiler.4.11.1  ocaml-base-compiler.4.11.1  ocaml-base-compiler.4.11.1
$  which ocamlfind
/home/nebu/.opam/ocaml-base-compiler.4.11.1/bin/ocamlfind
$ opam list
# Packages matching: installed
# Name              # Installed # Synopsis
base-bigarray       base
base-threads        base
base-unix           base
bigarray-compat     1.0.0       Compatibility library to use Stdlib.Bigarray when possible
conf-gcc-windows    1
conf-gcc-windows32  1           Virtual package specifying the location of GCC cross-compiler for 32-bit Windows
conf-libffi         2.0.0       Virtual package relying on libffi system installation
conf-pkg-config     2           Check if pkg-config is installed and create an opam switch local pkgconfig folder
conf-sdl2           1           Virtual package relying on a SDL2 system installation
ctypes              0.19.1      Combinators for binding to C libraries without writing any C
ctypes-foreign      0.18.0      Virtual package for enabling the ctypes.foreign subpackage.
dune                2.9.0       Fast, portable, and opinionated build system
flexdll-windows     0.37        FlexDLL is a Windows dynamic linker extension allowing DLLs to depend on each other
integers            0.4.0       Various signed and unsigned integer types for OCaml
ocaml               4.11.1      The OCaml compiler (virtual package)
ocaml-base-compiler 4.11.1      Official release 4.11.1
ocaml-config        1           OCaml Switch Configuration
ocamlbuild          0.14.0      OCamlbuild is a build system with builtin rules to easily build most OCaml projects.
ocamlfind           1.9.1       A library manager for OCaml
topkg               1.0.3       The transitory OCaml software packager
tsdl                0.9.8       Thin bindings to SDL for OCaml
$ ocamlfind -toolchain windows ocamlc helloworld.ml -o helloworld.byte
ocamlfind: [WARNING] Undefined toolchain: windows
$ ocamlfind list
bigarray            (version: [distributed with Ocaml])
bigarray-compat     (version: 1.0.0)
bytes               (version: [distributed with OCaml 4.02 or above])
compiler-libs       (version: [distributed with Ocaml])
compiler-libs.bytecomp (version: [distributed with Ocaml])
compiler-libs.common (version: [distributed with Ocaml])
compiler-libs.optcomp (version: [distributed with Ocaml])
compiler-libs.toplevel (version: [distributed with Ocaml])
ctypes              (version: 0.19.1)
ctypes.foreign      (version: 0.19.1)
ctypes.stubs        (version: 0.19.1)
ctypes.top          (version: 0.19.1)
dune                (version: n/a)
dune.configurator   (version: 2.9.0)
dynlink             (version: [distributed with Ocaml])
findlib             (version: 1.9.1)
findlib.dynload     (version: 1.9.1)
findlib.internal    (version: 1.9.1)
findlib.top         (version: 1.9.1)
integers            (version: n/a)
integers.top        (version: n/a)
ocamlbuild          (version: 0.14.0)
ocamldoc            (version: [distributed with Ocaml])
raw_spacetime       (version: [distributed with Ocaml])
stdlib              (version: [distributed with Ocaml])
str                 (version: [distributed with Ocaml])
threads             (version: [distributed with Ocaml])
threads.none        (version: [internal])
threads.posix       (version: [internal])
topkg               (version: 1.0.3)
tsdl                (version: v0.9.8)
tsdl.top            (version: v0.9.8)
unix                (version: [distributed with Ocaml])
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