一.下载和安装
参考
http://blog.csdn.net/linshuhe1/article/details/70186603
https://www.owent.net/2017/1470.html
- 使用云风自己写的c版本pbc
https://github.com/cloudwu/pbc.git
但是不支持protbuf3.0以上版本
- 使用楼上pbc改版
https://github.com/owent-contrib/pbc.git
- 安装
cd pbc
sudo make
cd binding/lua53
make
安装前须安装 lua5.3并且修改
LUADIR = /usr/local/src/lua

本文介绍了如何在skynet环境中安装protobuf,包括下载、安装c版本的pbc库,解决与protobuf3.0及以上版本的兼容问题,以及如何处理在skynet中调用时遇到的错误,通过修改skynet的Makefile进行编译。

2456

被折叠的 条评论
为什么被折叠?



