Protocol Buffers 编译安装使用Protoc2.5 on Centos6.4
来源:互联网 发布:天猫品类销售数据 编辑:程序博客网 时间:2024/06/17 12:15
下载地址:https://code.google.com/p/protobuf/downloads/list
我下载的是protobuf-2.5.0.tar.gz
解压:
$ tar -xzvf protobuf-2.5.0.tar.gz
编译:
$ cd protobuf-2.5.0
$ ./configure
$ make
$ make check
安装:
$ make install
查看是否安装成功
$ protoc --version
libprotoc 2.5.0
使用:
$ protoc -I=输入.proto文件所在的文件夹 --java_out=输出java文件的路径 .proto文件
例如:
protoc --proto_path=src --java_out=build/gen src/foo.proto
2 0
- Protocol Buffers 编译安装使用Protoc2.5 on Centos6.4
- Protocol Buffers 编译安装使用Protoc2.5 on Centos6.4
- 使用 STLport 编译 Protocol Buffers
- 使用Cygwin(下载、安装)编译Protocol Buffers v2.6.1
- Protocol Buffers 安装使用笔记
- Google Protocol Buffers安装、使用二三事
- Google Protocol Buffers安装和使用
- Google Protocol Buffers安装、使用二三事
- Protocol Buffers安装与简单使用
- Protocol Buffers安装与简单使用
- Protocol Buffers安装与简单使用
- Google Protocol Buffers安装
- protocol buffers 安装问题
- Protocol Buffers使用入门
- Java 使用 Protocol Buffers
- Protocol Buffers 使用
- Protocol Buffers使用教程
- Protocol Buffers使用教程
- C++回顾之友元
- select标签 selected 选中状态动态设置
- 本内特,不哭,站撸!
- Java里的线程控制
- REST(Representational State Transfer表述性状态转移)
- Protocol Buffers 编译安装使用Protoc2.5 on Centos6.4
- 共享库
- 使用hibernate模拟触发器&拦截器方式
- 五十二 对于按位存储的编译器优化
- LeetCode - Word Break II
- 缓冲区溢出
- 元宵遇上情人节 8款热门平板送心仪的TA
- 读者调查—合作模式:开元工作模式
- MFC入门学习之控件(5)标签控件List Control的添加和使用(中)