ubuntu编译google protobuf
来源:互联网 发布:论坛自动签到软件 编辑:程序博客网 时间:2024/05/17 04:41
1.下载并解压protobuf
下载地址:https://github.com/google/protobuf
2.安装必要软件
sudo apt-get install autoconf automake libtool curl
3.修改autogen.sh文件
将 curl $curlopts -O https://googlemock.googlecode.com/files/gmock-1.7.0.zip
修改为 curl $curlopts -L -o gmock-1.7.0.zip https://github.com/peter-wangxu/gMock/archive/1.7.0.zip
上面的地址是直接使用别人存有mock的git的地址。
具体原因,不说你也懂,大天朝墙,一墙之隔。
4.运行autogen.sh
./autogen.sh
5.编译安装
./configure
make && make install6.执行 sudo ldconfig
7.进入protobu下的python目录,并执行
sudo python setup.py install
第7步如果提示“no moudle name setuptool”,可以使用
sudo apt-get install python-pip
过程中如果碰到其他组件缺失的情况,缺哪个就补哪个,自行安装即可。
0 0
- ubuntu编译google protobuf
- 交叉编译 google protobuf
- 交叉编译 google protobuf
- 交叉编译 google protobuf
- ubuntu下编译protobuf
- ubuntu下编译protobuf
- ubuntu下编译protobuf
- ProtoBuf Ubuntu 中编译
- ubuntu编译protobuf库
- google/protobuf--VS2015编译、使用
- protobuf 最新版本编译 Google Protobuf 3.0.1
- Ubuntu 15.04 安装google protobuf步骤
- google protobuf
- Google ProtoBuf
- protobuf (GOOGLE)
- google protobuf
- google protobuf
- 【google protobuf】
- 第一个java应用程序
- 为WildFly AS 10中的Liferay Portal 6.2配置JOSSO Agent
- locationInView
- 序列化和反序列化
- c++虚函数实现
- ubuntu编译google protobuf
- Linux下显示IP地理位置信息的小工具-nali
- 机器学习中的数据清洗与特征处理综述
- C#中CopyTo()和Clone()的区别
- 实现计算机功能
- 美团推荐算法实践
- 如何成为一个架构师
- 贪心算法知识(一)
- dfs实现迷宫