Protocol Buffer Error on compile during GOOGLE_PROTOBUF_MIN_PROTOC_VERSION check
Protocol Buffer Error on compile during GOOGLE_PROTOBUF_MIN_PROTOC_VERSION check
出现这个问题 一般是安装了多个版本 protobuf
https://blog.csdn.net/weixin_44966641/article/details/122354782
一般排查方法:
protoc --version
libprotoc 2.6.1
查看 这个头文件对 protobuf 版本要求
/usr/include/google/protobuf/stubs/common.h
or
/usr/local/include/google/protobuf/stubs/common.h
find ~/ -name "common.h" |grep protobuf