Missing VCRuntime140 normally would just point to needing to install the Visual C++ Redistributable for Visual Studio 2015. Your env variables however seem a bit different to what I got for msys, just to try:
- Open up command prompt
- try
gcc --version
. I’m expecting this to maybe fail with something like gcc not found - run
set PATH=C:\msys64\mingw64\bin;C:\msys64\usr\bin;%PATH%
- run
gcc --version
this should give you something like:
gcc (Rev1, Built by MSYS2 project) 5.3.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.```
if it does, then try a `cargo clean && cargo build --release`