DTStack / chengying-agent

EasyAgent is an infrastructure component, applied to manage the life-cycle of services on the remote host.
Apache License 2.0
32 stars 7 forks source link

Error: when compiling project, running`make all` command #4

Open theseusyang1 opened 2 years ago

theseusyang1 commented 2 years ago

Generating protocol codes ... protoc -I=internal/proto -I=/src/ -I=/src/github.com/gogo/protobuf/protobuf/ \ --gogo_out=Mgoogle/protobuf/timestamp.proto=github.com/gogo/protobuf/types,Mgoogle/protobuf/duration.proto=github.com/gogo/protobuf/types,plugins=grpc:internal/proto internal/proto/service.proto /src/: warning: directory does not exist. /src/github.com/gogo/protobuf/protobuf/: warning: directory does not exist. github.com/gogo/protobuf/gogoproto/gogo.proto: File not found. service.proto:7:1: Import "github.com/gogo/protobuf/gogoproto/gogo.proto" was not found or had errors.

reaperhero commented 2 years ago

下载依赖到GOPATH路径下 go get github.com/golang/protobuf/protoc-gen-go go get github.com/gogo/protobuf/protoc-gen-gofast go get github.com/gogo/protobuf/proto go get github.com/gogo/protobuf/jsonpb go get github.com/gogo/protobuf/gogoproto