ocaml-ctypes
ocaml-ctypes copied to clipboard
Package `bigarray` not found with `ctypes.0.15.0` for `5.00.0+trunk`
With the removal of the bigarray
library in trunk, ctypes.0.15.0
does not build with 5.00.0+trunk
and emits the following error:
...
# ocamlfind ocamlc -package bigarray -package bytes -package integers -principal -short-paths -g -ccopt "-I/home/guest/sandmark/_opam/5.00.0+trunk/lib/integers" -c -o _build/src/ctypes/ctypes_ptr.cmo -I _build/src/ctypes src/ctypes/ctypes_ptr.ml
# ocamlfind: Package `bigarray' not found
# make: *** [Makefile.rules:110: _build/src/ctypes/ctypes_ptr.cmo] Error 2
Can you please provide a patch that uses Stdlib.Bigarray
instead to build ctypes.0.15.0 or the latest ctypes.0.20.0 with 5.00.0+trunk? Thank you.
For 0.20.0 this is caused by https://github.com/mirage/bigarray-compat/pull/1
The new version of bigarray-compat
should fix the issue: https://github.com/ocaml/opam-repository/pull/20553
Closing as fixed, since recent versions of ctypes build with OCaml 5.0.0