是否有一种模式可以使用协议缓冲区而不针对LibProtobuf链接
Is there a mode in which protocol buffers can be used without linking against libprotobuf?
我希望能够在用户加载的动态C 模块中使用协议缓冲器,但不需要该用户也安装了libprotobuf。
目前,我正在考虑搬到Flatbuffers,通过仅标头解决方案提供此类模式。
协议缓冲区是否存在这种方法?
是的,您只需要在协议缓冲区库中静态链接到.dll
相关文章:
- 如何在cpp.中使用协议缓冲区存储大缓冲区/数组(char/int)
- 从原始字节解码协议缓冲区(以 C++为单位)
- 如何使用ZeroMQ为协议缓冲区编写自己的RPC实现
- 协议缓冲区字符串字段的文本编码
- 构建使用协议缓冲区(不含 APK)的 Android 可执行 gRPC 服务器
- 无法使用 ReadBinaryProto Tensorflow 加载协议缓冲区
- 协议缓冲区的静态链接会导致与现有符号冲突
- 协议缓冲区ParseFromString不检查消息结尾
- 与Qt交叉编译到Raspberry Pi 3B+通讯录(协议缓冲区)-错误符号查找错误
- 编译的谷歌协议缓冲区不工作(C++)
- 使用协议缓冲区创建通用反序列化程序
- 在协议缓冲区 c++ 中反序列化字符串数组
- 使用升压缓冲区使用 UDP 协议进行序列化和发送
- 带有类成员的 pybind11 缓冲区协议
- 如何释放协议缓冲区内存
- 协议缓冲区错误版本
- 协议缓冲区#3将消息从c ++发送到c#
- 该程序是针对协议缓冲区运行时库的2.6.1版本编译的,该版本与已安装的版本(3.5.0)不兼容
- 浅拷贝到协议缓冲区的字节字段中
- Cython缓冲区协议示例错误