我有激光雷达 Sick lms200http://sicktoolbox.sourceforge.net/
我想安装驱动程序,但编译源代码时出错。我尝试在 Makefile 中将编译标志修改为特定于 c++11CXXFLAGS= -g -std=c++11 -Wall -pedantic
不管怎样,我都无法编译源代码。
./configure
运行没有错误返回
make
Makefile:340: recipe for target 'SickLD.lo' failed make[4]: *** [SickLD.lo] Error 1 make[4]: Leaving directory '/home/ae/sicktoolbox-1.0.1/c++/drivers/ld/sickld-1.0' Makefile:246: recipe for target 'all-recursive' failed make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory '/home/ae/sicktoolbox-1.0.1/c++/drivers/ld' Makefile:251: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/home/ae/sicktoolbox-1.0.1/c++/drivers' Makefile:246: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/home/ae/sicktoolbox-1.0.1/c++' Makefile:362: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1
Make 抛出一堆关于 c++11 弃用代码的警告,我不关心这些,我只是想让这个 LIDAR 工作。我的操作系统是 Ubuntu Mate 18.04