Closed zxybazh closed 5 years ago
encountered this error when trying to compile on my Macbook
main.go:7:2: cannot find package "github.com/HFO4/gbc-in-cloud/driver" in any of: /usr/local/Cellar/go/1.10.3/libexec/src/github.com/HFO4/gbc-in-cloud/driver (from $GOROOT) /Users/zxybazh/goforest/src/github.com/HFO4/gbc-in-cloud/driver (from $GOPATH) main.go:8:2: cannot find package "github.com/HFO4/gbc-in-cloud/gb" in any of: /usr/local/Cellar/go/1.10.3/libexec/src/github.com/HFO4/gbc-in-cloud/gb (from $GOROOT) /Users/zxybazh/goforest/src/github.com/HFO4/gbc-in-cloud/gb (from $GOPATH) main.go:9:2: cannot find package "github.com/HFO4/gbc-in-cloud/server" in any of: /usr/local/Cellar/go/1.10.3/libexec/src/github.com/HFO4/gbc-in-cloud/server (from $GOROOT) /Users/zxybazh/goforest/src/github.com/HFO4/gbc-in-cloud/server (from $GOPATH) main.go:10:2: cannot find package "github.com/faiface/pixel/pixelgl" in any of: /usr/local/Cellar/go/1.10.3/libexec/src/github.com/faiface/pixel/pixelgl (from $GOROOT) /Users/zxybazh/goforest/src/github.com/faiface/pixel/pixelgl (from $GOPATH)
Try to compile with Go 1.11 or above? Release will be added later.
Works fine after I upgraded Go to 1.12.4
encountered this error when trying to compile on my Macbook