PCL 安装错误

PCL 安装错误

我关注了博客在Ubuntu 16.04版本中安装PCL及其依赖项。

对于命令

sudo apt-get install libvtk5.8-qt4 libvtk5.8 libvtk5-dev

我遇到了错误,因此我安装了

sudo apt-get install libvtk5-qt4-dev libvtk6.2 libvtk5-dev

现在执行make命令后,出现如下错误:

>/usr/include/vtk-5.10/QVTKWidget.h:40:25: fatal error: QtGui/QWidget: No such file or directory
compilation terminated.
apps/CMakeFiles/pcl_pcd_video_player.dir/build.make:70: recipe for target 'apps/CMakeFiles/pcl_pcd_video_player.dir/include/pcl/apps/moc_pcd_video_player.cpp.o' failed
make[2]: *** [apps/CMakeFiles/pcl_pcd_video_player.dir/include/pcl/apps/moc_pcd_video_player.cpp.o] Error 1
CMakeFiles/Makefile2:8401: recipe for target 'apps/CMakeFiles/pcl_pcd_video_player.dir/all' failed
make[1]: *** [apps/CMakeFiles/pcl_pcd_video_player.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2

相关内容