Open aimerneige opened 1 year ago
➜ make build GOOS=linux GOARCH=amd64 \ go build -o bin/mirai-chess-bot-linux-amd64-v1.9.0 \ cmd/bot/bot.go # github.com/Logiase/MiraiGo-Template/bot ../../../.golang/pkg/mod/github.com/!logiase/!mirai!go-!template@v0.0.0-20221120093149-c0c90b30689e/bot/bot.go:58:16: undefined: client.SystemDeviceInfo ../../../.golang/pkg/mod/github.com/!logiase/!mirai!go-!template@v0.0.0-20221120093149-c0c90b30689e/bot/bot.go:88:16: undefined: client.SystemDeviceInfo ../../../.golang/pkg/mod/github.com/!logiase/!mirai!go-!template@v0.0.0-20221120093149-c0c90b30689e/bot/bot.go:99:44: undefined: client.SystemDeviceInfo ../../../.golang/pkg/mod/github.com/!logiase/!mirai!go-!template@v0.0.0-20221120093149-c0c90b30689e/bot/protocol.go:18:9: undefined: client.SystemDeviceInfo make: *** [Makefile:29: bin/mirai-chess-bot-linux-amd64-v1.9.0] Error 1
module github.com/aimerneige/MiraiChess go 1.19 require ( github.com/Logiase/MiraiGo-Template v0.0.0-20221120093149-c0c90b30689e github.com/Mrs4s/MiraiGo v0.0.0-20230220070519-af032dec9677 )
可以编译的版本:
module github.com/aimerneige/MiraiChess go 1.19 require ( github.com/Logiase/MiraiGo-Template v0.0.0-20220412065005-27063e73adf8 github.com/Mrs4s/MiraiGo v0.0.0-20220828090150-a3c348100dfe )
底层库不太了解,不知道哪里出了问题
看一下go.mod里的miraigo,这个库应该只同步更新到了2022年11月
可以编译的版本:
底层库不太了解,不知道哪里出了问题