环境:Ubuntu16.04+PCL1.8
SLAM14讲ch5
1、make时报错:fatal error: pcl/visualization/pcl_visualizer.h: No such file or directory
解决办法:修改joinMap文件夹下CMakeLists.txt如下:
include_directories需要修改为绝对路径,然后在joinMap文件夹下重新执行命令:
cmake .
make
./joinMap
运行pcl_viewer
pcl_viewer map.pcd
完美解决!!!