-
Notifications
You must be signed in to change notification settings - Fork 316
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cross compile for windows #414
Comments
This project may help with how to build for windows, linux and MacOS https://github.com/git-time-metric/gtm. Review the appveyor.yml, .travis.yml and scripts directory for how to. |
@mschenk42 What MYS2 packages do you have installed? i.e. what is output of Also, know of any changes to your scripts to use v27 instead of v26? (Edit: clarity) |
It's been a while since I got this working. It's an experience I'm trying to forget :). https://github.com/git-time-metric/gtm/blob/master/appveyor.yml |
I updated the GTM project to build with v27. I had to update the build process since the cmakelist configuration changed (for the better). My latest build changes are in the master branch. |
running GOOS=windows GOARCH=386 go build -o app.exe app.go
getting go build github.com/libgit2/git2go: build constraints exclude all Go files
any suggestions on how to get this cross-compile working?
The text was updated successfully, but these errors were encountered: