//更新cmake
sudo apt-add-repository 'deb https://apt.kitware.com/ubuntu/ bionic main'
sudo apt-get update
sudo apt-get install cmake
//安装Open3D
git clone --recursive https://github.com/intel-isl/Open3D
cd Open3D && source util/scripts/install-deps-ubuntu.sh
mkdir build && cd build
cmake -DGLIBCXX_USE_CXX11_ABI=ON -DCMAKE_INSTALL_PREFIX=/home/robot/open3d_install/ ..
make -j4
sudo make install
//基于Open3D的ros程序
mkdir -p catkin_ws/src
cd catkin_ws/src
git clone git@github.com:unr-arl/open3d_ros.git
cd ..
catkin config -DCMAKE_BUILD_TYPE=Release
catkin build open3d_ros
注意编译选项一定要加上-DGLIBCXX_USE_CXX11_ABI=ON否则再编译
时会出现找不到ros::init的链接错误
https://github.com/ros-perception/perception_open3d/issues/16#issuecomment-877849488
官方安装教程
Build from source — Open3D 0.16.0 documentation
ubuntu16中Open3D算法测试笔记 - CodeAntenna