protobuf 最近使用protobuf,变编译工具时遇上一点问题.现在附上解决方案 编译过程 完全参照 https://github.com/alexeyxo/protobuf-objc 编译出错 遇到如下错误 ./google/protobuf/objectivec-descriptor.pb.h:17:2: error: This file was generated by an older version of protoc which is #error This file was…
1 下载protobuf https://github.com/google/protobuf/releases/download/v2.6.1/protobuf-2.6.1.tar.gz 2 进入下载文件的目录 .tar.gz cd protobuf-/ ./configure make make check sudo make install 我在执行./configure时出现如下问题 Ubuntu: configure error: C++ preprocessor "/lib/cpp…
安装pip, setuptools, and wheel 如果已经从python.org,安装啦Python 2 >=2.7.9 or Python 3 >=3.4 ,那么就已经有啦pip and setuptools, 但是需要升级到最新版本: On Linux or OS X: pip install -U pip setuptools On Windows: python -m pip install -U pip setuptools 安装protobuf pip install pr…