Ubuntu安装支持PCL、LAS的CloudCompare
git clone --recursive https://github.com/cloudcompare/trunk.git cd trunk mkdir build cd build cmake .. -DPLUGIN_STANDARD_QPCL:BOOL=ON -DPLUGIN_IO_QPDAL:BOOL=ON make -j10 sudo make install
如果报 fatal error: json/json.h: No such file or directory的错,执行下面的命令
sudo apt-get install libjsoncpp-dev sudo ln -s /usr/include/jsoncpp/json/ /usr/include/json
编译安装过程中cmake后面的编译选项,会使得CMakeCache.txt文件中的对应变量从默认OFF(如下文所示)改为ON,以支持pcd,las等点云格式
//Check to install qPCL plugin
PLUGIN_STANDARD_QPCL:BOOL=OFF
...
//Install qPDALIO plugin to read & write LAS files
PLUGIN_IO_QPDAL:BOOL=OFF