Skip to content
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

No Buildable go sources files #4

Open
joaquinicolas opened this issue Apr 27, 2017 · 1 comment
Open

No Buildable go sources files #4

joaquinicolas opened this issue Apr 27, 2017 · 1 comment

Comments

@joaquinicolas
Copy link

When i try to cross compile my project from mac os to linux with arm, get this error:
no buildable Go source files in... github.com/mikepb/go-serial

@IvoBCD
Copy link

IvoBCD commented Sep 24, 2019

@joaquinicolas Since all of the .go files use cgo, you'll need to set CGO_ENABLED=1 to ensure anything gets built when cross-compiling.

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

No branches or pull requests

2 participants