우분투에서 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 버전이 작동하지만, 감사! –