ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Error installing sicktoolbox_wrapper in noetic

asked 2021-06-09 03:03:56 -0500

Hey,

I have ubuntu 20.04 and ROS Noetic. I am trying to install sicktoolbox_wrapper on it using the following tutorial [https://github.com/ros-drivers/sickto...]

But when i do catkin_make, i get the following error

   -- ==> add_subdirectory(sicktoolbox_wrapper)
CMake Error at /home/dreenot/simulation_ws/devel/share/sicktoolbox/cmake/sicktoolboxConfig.cmake:113 (message):
  Project 'sicktoolbox' specifies
  '/home/dreenot/simulation_ws/src/sicktoolbox/include' as an include dir,
  which is not found.  It does neither exist as an absolute directory nor in
  '/home/dreenot/simulation_ws/src/sicktoolbox//home/dreenot/simulation_ws/src/sicktoolbox/include'.
  Check the issue tracker 'https://github.com/ros-drivers/sicktoolbox/issues'
  and consider creating a ticket if the problem has not been reported yet.
Call Stack (most recent call first):
  /opt/ros/noetic/share/catkin/cmake/catkinConfig.cmake:76 (find_package)
  sicktoolbox_wrapper/CMakeLists.txt:4 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/dreenot/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/dreenot/catkin_ws/build/CMakeFiles/CMakeError.log".
make: *** [Makefile:712: cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed

Any help would be greatly appreciated. thank you

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-06-10 07:00:11 -0500

Joe28965 gravatar image

So the error states that /home/dreenot/simulation_ws/src/sicktoolbox/include is specified somewhere as an include directory. However, the error also states that the directory does not exist on your computer.

Step 1 would be to check if this is indeed the case. If you look at the repo (on the link you posted) you can see that there should be an include folder in the repository. However, for some reason you don't seem to have that one. Maybe something went wrong when you cloned it?

Something I noticed as well, is that in your link, they tell you to clone the sicktoolbox from

https://github.com/SantoshBanisetty/s...

However, that seems to be a fork from another repo:

https://github.com/ros-drivers/sickto...

I am not sure why they tell you to clone the fork instead. You might want to remove the sicktoolbox folder and clone the second one that I posted, to see if that works.

Another small note, the sick toolbox does not seem to exist for anything newer than ROS Indigo. This does not necessarily mean you won't be able to build it. However, do keep that in mind. This error on the other hand, should not depend on that.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2021-06-09 03:03:56 -0500

Seen: 152 times

Last updated: Jun 10 '21