Protobuf version error on Ubuntu 18.04 and gazebo9

asked 2018-07-24 15:37:33 -0500

khancyr gravatar image

updated 2018-07-24 15:40:30 -0500

Hello,

I try to build an external plugin with gazebo9 on ubunut 8.04 form OSRF repo and it fails with many error like "/usr/include/ignition/msgs1/ignition/msgs/color.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"

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04 LTS
Release:    18.04
Codename:   bionic

dpkg -l | grep gazebo9 
ii  gazebo9                           9.2.0-1~bionic              amd64        Open Source Robotics Simulator
ii  gazebo9-common            9.2.0-1~bionic              all                Open Source Robotics Simulator - Shared files
ii  gazebo9-plugin-base       9.2.0-1~bionic              amd64        Open Source Robotics Simulator - base plug-ins
ii  libgazebo9:amd64           9.2.0-1~bionic              amd64        Open Source Robotics Simulator - shared library
ii  libgazebo9-dev:amd64    9.2.0-1~bionic              amd64        Open Source Robotics Simulator - Development Files

dpkg -l | grep protobuf                                                 2 ↵
ii  libmirprotobuf3:amd64          0.31.1-0ubuntu1                     amd64        Display server for Ubuntu - RPC definitions
ii  libprotobuf-dev:amd64          3.0.0-9.1ubuntu1                    amd64        protocol buffers C++ library (development files)
ii  libprotobuf-lite10:amd64       3.0.0-9.1ubuntu1                    amd64        protocol buffers C++ library (lite version)
ii  libprotobuf10:amd64             3.0.0-9.1ubuntu1                    amd64        protocol buffers C++ library
ii  protobuf-c-compiler               1.2.1-2                                    amd64        Protocol Buffers C compiler (protobuf-c)
ii  protobuf-compiler                  3.0.0-9.1ubuntu1                    amd64        compiler for protocol buffer definition files
ii  python3-protobuf                   3.0.0-9.1ubuntu1                    amd64        Python 3 bindings for protocol buffers

Issue open on gazebo repo too : https://bitbucket.org/osrf/gazebo/iss...

edit retag flag offensive close merge delete