ch32-rs / wchisp

WCH ISP Tool in Rust
https://ch32-rs.github.io/wchisp/
GNU General Public License v2.0
166 stars 28 forks source link

VCRUNTIME140.dll was not found when running prebuilt binary #36

Closed mejobloggs closed 1 year ago

mejobloggs commented 1 year ago

I got windows-wchisp-latest from here: https://github.com/ch32-rs/wchisp/actions/runs/5240843054

When I try to run it in cmd I get the error VCRUNTIME140.dll was not found when running prebuilt binary

Should I be able to run this by itself? I didn't see anything in the instructions about needing to install VCRUNTIME140.dll

Thanks

andelf commented 1 year ago

Check this: https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170

andelf commented 1 year ago

This is caused by missing vcredist on your local machine. Rust builds a dynamic linked exe on Windows by default settings.

mejobloggs commented 1 year ago

Thanks very much. Working after installing that!

Thanks for your work :)