您的当前位置:首页正文

protocbuff

来源:化拓教育网

1.进入需要转换的文件本身所在文件夹
2.确认已安装protoc插件
3.执行
protoc --plugin=/usr/local/bin/protoc message.proto --cpp_out="./"