proto文件:
syntax = "proto3"; package Im; message Content { int32 id = 1; string str = 2; optional int32 opt = 3; }
编译语句:
protoc ./Mymessage.proto --cpp_out=./test
我也遇到了这个问题,有贵人能出手相助一下吗