随笔 - 170  文章 - 0  评论 - 16  阅读 - 35687 

 

1、 git clone https://github.com/protocolbuffers/protobuf.git

2、 然后cd到protobuf目录执行:git submodule update --init --recursive

3、 然后使用yum安装对应的库,yum install autoconf automake libtool curl make g++ unzip,

4、然后执行./autogen.sh,

5、然后执行./configure --prefix=/usr,将protobuf安装到/usr目录,然后使用make进行编译

6、在使用make install进行安装

7、然后输入protoc -v查看版本号

8、然后执行ldconfig命令

posted on   北京开发  阅读(152)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· 阿里巴巴 QwQ-32B真的超越了 DeepSeek R-1吗?
· 【译】Visual Studio 中新的强大生产力特性
· 【设计模式】告别冗长if-else语句:使用策略模式优化代码结构
· AI与.NET技术实操系列(六):基于图像分类模型对图像进行分类
点击右上角即可分享
微信分享提示