大家好,我用Mac M1 编译master branch的代码,出现了一个 protocol buffer 版本不匹配的错误,错误信息如下:
/Users/darion/doris/be/../gensrc/build/gen_cpp/segment_v2.pb.h:17:2: error: This file was generated by an older version of protoc which is
#error This file was generated by an older version of protoc which is
^
/Users/darion/doris/be/../gensrc/build/gen_cpp/segment_v2.pb.h:18:2: error: incompatible with your Protocol Buffer headers. Please
#error incompatible with your Protocol Buffer headers. Please
^
/Users/darion/doris/be/../gensrc/build/gen_cpp/segment_v2.pb.h:19:2: error: regenerate this file with a newer version of protoc.
#error regenerate this file with a newer version of protoc.
^
In file included from <built-in>:1:
In file included from /Users/darion/doris/be/build_Release/CMakeFiles/pch.dir/cmake_pch_arm64.hxx:5:
In file included from /Users/darion/doris/be/src/pch/pch.h:206:
/Users/darion/doris/be/../gensrc/build/gen_cpp/descriptors.pb.h:17:2: error: This file was generated by an older version of protoc which is
#error This file was generated by an older version of protoc which is
请问怎么修一下?谢谢