wyx2685/XrayR

Linux下编译失败。。

GH6324 opened this issue · 1 comments

GH6324 commented

好奇怪,Windows下能编译成功。Linux下编译失败了

编译命令用的 go build -o XrayR -ldflags "-s -w"

报错如下:
package github.com/XrayR-project/XrayR/main
imports github.com/XrayR-project/XrayR/panel
imports github.com/XrayR-project/XrayR/api
imports github.com/xtls/xray-core/infra/conf
imports github.com/xtls/xray-core/proxy/wireguard
imports gvisor.dev/gvisor/pkg/bufferv2
imports gvisor.dev/gvisor/pkg/atomicbitops
imports gvisor.dev/gvisor/pkg/state
imports gvisor.dev/gvisor/pkg/state/wire
imports gvisor.dev/gvisor/pkg/gohacks: build constraints exclude all Go files in /root/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20220901235040-6ca97ef2ce1c/pkg/gohacks

GH6324 commented

解决了。。Go版本的问题。。