gleam
gleam copied to clipboard
How do you resolve the cross-compile issue?
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: https://github.com/DataDog/zstd/issues/25 Any other alternatives except xgo?
![Screen Shot 2019-10-10 at 7 57 33 PM](https://user-images.githubusercontent.com/1543151/66621232-39df4280-eb98-11e9-95ed-8f8c35f96da1.png)
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.