aoc-cli
aoc-cli copied to clipboard
Cannot compile on windows 10
cargo install aoc-cli
note: ld: cannot find -lntdll
installed toolchains
--------------------
stable-x86_64-pc-windows-gnu (default)
stable-x86_64-pc-windows-msvc
nightly-2020-12-28-x86_64-pc-windows-msvc
nightly-x86_64-pc-windows-msvc
active toolchain
----------------
stable-x86_64-pc-windows-gnu (default)
rustc 1.66.0 (69f9c33d7 2022-12-12))`
Thanks for reporting this, I'm going to try and reproduce it.
I see your default toolchain is set to windows-gnu. Do you have the mingw runtime libraries installed? You can download it from https://osdn.net/projects/mingw.
Also, have you tried installing using the windows-msvc toolchain instead? You can try that with cargo install --target x86_64-pc-windows-msvc aoc-cli
but first make sure you have the redistributable Visual C++ runtime library, which you can download from https://learn.microsoft.com/en-US/cpp/windows/latest-supported-vc-redist
It does work with cargo install --target x86_64-pc-windows-msvc aoc-cli Yes I do have mingw installed.