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

asked 2015-12-07 14:15:49 -0600

davetcoleman gravatar image

I'm trying to install gazebo_ros_pkgs 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!

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by davetcoleman
close date 2015-12-17 11:08:59.525253

Comments

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

Jose Luis Rivero gravatar imageJose Luis Rivero ( 2015-12-17 10:17:51 -0600 )edit

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.

davetcoleman gravatar imagedavetcoleman ( 2015-12-17 11:08:01 -0600 )edit