我正在尝试在ubuntu 18.04上编译并收到以下错误-
file.pb.h:17:2: error: #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
protoc --version
libprotoc 3.6.1
来自google/protobuf/stubs/common.h
#define GOOGLE_PROTOBUF_VERSION 3006001
所以看起来版本匹配。 我确实删除了所有旧版本,以防万一使用以下链接 https://www.howtoinstall.co/en/ubuntu/trusty/protobuf-compiler?action=remove
我在这里想念什么?