go交叉编译linux
出现以下错误
[En]
The following error occurs
..\github.com\mattn\go-isatty\isatty_linux.go:7:8: cannot find package “golang.org/x/sys/unix” in any of:
解决方案:
[En]
Solution:
git clone https://github.com/golang/sys.git
只需下载到Gopath目录下的Golang.orgxsys即可。
[En]
Just download to golang.org x sys under the gopath directory.
Original: https://www.cnblogs.com/hnxxcxg/p/16540726.html
Author: delphi中间件
Title: go交叉编译linux
原创文章受到原创版权保护。转载请注明出处:https://www.johngo689.com/7073/
转载文章受原作者版权保护。转载请注明原作者出处!