kejadlen/git-together

error while loading shared libraries: api-ms-win-crt-math-l1-1-0.dll

Opened this issue · 2 comments

When we tried to run git-together.exe on Windows, we got this error message:

C:/path/to/git-together.exe: error while loading shared libraries: api-ms-win-crt-math-l1-1-0.dll: cannot open shared object file: No such file or directory

We had to install the Visual C++ Redistributable for it to work.

So not really a bug, but perhaps update the README to mention this dependency?

Some breadcrumbs for me (or anyone interested in poking around at this):

rust-lang/libc#290
https://users.rust-lang.org/t/statically-linking-to-crt-on-msvc/9755

I don't remember how the Windows builds work, so will need to dig into that...

Probably dropping the appropriate .cargo/config somewhere in here would work.