File already exists in database: time.proto in protobuf/descriptor_database erroor?

asked 2016-04-21 09:50:03 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Hi all,

I’m doing the Contact Sensor tutorial In executing the

cd ~/gazebo_contact_tutorial/build;
gzserver ../

I get the error:

[libprotobuf ERROR google/protobuf/] File already exists in database: time.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): 
Abort trap: 6

My CMakeLists.rxr is:

cmake_minimum_required(VERSION 2.8 FATAL_ERROR)

find_package(gazebo REQUIRED)


add_library(contact SHARED
target_link_libraries(contact ${GAZEBO_LIBRARIES} ${Boost_LIBRARIES})


The OS is Mac Yosemite. Gazebo is 6.0. My cmake and make has no errors.

Any help is appreciated.

edit retag flag offensive close merge delete


I have similar error. But for message "File already exists in database: vector3d.proto".

Petro gravatar imagePetro ( 2016-05-18 08:06:13 -0500 )edit