私はubuntuでprotobufでコンパイルできませんでした。ここでエラーがある:Protobuf on Ubuntuがコンパイルされていません
error: #error This file was generated by a newer version of protoc which is #error This file was generated by a newer version of protoc which is ^ build/x86_64/gen/rtbkit/plugins/exchange/realtime-bidding.pb.h:13:2: error: #error incompatible with your Protocol Buffer headers. Please update #error incompatible with your Protocol Buffer headers. Please update ^ build/x86_64/gen/rtbkit/plugins/exchange/realtime-bidding.pb.h:14:2: error: #error your headers. #error your headers. ^ In file included from build/x86_64/gen/rtbkit/plugins/exchange/realtime- bidding.pb.cc:5:0: build/x86_64/gen/rtbkit/plugins/exchange/realtime-bidding.pb.h:26:55: fatal error: google/protobuf/generated_enum_reflection.h: No such file or directory #include ^
私はそれを削除し、それはまだこれがいるProtobufに共通の問題であるいるProtobuf 2.5
私はヘッダーを確認しました。#if GOOGLE_PROTOBUF_VERSION <2005000新しいバージョン2.6.1をインストールしました。今回は:kEmptyStringはgoogle :: protobuf :: Internal @Gibeのメンバーではありません –
2.5バージョンが動作しています。ありがとう! –