Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

The solution here we to build protobuf 3.0.0 from source. The ubuntu package installed 3.8.0, which is incorrect since it is incompatible. Not sure how this works gazebo could work on Bionic for anyone...

Luckily, it's incredibly easy. Install protobuf 3.0.0 (from github releases for example) using the cmake install process (not the make process!). In protobuf, go to the cmake subdirectory and do the usual

mkdir build
cd build
cmake ..
make
sudo make install

Then if you're building with cmake, just make sure you either 1) append /usr/local to CMAKE_PREFIX_PATH or set CMAKE_INSTALL_PREFIX=/usr when building proto.

For me, this process installed /usr/local/lib/cmake/protobuf/protobuf-config.cmake, which could be found by catkin (or normal cmake) without messing with system protobuf 3.8.0

The solution here we was to build protobuf 3.0.0 from source. The ubuntu package installed 3.8.0, which is incorrect since it is incompatible. Not sure how this works gazebo could work on Bionic for anyone...

Luckily, it's incredibly easy. Install protobuf 3.0.0 (from github releases for example) using the cmake install process (not the make process!). In protobuf, go to the cmake subdirectory and do the usual

mkdir build
cd build
cmake ..
make
sudo make install

Then if you're building with cmake, just make sure you either 1) append /usr/local to CMAKE_PREFIX_PATH or set CMAKE_INSTALL_PREFIX=/usr when building proto.

For me, this process installed /usr/local/lib/cmake/protobuf/protobuf-config.cmake, which could be found by catkin (or normal cmake) without messing with system protobuf 3.8.0

The solution here was to build protobuf 3.0.0 from source. The ubuntu package installed 3.8.0, 3.8.0 because I was using a Lambda Labs machine which is incorrect since it is incompatible. Not sure how gazebo could work on Bionic requires 3.8.0 for anyone... some other packages

Luckily, it's incredibly easy. Install protobuf 3.0.0 (from github releases for example) using the cmake install process (not the make process!). In protobuf, go to the cmake subdirectory and do the usual

mkdir build
cd build
cmake ..
make
sudo make install

Then if you're building with cmake, just make sure you either 1) append /usr/local to CMAKE_PREFIX_PATH or set CMAKE_INSTALL_PREFIX=/usr when building proto.

For me, this process installed /usr/local/lib/cmake/protobuf/protobuf-config.cmake, which could be found by catkin (or normal cmake) without messing with system protobuf 3.8.0