Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error compiling gazebo-related examples #17

Closed
RemcoVDoorn opened this issue Jan 23, 2020 · 1 comment
Closed

Error compiling gazebo-related examples #17

RemcoVDoorn opened this issue Jan 23, 2020 · 1 comment

Comments

@RemcoVDoorn
Copy link

RemcoVDoorn commented Jan 23, 2020

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

@RemcoVDoorn
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant