sudo apt-get install libpcl-dev libopencv-dev
sudo apt-get install pcl-tools
sudo apt-get install libproj-dev
sudo apt-get install qt5-default qttools5-dev qttools5-dev-tools qtmultimedia5-dev libqt5svg5-dev libqt5webkit5-dev
在文件
在CMakeList.txt中的target_link_libraries前面加入
list(REMOVE_ITEM PCL_LIBRARIES "vtkproj4")
然后:
cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX="../install" -D COMPILE_CC_CORE_LIB_WITH_TBB=ON ..
然后修改build下的:
CMakeCache.txt
//Check to install qPCL plugin
INSTALL_QPCL_PLUGIN:BOOL=ON
然后make -j8
make install -j8