美文网首页
Protobuf编译

Protobuf编译

作者: BobWong | 来源:发表于2016-04-19 10:30 被阅读130次

1.下载
由于现在protobuf-2.5.0.tar.gz已经无法在官网https://code.google.com/p/protobuf/downloads/list中下载了,有大神将protobuf-2.5.0.tar.gz上传到百度云盘供大家下载,地址: http://pan.baidu.com/s/1pJlZubT如果链接无法下载可以到这里http://pan.baidu.com/s/1o8nbfZW

2.设置编译输出目录
cd protobuf-2.5.0 进入目录
命令行
./configure -prefix=/Users/nbob/Desktop/proto_output
这我设置编译输出目录为我的桌面上的proto_output文件夹
3.编译
命令行
make && make install
4.设置环境变量
命令行

Paste_Image.png

按i进入编辑模式
新增PROTOCPATH并修改PATH

Paste_Image.png

5.设置立即生效

Paste_Image.png

6.查看

Paste_Image.png

相关文章

  • build protobuf,交叉编译protobuf-c

    1,编译protobuf 可以在protobuf git上面找到PC上,比如ubuntu下编译protobuf的方...

  • FDBUS编译和使用

    源码下载 下载和编译protobuf fdbus的序列化使用了protobuf。 下载和编译fdbus 编译fdb...

  • 训练中的问题与解决

    一 caffe 编译问题 集合 编译caffe protobuf 未定义应用问题,是protobuf库冲突的问题...

  • protobuf编译安装

    准备知识 protobuf简介 protobuf官方编译说明 编译安装 Linux下直接按照官方文档操作即可 Ma...

  • mac中安装protobuf环境

    下载对应的protobuf编译包 下载地址:protobuf编译包下载地址找到你要下载的版本下载完解压出来 编译&...

  • Protobuf的一个链接错误

    Xcode 中编译protobuf, 编译没有问题,上层库链接protobuf库的时候报6链接错误 : 排查:函...

  • golang 使用 protobuf

    安装 protobuf 编译器 下载对应平台https://github.com/google/protobuf/...

  • 用Cmake生成protoc.exe(protobuf编译器)

    protobuf编译器可以把,proto文件编译成对应语音类型的脚本文件。编译器可以直接在Protobuf的Git...

  • 嵌入式开发中使用protobuf

    1. 编译安装protobuf工具 如果Ubuntu中缺省的protobuf工具不符合要求,则需要自己编译prot...

  • Protobuf编译

    1.下载由于现在protobuf-2.5.0.tar.gz已经无法在官网https://code.google.c...

网友评论

      本文标题:Protobuf编译

      本文链接:https://www.haomeiwen.com/subject/wfoalttx.html