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 in ROS2 humble #46

Open
abdul-mannan-khan opened this issue Jan 9, 2025 · 0 comments
Open

Error in ROS2 humble #46

abdul-mannan-khan opened this issue Jan 9, 2025 · 0 comments

Comments

@abdul-mannan-khan
Copy link

I am facing a problem in installing this package for ROS2 humble. It says that some headerfiles are not there.

--- stderr: openslam_gmapping
/home/mannan/ros2_ws/src/wheeltec_robot_slam/openslam_gmapping/sensor/sensor_base/sensor.cpp:1:10: fatal error: gmapping/sensor/sensor_base/sensor.h: No such file or directory
    1 | #include <gmapping/sensor/sensor_base/sensor.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
gmake[2]: *** [sensor/sensor_base/CMakeFiles/sensor_base.dir/build.make:76: sensor/sensor_base/CMakeFiles/sensor_base.dir/sensor.cpp.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
/home/mannan/ros2_ws/src/wheeltec_robot_slam/openslam_gmapping/sensor/sensor_base/sensorreading.cpp:1:10: fatal error: gmapping/sensor/sensor_base/sensorreading.h: No such file or directory
    1 | #include <gmapping/sensor/sensor_base/sensorreading.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
gmake[2]: *** [sensor/sensor_base/CMakeFiles/sensor_base.dir/build.make:90: sensor/sensor_base/CMakeFiles/sensor_base.dir/sensorreading.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:314: sensor/sensor_base/CMakeFiles/sensor_base.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2

I have installed

sudo apt install ros-humble-slam-toolbox

however, it did not resolve the problem. Can you suggest me some relevant libraries which would solve this problem? Thank you.

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