-
Notifications
You must be signed in to change notification settings - Fork 245
Build error #83
Comments
move the repository to |
Thanks for your reply, mind my asking what is $GOPATH? Do I need to set the path in environment like ~/.bashrc?
|
https://github.com/golang/go/wiki/GOPATH |
According to this one, asticode/go-astilectron#9 I had to update the go version from 1.6 to 1.8. It seems very troublesome to update the go version. But I will have a try. |
https://golang.org/doc/install?download=go1.8.5.linux-amd64.tar.gz 把原来的/usr/local/lib下的go文件夹改名为go1.6 改名后go version,找不到go的命令,说明成功。 zelongg@zelongg:~/go/src/github.com/faceair/youjumpijump$ sudo tar -zxvf ~/Downloads/go1.8.5.linux-amd64.tar.gz -C /usr/local/lib/ zelongg@zelongg:~/go/src/github.com/faceair/youjumpijump$ go versiongo version go1.8.5 linux/amd64 zelongg@zelongg:~/go/src/github.com/faceair/youjumpijump$ CGO_ENABLED=0 GOARCH=arm GOOS=linux go build -o youjumpijump-android android/main.go zelongg@zelongg:~/go/src/github.com/faceair/youjumpijump$ ls -la generate new file : youjumpijump-android |
Thanks for your help. I build it successfully. |
1 2 |
Sorry, I am a newbie for golang. Could you help me with the build error?
The text was updated successfully, but these errors were encountered: