Suoivy / ros_rslidar_robosense

Robosense RS-Lidar driver and visualization tools based on ROS
15 stars 12 forks source link

-j2 -l2 failed #1

Open thendy opened 6 years ago

thendy commented 6 years ago

hi mate i have try to install with Ubuntu 14.04 in NUC also have install the ROS indigo but in the clone to src folder and install have failed after catkin_make

[ 65%] Building CXX object ros_rslidar/rslidar_driver/src/CMakeFiles/rslidar_input.dir/input.cc.o In file included from /home/puma/catkin_ws/src/ros_rslidar/rslidar_driver/src/input.cc:26:0: /home/puma/catkin_ws/src/ros_rslidar/rslidar_driver/src/input.h:32:18: fatal error: pcap.h: No such file or directory

include

              ^

compilation terminated. make[2]: [ros_rslidar/rslidar_driver/src/CMakeFiles/rslidar_input.dir/input.cc.o] Error 1 make[1]: [ros_rslidar/rslidar_driver/src/CMakeFiles/rslidar_input.dir/all] Error 2 make[1]: Waiting for unfinished jobs.... [ 70%] Building CXX object ros_rslidar/rslidar_pointcloud/src/CMakeFiles/rslidar_data.dir/rawdata.cc.o Linking CXX shared library /home/puma/catkin_ws/devel/lib/librslidar_data.so [ 70%] Built target rslidar_data make: [all] Error 2 Invoking "make -j2 -l2" failed

please advice...

Thanks

Suoivy commented 6 years ago

You haven't installed the libpcap. The pcap.h file can not be found when compiled. You can use this command to install libpcap: yum install libpcap-devel

thendy commented 6 years ago

thanks.. it's work

and please can you let me know how if i wan't to make LOAM in streaming and save the point cloud in PCD/ PLY / LAS file?

thanks

Suoivy commented 6 years ago

Is it your problem that you cannot read pointcloud data into LOAM?