Livox-SDK / livox_ros_driver

Livox device driver under ros, support Lidar Mid-40, Mid-70, Tele-15, Horizon, Avia.
Other
363 stars 203 forks source link

Compile issue #113

Open arpitsharda opened 2 years ago

arpitsharda commented 2 years ago

I am trying to compile Livox_ros_driver on a windows machine but keep hitting issues with some c header files like terminos, fcntl, unistd, getopt i tried to get the header files from internet but it seems they are specific to linux OS.

after putting termiWin i am getting error like C:\opt\ros\noetic\x64\include\rosbag/message_instance.h(48): note: see declaration of 'rosbag::Bag' D:\Dev\Code\livox_ros_driver-2.6.0\src\livox_ros_driver\livox_ros_driver\lddc.cpp(344): error C2039: 'serial_write': is not a member of 'rosbag::Bag'

Any pointers on compiling on windows is much appriciated.