在linux中编译grpc
与库名一一对应。
其他版本可能都不兼容, 二、安装 #安装gcc和g++ yum install -y gcc gcc-c++ #安装automake yum install -y automake libtool libsysfs-dev 三、编译 修改grpc-1.2.0/Makefile文件(主要是LIBBORINGSSL_SRC变量), , 将依赖库解压至third_party下的子目录内, 1)下载grpc源代码 grpc-1.2.0.zip(https://github.com/grpc/grpc/archive/v1.2.0.zip) 2)下载grpc依赖库: 1)benchmark-master.zip(https://github.com/google/benchmark/archive/master.zip) 2)boringssl-2924.tar.gz(https://boringssl.googlesource.com/boringssl/+archive/2924.tar.gz) 3)gflags-master.zip(https://github.com/gflags/gflags/archive/master.zip) 4)googletest-master.zip(https://github.com/google/googletest/archive/master.zip) 5)protobuf-master.zip(https://github.com/google/protobuf/archive/master.zip) 6)thrift-master.zip(https://github.com/apache/thrift/archive/master.zip) 7)zlib-master.zip(https://github.com/madler/zlib/archive/master.zip) 注意必须使用boringssl库必须使用boringssl-2924.tar.gz这个版本,即可编译成功,增加一行内容: 然后使用make命令,最后的目录大致如图所示,。
相关热词:
本站内容来源于网络,如有侵权请与我们联系,我们会及时删除,我们深感抱歉!
注:本站所有信息仅供用于网络技术学习参考,学习中请遵循相关法律法规!
本文地址: https://v30.fanwenzhu.com/server/guanli/11362.shtml
相关文章
热门TAG
win10 ecshop 主机 阿里云 解决 配置 C# C++ 解析 SQL语句 命令 Go语言 方法 CSS3 HTML5 CSS win7 MSSQL 服务器配置 IIS7.5 IIS7 IIS6 IIS CentOS 7 Linux oracle数据库 oracle phpcms discuz discuz教程最新文章
-
显著提升的替代品的不断
时间:2021-01-23
-
在Linux中查找用户帐户信息
时间:2021-01-23
-
AstroMenace游戏的主要风格特
时间:2021-01-23
-
让被命中的家伙会一次用
时间:2021-01-23
-
原本腾讯有提供Linux版本的
时间:2021-01-23
-
升级内核是其中最有效的
时间:2021-01-23
-
在一些独特的功能
时间:2021-01-23
-
你至少需要安装两个包:
时间:2021-01-23
热门文章
-
月亮播放器:Linux无广告看片神器
时间:2020-12-23
-
六大理由告诉你为什么GNOME仍然是最好的
时间:2020-12-23
-
输入 servera 的 root 密码
时间:2021-01-16
-
5款最酷的Linux终端模拟器
时间:2020-12-22
-
如何为Linux配置双显卡
时间:2020-12-28
-
原本腾讯有提供Linux版本的安装包的
时间:2021-01-23
-
在MacBook Air上安装Fedora 26
时间:2020-12-26
-
如何以LaTex创建文档
时间:2020-12-26
-
我是如何开始我的Linux之旅的
时间:2020-12-23
-
以及它们在 Linux 和 Windows 容器之间的区别
时间:2021-01-21
