chengying-agent icon indicating copy to clipboard operation
chengying-agent copied to clipboard

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

Open theseusyang1 opened this issue 3 years ago • 1 comments

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.

theseusyang1 avatar Sep 30 '22 12:09 theseusyang1

下载依赖到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

reaperhero avatar Oct 08 '22 01:10 reaperhero