![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
protobuf
Q446512799
linux、c、tuxedo、oracle、perl、python、postgres
展开
-
mac上编译openssl及使用protobuf遇到问题及解决
mac上安装软件可以通过brew install安装编译openssl报错找不到malloc.h解决方法:将报错文件中#include <malloc.h>修改为#include <sys/malloc.h>The pkg-config script could not be found or is too old”brew install pkg-configconfigure: error: Package requirements (protobuf >原创 2021-06-09 11:12:07 · 552 阅读 · 2 评论 -
c语言grpc
安装见https://blog.csdn.net/linimbus/article/details/90720086testone.protosyntax = "proto3";package testone;service Greeter { rpc MyTestOne (HelloRequest) returns (HelloReply) {}}message HelloRequest { string name = 1;}message HelloReply {原创 2021-02-03 15:09:34 · 4067 阅读 · 12 评论 -
python使用protobuf
#安装tar zxvf protobuf-python-3.5.1.tar.gzcd protobuf-3.5.1./configuremakemake checkmake install#验证protoc --version#安装python protobuf模块cd pythonpython setup.py install#编写kms_sdk.proto文件#生成kms_sdk_pb2.pyprotoc -I=./ --python_out=./ kms_.原创 2020-05-27 15:45:06 · 223 阅读 · 0 评论