go交叉编译linux
会出现如下错误
..\github.com\mattn\go-isatty\isatty_linux.go:7:8: cannot find package "golang.org/x/sys/unix" in any of:
解决办法:
git clone https://github.com/golang/sys.git
下载到gopath目录下的golang.org\x\sys 即可
go交叉编译linux
会出现如下错误
..\github.com\mattn\go-isatty\isatty_linux.go:7:8: cannot find package "golang.org/x/sys/unix" in any of:
解决办法:
git clone https://github.com/golang/sys.git
下载到gopath目录下的golang.org\x\sys 即可
本文来自博客园,作者:{咏南中间件},转载请注明原文链接:https://www.cnblogs.com/hnxxcxg/p/16540726.html