cartographer-project / cartographer

Cartographer is a system that provides real-time simultaneous localization and mapping (SLAM) in 2D and 3D across multiple platforms and sensor configurations.
Apache License 2.0
7.13k stars 2.25k forks source link

protobuf compatible with gazebo_plugin_actor_collision #1787

Open sai5555 opened 3 years ago

sai5555 commented 3 years ago

Hi all When I build the following code , I found build fail due to version of protobuf. https://github.com/LCAS/iliad/tree/master/gazebo_plugin_actor_collision cartographer need protoc version is 3.4.0. but gazebo_plugin_actor_collision must be 3.0.0. If I use 3.0.0 to build gazebo_plugin_actor_collision successful , it build fail for cartographer, and vice versa. How I solve it ?

kay01-kwon commented 3 years ago

Even though it is cumbersome due to compatibility, you have to erase protobuf-3.4.0 and install protobuf-3.0.0 again to build gazebo and then remove 3.0.0 and reinstall 3.4.0 again to build cartographer. You cannot build both simultaneously because of gazebo's compatibility issue.