代码之家  ›  专栏  ›  技术社区  ›  ShoHost

使用make命令时GO协议出现问题

  •  0
  • ShoHost  · 技术社区  · 2 年前

    我试图安装这个 https://github.com/s77rt/rdpcloud

    它有以下要求:
    去吧
    npm
    协议
    作曲家

    我安装了以上所有内容,但仍然面临多个错误。

    你能给我一些建议吗?

    /bin/sh: xor: command not found
    /bin/sh: xor: command not found
    /bin/sh: xor: command not found
    /bin/sh: xor: command not found
    /bin/sh: xor: command not found
    /bin/sh: xor: command not found
    go install mvdan.cc/[email protected]
    go install github.com/s77rt/xor/cmd/xor@latest
    cd cert && bash gen.sh
    Generating a RSA private key
    ...........................................................................................++++
    ..................................++++
    writing new private key to 'server-key.pem'
    -----
    rm -rf proto/go && mkdir -p proto/go && touch proto/go/.keep
    cd proto/go && go mod init github.com/s77rt/rdpcloud/proto/go
    go: creating new go.mod: module github.com/s77rt/rdpcloud/proto/go
    protoc --proto_path=proto/proto --go_out=proto/go --go_opt=paths=source_relative --go-grpc_out=proto/go --go-grpc_opt=paths=source_relative proto/proto/*/*/*.proto
    google/protobuf/timestamp.proto: File not found.
    models/msi/product.proto: Import "google/protobuf/timestamp.proto" was not found or had errors.
    models/msi/product.proto:14:9: "google.protobuf.Timestamp" is not defined.
    make: *** [Makefile:55: gen-go] Error 1
    
    0 回复  |  直到 2 年前