Robotics StackExchange | Archived questions

Older version of protoc which is incompatible with your Protocol Buffer headers

I'm trying to install gazeborospkgs on ROS Indigo with the debian version of Gazebo 2.2. However, I'm getting lots of error due to mismatched protobuf header versions:

This file was generated by an older version of protoc which is incompatible with your Protocol Buffer headers

I'm using libprotobuf 2.5.0-9, the latest in Ubuntu 14.04. I've googled and tried lots of things but can't get the versions to match. Any insights on how to do this without installing Gazebo from source?

Thanks!

Asked by davetcoleman on 2015-12-07 15:15:49 UTC

Comments

Dave, which steps did you do to reach the error message?

Asked by Jose Luis Rivero on 2015-12-17 11:17:51 UTC

It was caused by different versions of protoc being installed on my system. I tried to manually remove them but there seemed to be some files that were still causing protoc to segfault. In the end I reinstalled my entire Ubuntu machine and it worked fine after that.

Asked by davetcoleman on 2015-12-17 12:08:01 UTC

Answers