grpc c++开发需要安装相关工具以及框架才能进行开发。
rz 远程上传文件
本地开发环境搭建:
1、编译相关工具 pkg-config autoconf automake Libtool shtool gflags等,后边会进行相关介绍,介绍文章来自于网络。
2、需要安装grpc编译按照后边文章编译并进行安装,protocol buffer建议按照第三方插件安装避免与grpc安装版本不匹配。
3、编译例子程序,能够正确编译运行说明程序没有问题。
4、通过例子程序扩展进行自己业务开发。
线上部署主要docker环境下:
pkg-config:
简介:
https://www.tianmaying.com/tutorial/pkgconfig
makefile文件:
介绍
https://seisman.github.io/how-to-write-makefile/introduction.html
autoconf automake
介绍
http://www.laruence.com/2009/11/18/1154.html
Libtool
介绍
https://zh.wikipedia.org/wiki/Libtool
https://www.ibm.com/developerworks/cn/aix/library/1007_wuxh_libtool/index.html
shtool
介绍
https://www.gnu.org/software/shtool/
gflags
介绍
https://blog.csdn.net/jcjc918/article/details/50876613
Protocol Buffer
介绍
https://www.ibm.com/developerworks/cn/linux/l-cn-gpb/index.html