Environment
- OS: Windows 7
- OCaml: 4.14.2+mingw64
- opam: 2.0.8
- dune: 3.22.0 (regression from 3.21)
Error
Running opam install dune fails at bootstrap:
dune.exe - entry point not found
The procedure entry point GetSystemTimePreciseAsFileTime could not be
located in the dynamic link library KERNEL32.dll
exit-code: -1073741511 (0xC0000139 STATUS_ENTRYPOINT_NOT_FOUND)
ldd output
ntdll.dll => C:\Windows\SYSTEM32\ntdll.dll
kernel32.dll => C:\Windows\system32\kernel32.dll
KERNELBASE.dll => C:\Windows\system32\KERNELBASE.dll
Notes
- dune 3.21 installs and works correctly on this system
- GetSystemTimePreciseAsFileTime was introduced in Windows 8