googleprotobufTimestampisnot_defined
# google.protobuf.Timestamp is not defined
错误 "google.protobuf.Timestamp" is not defined.
本质上就是没找到本机protoc目录下protoc\include\google\protobuf\timestamp.proto文件
简单粗暴的将protoc\include\googlegoogle文件夹拷贝过来就好了
- protoc下载地址https://github.com/protocolbuffers/protobuf/releases/

当然也可以将google文件夹加到环境变量里 太麻烦不如复制来的爽快

编辑 (opens new window)
上次更新: 2024-01-10 16:01:00