can't load plugin in gazebo7 on macOS

asked 2016-12-22 10:40:25 -0600

GlenH gravatar image

I'm following the "Custom Messages" tutorial on the Gazebo tutorials website. When I try to launch gazebo with a custom world that includes my plugin, I get the following cryptic error message:

aes048076:build glenhenshaw$ gazebo -u ../worlds/
[libprotobuf ERROR google/protobuf/] File already exists in database: altimeter.proto
[libprotobuf FATAL google/protobuf/] CHECK failed: generated_database_>Add(encoded_file_descriptor, size): 
libc++abi.dylib: terminating with uncaught exception of type google::protobuf::FatalException: CHECK failed: generated_database_->Add(encoded_file_descriptor, size):

Some googling of this error seems to indicate that somehow I've inadvertently linked two copies of the protobuf library into my plugin, or I've linked in two copies of "".

I don't use "" anywhere that I can see. I certainly don't use it explicitly. And the linking is all being managed by cmake, as per the tutorial instructions.

Any help would be appreciated here, I've been beating my head against this for three days now...

edit retag flag offensive close merge delete