永发信息网

unable to find protobuf include directory怎么办

答案:2  悬赏:0  手机版
解决时间 2021-02-06 19:30
  • 提问者网友:欲劫无渡
  • 2021-02-06 10:52
unable to find protobuf include directory怎么办
最佳答案
  • 五星知识达人网友:刀戟声无边
  • 2021-02-06 12:16
现在它是支持的。
proto2的文档就已经提到了Maps(Language Guide),但我用protoc2.6编译的时候,map关键字无法通过编译,protoc3.0编译正常,proto举例:

message Person {
required int32 id = 1;
required string name = 2;
optional string email = 3;
map values= 4;
}
全部回答
  • 1楼网友:荒野風
  • 2021-02-06 12:34
搜一下:unable to find protobuf include directory怎么办
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯