ROS CPP needs protobuf library - but there are multiple Versions [closed]

asked 2020-08-17 03:56:00 -0500

MatRad gravatar image

updated 2022-06-05 11:40:02 -0500

lucasw gravatar image


the following error occured by starting my hand written testnode. I am pretty sure, the problem is caused by using #include "gazebo/gazebo.hh".

[libprotobuf FATAL google/protobuf/stubs/] This program requires version 3.12.0 of the protocol Buffer runtimer library, but the installed version is 3.0.0. Please update the library. [...]

Using protoc --version yields in libprotoc 3.12.3 after installing protbuf library from github. But using pip show protobuf results in 3.6.0. And pip3 show protobuf tells me the version 3.0.0.

My Question: How to handle this problem? Do you have any suggestion?

I am developing under Ubuntu 18.04 with ROS Melodic and Gazebo 9.

edit retag flag offensive reopen merge delete

Closed for the following reason Gazebo Question: The Gazebo community prefers to answer questions at: by gvdhoorn
close date 2020-08-17 09:44:11.169997


ROS (ie: roscpp) does not depend on Protobuf. Gazebo does.

Please post questions about Gazebo on the Gazebo Answers site.

If/when you do, please post a comment here with a link to your Gazebo Answers question, so we can keep things connected.

gvdhoorn gravatar image gvdhoorn  ( 2020-08-17 09:45:01 -0500 )edit