学习运用google protobuf 使用
下载源码https://github.com/google/protobuf
如果是直接git的源码 按照src README.md 要求执行 ./autogen.sh 报错:autoreconf: /usr/bin/autoconf failed with exit status: 1
我的系统是centos 6 执行 yum install libtool 后 再执行 ./autogen.sh 成功
执行make 在执行make 指令出现 在文件从./google/protobuf/any.pb.h:25包括,
从谷歌/的protobuf / any.pb.cc:5:
./google/protobuf/metadata.h:在构造'谷歌:: protobuf的::内部:: InternalMetadataWithArena :: InternalMetadataWithArena(谷歌:: protobuf的竞技场:: *)':