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

Instructions unclear nothing works and I don't know why. Please help #8

Open
Jacky-steve opened this issue Nov 17, 2022 · 0 comments
Open

Comments

@Jacky-steve
Copy link

Hello I am trying to install YDLidar ROS driver and when I input the command catkin_make It gets half way and fails due to a missing dependency "std_srvs/Empty.h" the terminal looks like this

ydlidar_ws $ sudo catkin_make
Base path: /home/jack/ydlidar_ws
Source space: /home/jack/ydlidar_ws/src
Build space: /home/jack/ydlidar_ws/build
Devel space: /home/jack/ydlidar_ws/devel
Install space: /home/jack/ydlidar_ws/install

Running command: "make cmake_check_build_system" in "/home/jack/ydlidar_ws/build"

Running command: "make -j4 -l4" in "/home/jack/ydlidar_ws/build"

[ 50%] Building CXX object ydlidar_ros_driver/CMakeFiles/ydlidar_ros_driver_node.dir/src/ydlidar_ros_driver.cpp.o
/home/jack/ydlidar_ws/src/ydlidar_ros_driver/src/ydlidar_ros_driver.cpp:29:10: fatal error: std_srvs/Empty.h: No such file or directory
29 | #include "std_srvs/Empty.h"
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [ydlidar_ros_driver/CMakeFiles/ydlidar_ros_driver_node.dir/build.make:82: ydlidar_ros_driver/CMakeFiles/ydlidar_ros_driver_node.dir/src/ydlidar_ros_driver.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:269: ydlidar_ros_driver/CMakeFiles/ydlidar_ros_driver_node.dir/all] Error 2
make: *** [Makefile:160: all] Error 2
Invoking "make -j4 -l4" failed

So from what I gather std_srvs/Empty.h does not exist and I'm not sure how to make it exist. Any help is welcome.

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