C/C++编程:Protobuf 使用_protobuf c++_OceanStar的学习笔记的博客-CSDN博客
c++ protobuf中repeated类型使用——序列化_protobuf repeated_咲之的博客-CSDN博客
https://github.com/CodeColdCook/cloud_ecal_receive
ecal官网 demo
https://eclipse-ecal.github.io/ecal/index.html
proto文件生成cc和h文件
protoc.exe addressbook.proto --cpp_out=.
ubuntu 下如果编译报错xxx.pb.h: fatal error: google/protobuf/port_def.inc: no such file or directory
说明protoc 与 头文件版本不匹配,port_def.inc是protobuf3.7.0版本之后才有的,需要使用ubuntu下的proto重新生成
protoc -I=. --cpp_out=. addressbook.proto