YDLIDAR / ydlidar_ros_driver

ydlidar driver package under ros
Other
64 stars 54 forks source link

YDLidar-SDK installation help, Its still gives me same error. #5

Open PLEX-GR00T opened 2 years ago

PLEX-GR00T commented 2 years ago

git clone https://github.com/YDLIDAR/YDLidar-SDK.git cd YDLidar-SDK/build cmake .. make sudo make install

Trying to follow the instruction to build the SDK for ROS driver from here. https://github.com/YDLIDAR/ydlidar_ros_driver And ROS driver gives exact same error as mentioned "make cmake_check_build_system" Error. Even though I have download the SDK and did Python API installation.

I am new to ROS too. Am i missing something for how to build SDK. is "cd YDLidar-SDK/build" is workspace or SDK has build folder I don't understand it. Its basics, but give me some hints pls.

Thank you.

RodrigoCatto commented 2 years ago

Hi @PLEX-GR00T

I got the same problem as you described, and I got a solution for that. The instruction make you cd into the /build folder that doesn't exist. Instead, go to the root of the SDK folder and type the following commands:

cmake .
make
sudo make install

Then, procede with the ydlidar_ros_driver installation.