gleam icon indicating copy to clipboard operation
gleam copied to clipboard

How do you resolve the cross-compile issue?

Open BruceWangNo1 opened this issue 4 years ago • 2 comments

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?

BruceWangNo1 avatar Oct 11 '19 02:10 BruceWangNo1

Screen Shot 2019-10-10 at 7 57 33 PM works for me though.

chrislusf avatar Oct 11 '19 02:10 chrislusf

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.

BruceWangNo1 avatar Oct 11 '19 03:10 BruceWangNo1