You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
make
[ 25%] Building CXX object CMakeFiles/demo_online.dir/demo_online.cpp.o
[ 50%] Linking CXX executable demo_online
CMakeFiles/demo_online.dir/demo_online.cpp.o: In function robosense::lidar::InputPcap::init()': demo_online.cpp:(.text._ZN9robosense5lidar9InputPcap4initEv[_ZN9robosense5lidar9InputPcap4initEv]+0x62): undefined reference to pcap_open_offline'
demo_online.cpp:(.text._ZN9robosense5lidar9InputPcap4initEv[_ZN9robosense5lidar9InputPcap4initEv]+0x11a): undefined reference to pcap_compile' demo_online.cpp:(.text._ZN9robosense5lidar9InputPcap4initEv[_ZN9robosense5lidar9InputPcap4initEv]+0x18c): undefined reference to pcap_compile'
CMakeFiles/demo_online.dir/demo_online.cpp.o: In function robosense::lidar::InputPcap::~InputPcap()': demo_online.cpp:(.text._ZN9robosense5lidar9InputPcapD2Ev[_ZN9robosense5lidar9InputPcapD5Ev]+0x45): undefined reference to pcap_close'
CMakeFiles/demo_online.dir/demo_online.cpp.o: In function robosense::lidar::InputPcap::recvPacket()': demo_online.cpp:(.text._ZN9robosense5lidar9InputPcap10recvPacketEv[_ZN9robosense5lidar9InputPcap10recvPacketEv]+0x5d): undefined reference to pcap_next_ex'
demo_online.cpp:(.text._ZN9robosense5lidar9InputPcap10recvPacketEv[_ZN9robosense5lidar9InputPcap10recvPacketEv]+0x86): undefined reference to pcap_close' demo_online.cpp:(.text._ZN9robosense5lidar9InputPcap10recvPacketEv[_ZN9robosense5lidar9InputPcap10recvPacketEv]+0x116): undefined reference to pcap_open_offline'
demo_online.cpp:(.text._ZN9robosense5lidar9InputPcap10recvPacketEv[_ZN9robosense5lidar9InputPcap10recvPacketEv]+0x19d): undefined reference to pcap_offline_filter' demo_online.cpp:(.text._ZN9robosense5lidar9InputPcap10recvPacketEv[_ZN9robosense5lidar9InputPcap10recvPacketEv]+0x324): undefined reference to pcap_offline_filter'
CMakeFiles/demo_online.dir/demo_online.cpp.o: In function robosense::lidar::InputPcapJumbo::init()': demo_online.cpp:(.text._ZN9robosense5lidar14InputPcapJumbo4initEv[_ZN9robosense5lidar14InputPcapJumbo4initEv]+0x62): undefined reference to pcap_open_offline'
demo_online.cpp:(.text._ZN9robosense5lidar14InputPcapJumbo4initEv[_ZN9robosense5lidar14InputPcapJumbo4initEv]+0x117): undefined reference to pcap_compile' CMakeFiles/demo_online.dir/demo_online.cpp.o: In function robosense::lidar::InputPcapJumbo::~InputPcapJumbo()':
demo_online.cpp:(.text._ZN9robosense5lidar14InputPcapJumboD2Ev[_ZN9robosense5lidar14InputPcapJumboD5Ev]+0x45): undefined reference to pcap_close' CMakeFiles/demo_online.dir/demo_online.cpp.o: In function robosense::lidar::InputPcapJumbo::recvPacket()':
demo_online.cpp:(.text._ZN9robosense5lidar14InputPcapJumbo10recvPacketEv[_ZN9robosense5lidar14InputPcapJumbo10recvPacketEv]+0x5d): undefined reference to pcap_next_ex' demo_online.cpp:(.text._ZN9robosense5lidar14InputPcapJumbo10recvPacketEv[_ZN9robosense5lidar14InputPcapJumbo10recvPacketEv]+0x86): undefined reference to pcap_close'
demo_online.cpp:(.text._ZN9robosense5lidar14InputPcapJumbo10recvPacketEv[_ZN9robosense5lidar14InputPcapJumbo10recvPacketEv]+0x116): undefined reference to pcap_open_offline' demo_online.cpp:(.text._ZN9robosense5lidar14InputPcapJumbo10recvPacketEv[_ZN9robosense5lidar14InputPcapJumbo10recvPacketEv]+0x19d): undefined reference to pcap_offline_filter'
CMakeFiles/demo_online.dir/demo_online.cpp.o: In function std::thread::thread<std::_Bind<void (robosense::lidar::InputSock::*(robosense::lidar::InputSock*))()>>(std::_Bind<void (robosense::lidar::InputSock::*(robosense::lidar::InputSock*))()>&&)': demo_online.cpp:(.text._ZNSt6threadC2ISt5_BindIFMN9robosense5lidar9InputSockEFvvEPS4_EEJEEEOT_DpOT0_[_ZNSt6threadC5ISt5_BindIFMN9robosense5lidar9InputSockEFvvEPS4_EEJEEEOT_DpOT0_]+0x2f): undefined reference to pthread_create'
CMakeFiles/demo_online.dir/demo_online.cpp.o: In function std::thread::thread<std::_Bind<void (robosense::lidar::InputPcap::*(robosense::lidar::InputPcap*))()>>(std::_Bind<void (robosense::lidar::InputPcap::*(robosense::lidar::InputPcap*))()>&&)': demo_online.cpp:(.text._ZNSt6threadC2ISt5_BindIFMN9robosense5lidar9InputPcapEFvvEPS4_EEJEEEOT_DpOT0_[_ZNSt6threadC5ISt5_BindIFMN9robosense5lidar9InputPcapEFvvEPS4_EEJEEEOT_DpOT0_]+0x2f): undefined reference to pthread_create'
CMakeFiles/demo_online.dir/demo_online.cpp.o: In function std::thread::thread<std::_Bind<void (robosense::lidar::InputPcapJumbo::*(robosense::lidar::InputPcapJumbo*))()>>(std::_Bind<void (robosense::lidar::InputPcapJumbo::*(robosense::lidar::InputPcapJumbo*))()>&&)': demo_online.cpp:(.text._ZNSt6threadC2ISt5_BindIFMN9robosense5lidar14InputPcapJumboEFvvEPS4_EEJEEEOT_DpOT0_[_ZNSt6threadC5ISt5_BindIFMN9robosense5lidar14InputPcapJumboEFvvEPS4_EEJEEEOT_DpOT0_]+0x2f): undefined reference to pthread_create'
CMakeFiles/demo_online.dir/demo_online.cpp.o: In function std::thread::thread<void (&)()>(void (&)())': demo_online.cpp:(.text._ZNSt6threadC2IRFvvEJEEEOT_DpOT0_[_ZNSt6threadC5IRFvvEJEEEOT_DpOT0_]+0x2f): undefined reference to pthread_create'
CMakeFiles/demo_online.dir/demo_online.cpp.o: In function std::thread::thread<std::_Bind<void (robosense::lidar::LidarDriverImpl<PointCloudT<PointXYZI> >::*(robosense::lidar::LidarDriverImpl<PointCloudT<PointXYZI> >*))()>>(std::_Bind<void (robosense::lidar::LidarDriverImpl<PointCloudT<PointXYZI> >::*(robosense::lidar::LidarDriverImpl<PointCloudT<PointXYZI> >*))()>&&)': demo_online.cpp:(.text._ZNSt6threadC2ISt5_BindIFMN9robosense5lidar15LidarDriverImplI11PointCloudTI9PointXYZIEEEFvvEPS8_EEJEEEOT_DpOT0_[_ZNSt6threadC5ISt5_BindIFMN9robosense5lidar15LidarDriverImplI11PointCloudTI9PointXYZIEEEFvvEPS8_EEJEEEOT_DpOT0_]+0x2f): undefined reference to pthread_create'
collect2: error: ld returned 1 exit status
CMakeFiles/demo_online.dir/build.make:94: recipe for target 'demo_online' failed
make[2]: *** [demo_online] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/demo_online.dir/all' failed
make[1]: *** [CMakeFiles/demo_online.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered:
make
[ 25%] Building CXX object CMakeFiles/demo_online.dir/demo_online.cpp.o
[ 50%] Linking CXX executable demo_online
CMakeFiles/demo_online.dir/demo_online.cpp.o: In function
robosense::lidar::InputPcap::init()': demo_online.cpp:(.text._ZN9robosense5lidar9InputPcap4initEv[_ZN9robosense5lidar9InputPcap4initEv]+0x62): undefined reference to
pcap_open_offline'demo_online.cpp:(.text._ZN9robosense5lidar9InputPcap4initEv[_ZN9robosense5lidar9InputPcap4initEv]+0x11a): undefined reference to
pcap_compile' demo_online.cpp:(.text._ZN9robosense5lidar9InputPcap4initEv[_ZN9robosense5lidar9InputPcap4initEv]+0x18c): undefined reference to
pcap_compile'CMakeFiles/demo_online.dir/demo_online.cpp.o: In function
robosense::lidar::InputPcap::~InputPcap()': demo_online.cpp:(.text._ZN9robosense5lidar9InputPcapD2Ev[_ZN9robosense5lidar9InputPcapD5Ev]+0x45): undefined reference to
pcap_close'CMakeFiles/demo_online.dir/demo_online.cpp.o: In function
robosense::lidar::InputPcap::recvPacket()': demo_online.cpp:(.text._ZN9robosense5lidar9InputPcap10recvPacketEv[_ZN9robosense5lidar9InputPcap10recvPacketEv]+0x5d): undefined reference to
pcap_next_ex'demo_online.cpp:(.text._ZN9robosense5lidar9InputPcap10recvPacketEv[_ZN9robosense5lidar9InputPcap10recvPacketEv]+0x86): undefined reference to
pcap_close' demo_online.cpp:(.text._ZN9robosense5lidar9InputPcap10recvPacketEv[_ZN9robosense5lidar9InputPcap10recvPacketEv]+0x116): undefined reference to
pcap_open_offline'demo_online.cpp:(.text._ZN9robosense5lidar9InputPcap10recvPacketEv[_ZN9robosense5lidar9InputPcap10recvPacketEv]+0x19d): undefined reference to
pcap_offline_filter' demo_online.cpp:(.text._ZN9robosense5lidar9InputPcap10recvPacketEv[_ZN9robosense5lidar9InputPcap10recvPacketEv]+0x324): undefined reference to
pcap_offline_filter'CMakeFiles/demo_online.dir/demo_online.cpp.o: In function
robosense::lidar::InputPcapJumbo::init()': demo_online.cpp:(.text._ZN9robosense5lidar14InputPcapJumbo4initEv[_ZN9robosense5lidar14InputPcapJumbo4initEv]+0x62): undefined reference to
pcap_open_offline'demo_online.cpp:(.text._ZN9robosense5lidar14InputPcapJumbo4initEv[_ZN9robosense5lidar14InputPcapJumbo4initEv]+0x117): undefined reference to
pcap_compile' CMakeFiles/demo_online.dir/demo_online.cpp.o: In function
robosense::lidar::InputPcapJumbo::~InputPcapJumbo()':demo_online.cpp:(.text._ZN9robosense5lidar14InputPcapJumboD2Ev[_ZN9robosense5lidar14InputPcapJumboD5Ev]+0x45): undefined reference to
pcap_close' CMakeFiles/demo_online.dir/demo_online.cpp.o: In function
robosense::lidar::InputPcapJumbo::recvPacket()':demo_online.cpp:(.text._ZN9robosense5lidar14InputPcapJumbo10recvPacketEv[_ZN9robosense5lidar14InputPcapJumbo10recvPacketEv]+0x5d): undefined reference to
pcap_next_ex' demo_online.cpp:(.text._ZN9robosense5lidar14InputPcapJumbo10recvPacketEv[_ZN9robosense5lidar14InputPcapJumbo10recvPacketEv]+0x86): undefined reference to
pcap_close'demo_online.cpp:(.text._ZN9robosense5lidar14InputPcapJumbo10recvPacketEv[_ZN9robosense5lidar14InputPcapJumbo10recvPacketEv]+0x116): undefined reference to
pcap_open_offline' demo_online.cpp:(.text._ZN9robosense5lidar14InputPcapJumbo10recvPacketEv[_ZN9robosense5lidar14InputPcapJumbo10recvPacketEv]+0x19d): undefined reference to
pcap_offline_filter'CMakeFiles/demo_online.dir/demo_online.cpp.o: In function
std::thread::thread<std::_Bind<void (robosense::lidar::InputSock::*(robosense::lidar::InputSock*))()>>(std::_Bind<void (robosense::lidar::InputSock::*(robosense::lidar::InputSock*))()>&&)': demo_online.cpp:(.text._ZNSt6threadC2ISt5_BindIFMN9robosense5lidar9InputSockEFvvEPS4_EEJEEEOT_DpOT0_[_ZNSt6threadC5ISt5_BindIFMN9robosense5lidar9InputSockEFvvEPS4_EEJEEEOT_DpOT0_]+0x2f): undefined reference to
pthread_create'CMakeFiles/demo_online.dir/demo_online.cpp.o: In function
std::thread::thread<std::_Bind<void (robosense::lidar::InputPcap::*(robosense::lidar::InputPcap*))()>>(std::_Bind<void (robosense::lidar::InputPcap::*(robosense::lidar::InputPcap*))()>&&)': demo_online.cpp:(.text._ZNSt6threadC2ISt5_BindIFMN9robosense5lidar9InputPcapEFvvEPS4_EEJEEEOT_DpOT0_[_ZNSt6threadC5ISt5_BindIFMN9robosense5lidar9InputPcapEFvvEPS4_EEJEEEOT_DpOT0_]+0x2f): undefined reference to
pthread_create'CMakeFiles/demo_online.dir/demo_online.cpp.o: In function
std::thread::thread<std::_Bind<void (robosense::lidar::InputPcapJumbo::*(robosense::lidar::InputPcapJumbo*))()>>(std::_Bind<void (robosense::lidar::InputPcapJumbo::*(robosense::lidar::InputPcapJumbo*))()>&&)': demo_online.cpp:(.text._ZNSt6threadC2ISt5_BindIFMN9robosense5lidar14InputPcapJumboEFvvEPS4_EEJEEEOT_DpOT0_[_ZNSt6threadC5ISt5_BindIFMN9robosense5lidar14InputPcapJumboEFvvEPS4_EEJEEEOT_DpOT0_]+0x2f): undefined reference to
pthread_create'CMakeFiles/demo_online.dir/demo_online.cpp.o: In function
std::thread::thread<void (&)()>(void (&)())': demo_online.cpp:(.text._ZNSt6threadC2IRFvvEJEEEOT_DpOT0_[_ZNSt6threadC5IRFvvEJEEEOT_DpOT0_]+0x2f): undefined reference to
pthread_create'CMakeFiles/demo_online.dir/demo_online.cpp.o: In function
std::thread::thread<std::_Bind<void (robosense::lidar::LidarDriverImpl<PointCloudT<PointXYZI> >::*(robosense::lidar::LidarDriverImpl<PointCloudT<PointXYZI> >*))()>>(std::_Bind<void (robosense::lidar::LidarDriverImpl<PointCloudT<PointXYZI> >::*(robosense::lidar::LidarDriverImpl<PointCloudT<PointXYZI> >*))()>&&)': demo_online.cpp:(.text._ZNSt6threadC2ISt5_BindIFMN9robosense5lidar15LidarDriverImplI11PointCloudTI9PointXYZIEEEFvvEPS8_EEJEEEOT_DpOT0_[_ZNSt6threadC5ISt5_BindIFMN9robosense5lidar15LidarDriverImplI11PointCloudTI9PointXYZIEEEFvvEPS8_EEJEEEOT_DpOT0_]+0x2f): undefined reference to
pthread_create'collect2: error: ld returned 1 exit status
CMakeFiles/demo_online.dir/build.make:94: recipe for target 'demo_online' failed
make[2]: *** [demo_online] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/demo_online.dir/all' failed
make[1]: *** [CMakeFiles/demo_online.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: