Having some trouble using [Core] library in windows.
For 5.x.x I'm getting the following error with open Core:
File "bin/dune", line 3, characters 7-11:
3 | (name main)
^^^^
** Cannot resolve symbols for C:\opamroot\opam-01f65a\5.3.0\lib\base_bigstring\libbase_bigstring_stubs.a(base_bigstring_stubs.o):
memmem
File "caml_startup", line 1:
Error: Error during linking (exit code 2)
For 4.14.2 I'm getting the following error when trying to opam install core:
# File "core/src/dune", line 11, characters 10-25:
# 11 | (c_names bigstring_stubs md5_stubs array_stubs gc_stubs time_ns_stubs)
# ^^^^^^^^^^^^^^^
# (cd _build/default/core/src && C:\opamroot\opam-01f65a\4.14.2\bin\x86_64-w64-mingw32-gcc.exe -O2 -fno-strict-aliasing -fwrapv -mms-bitfields -O2 -fno-strict-aliasing -fwrapv -mms-bitfields -D_LARGEFILE64_SOURCE -g -I C:/opamroot/opam-01f65a/4.14.2/lib/ocaml -I C:\opamroot\opam-01f65a\4.14.2\lib\base -I C:\opamroot\opam-01f65a\4.14.2\lib\base\base_internalhash_types -I C:\opamroot\opam-01f65a\[...]
# bigstring_stubs.c:42:10: fatal error: endian.h: No such file or directory
# 42 | #include <endian.h>
# | ^~~~~~~~~~
# compilation terminated.
Here is a similar question: Unable to use Core on Windows