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

How do you resolve the cross-compile issue? #177

Open
BruceWangNo1 opened this issue Oct 11, 2019 · 2 comments
Open

How do you resolve the cross-compile issue? #177

BruceWangNo1 opened this issue Oct 11, 2019 · 2 comments

Comments

@BruceWangNo1
Copy link

BruceWangNo1 commented Oct 11, 2019

directory:

github.com/chrislusf/gleam/examples/word_count_in_go

Environment:

MacOS

command:

GOOS=linux GOARCH=amd64 go build -o word_count_in_go_linux word_count_in_go.go

Error Message:

go build github.com/DataDog/zstd: build constraints exclude all Go files in go/src/github.com/DataDog/zstd

One solution: DataDog/zstd#25
Any other alternatives except xgo?

@chrislusf
Copy link
Owner

Screen Shot 2019-10-10 at 7 57 33 PM

works for me though.

@BruceWangNo1
Copy link
Author

What's wrong with my MacOS? There must be something wrong with it. First is the sudo thing and now this. It can't be a coincidence.

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