syroco/orca

Error compiling gazebo-related examples

Closed this issue · 1 comments

Hello,
I am currently trying to recreate the gazebo-examples. I installed the dependencies and gazebo via the Guide. When trying to build and run examples involving gazebo i get an error stating that certain header files can not be found. For example gazebo/common/common.hh. This has been solved by creating symbolic links in /usr/local/include (for gazebo) to the correct forlder(s). However, if i now try to compile and run a code using #include <orca/gazebo/GazeboServer.h> or #include <orca/gazebo/GazeboModel.h> it does not run. (note " Test01" is the executable).
Via the debugger i extracted the following information:
_terminate called after throwing an instance of 'gazebo::common::Exception'

Thread 1 "Test01" received signal SIGABRT, Aborted.
_GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
50 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.

In the CMakeLists.txt i added the following to get gazebo included:
find_package(gazebo REQUIRED)
include_directories(${GAZEBO_INCLUDE_DIRS})
target_link_libraries(${PROJECT_NAME} ${GAZEBO_LIBRARIES})
link_directories(${GAZEBO_LIBRARY_DIRS})

If more information is needed, please let me know
Please advise how to proceed

Thanks in advance
Greetings

This turned out to be a linux install related issue. I will close it.