YDLIDAR / YDLidar-SDK

Driver for receiving YD LiDAR data and more...
Other
119 stars 221 forks source link

build folder is not seen in the YDLidar-SDK #16

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.

Moha-med1 commented 2 years ago

Try cd YDLidar-SDK/src instead of cd YDLidar-SDK/build

thehamzan6 commented 2 years ago

I created the build folder and continued as described and all was good.