Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Enhancement: provide a binary version for Windows #2

Open
zosrothko opened this issue Oct 12, 2021 · 4 comments
Open

Enhancement: provide a binary version for Windows #2

zosrothko opened this issue Oct 12, 2021 · 4 comments

Comments

@zosrothko
Copy link

Hello

git-tui seems a very cool tool to check for difference between to snap of a git tree. However, it does not work on windows...

@ArthurSonzogni
Copy link
Owner

I will try to make github to automatically build the Windows and Mac binaries and get back to you.

ArthurSonzogni added a commit that referenced this issue Oct 12, 2021
Goal is to support Windows:
See #2
@ArthurSonzogni
Copy link
Owner

@zosrothko, I am now automatically building Windows/Linux/Mac binaries after every releases.
https://github.com/ArthurSonzogni/git-tui/releases/tag/v1.0.7

(See artefact)

I don't have any Windows or MacOS OS. Could you please try them for me?

If this doesn't work. It might be because this is invoking "git" instead of "git.exe" at the following location. Updating it in the following location:
https://github.com/ArthurSonzogni/git-tui/search?l=C%2B%2B&q=ExecuteProcess
might fix the potential problem.

@jspraul
Copy link

jspraul commented Oct 13, 2021

I got the following error in a pop-up (Ctrl+C then pasted below), I assume pretty standard for Go programs on Windows:

git-tui.exe - System Error
The code execution cannot proceed because VCRUNTIME140_1.dll was not found. Reinstalling the program may fix this problem.

I downloaded and installed the latest supported Microsoft Visual C++ Redistributable from https://aka.ms/vs/16/release/vc_redist.x64.exe.

It works on my machine!

@ArthurSonzogni
Copy link
Owner

Thanks! Happy this worked for you.

About VisualStudio dynamic library, I believe next step is to link against it statically or compile with clang, so that other won't have to install it themselves.
I think I am going to read:
https://stackoverflow.com/questions/10113017/setting-the-msvc-runtime-in-cmake

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants