[关闭]
@daaoling 2016-12-03T09:58:51.000000Z 字数 425 阅读 2207

protobuff

ProtoBuff Env Setting

download from https://github.com/google/protobuf/releases
now version is 2.6.1

windows install 下很方便

image_1b321bj7eumfia6q2mffpd9.png-35.9kB

已经编译好了protoc放在protobuf-2.6.1/src目录下

然后如果要安装python环境的话,
cd python

python steup.pu build
python steup.pu install 

mac 需要自己编译protoc

不然报错提醒

protoc is not installed nor found in ../src.  Please compile it or install the binary package.

cd protobuf-2.6.1

./configure
make
make check
make install

cd python

sudo python steup.pu build
sudo python steup.pu install 
添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注