File already exists in database: time.proto in protobuf/descriptor_database erroor?
Hi all,
I’m doing the Contact Sensor tutorial http://gazebosim.org/tutorials?tut=contact_sensor#ContactSensorPlugin In executing the
cd ~/gazebo_contact_tutorial/build;
gzserver ../contact.world
I get the error:
[libprotobuf ERROR google/protobuf/descriptor_database.cc:57] File already exists in database: time.proto
[libprotobuf FATAL google/protobuf/descriptor.cc:1018] 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)
include_directories(${GAZEBO_INCLUDE_DIRS})
link_directories(${GAZEBO_LIBRARY_DIRS})
list(APPEND CMAKE_CXX_FLAGS "${GAZEBO_CXX_FLAGS}")
add_library(contact SHARED ContactPlugin.cc)
target_link_libraries(contact ${GAZEBO_LIBRARIES} ${Boost_LIBRARIES})
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${GAZEBO_CXX_FLAGS}")
The OS is Mac Yosemite. Gazebo is 6.0. My cmake and make has no errors.
Any help is appreciated.
Asked by arnoldb on 2016-04-21 09:50:03 UTC
Comments
I have similar error. But for message "File already exists in database: vector3d.proto".
Asked by Petro on 2016-05-18 08:06:13 UTC