Eu segui este blog para instalar o PCL e suas dependências na versão Ubuntu 16.04 .
Para o comando
sudo apt-get install libvtk5.8-qt4 libvtk5.8 libvtk5-dev
Eu estava recebendo um erro, então instalei
sudo apt-get install libvtk5-qt4-dev libvtk6.2 libvtk5-dev
Agora, depois de executar o comando make
, estou recebendo um erro como este:
>/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