JoNil / elf2uf2-rs

BSD Zero Clause License
81 stars 31 forks source link

Cannot compile on Windows 10 #29

Closed jejebecarte closed 6 months ago

jejebecarte commented 6 months ago

:wave: Seems like a really great tool - just encountered the following compilation error on Windows 10 when running cargo install elf2uf2-rs, both with and without the --locked flag:

LINK : fatal error LNK1181: cannot open input file 'comctl32.lib'

error: could not compile `elf2uf2-rs` (bin "elf2uf2-rs") due to 1 previous error
error: failed to compile `elf2uf2-rs v2.0.0`, intermediate artifacts can be found at `C:\Users\...\AppData\Local\Temp\cargo-installVsJeKs`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
[output.txt](https://github.com/JoNil/elf2uf2-rs/files/14741975/output.txt)

Full command output

jejebecarte commented 6 months ago

SOLVED: This was not the fault of elf2uf2-rs. For whatever reason, my installation of the MSVC prerequisites was broken. Removing and re-installing fixed this issue.