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://stackoverflow.com/questions/35744529/protocol-buffer-error-on-compile-during-google-protobuf-min-protoc-version-check

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
posted @   michaelchengjl  阅读(19)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
点击右上角即可分享
微信分享提示