ubuntu16.04编译安装open3d-0.9.0
open3d:0.6.0 - 0.13.0作者均已编译验证过,针对mmdetection3d的 v1.0.0rc3 能使用的open3d只有0.9.0可以正常show。
编译过程参考:https://www.pudn.com/news/627a66b7b191f67a590c59fa.html
具体步骤如下:
1、克隆代码
git clone https://github.com/isl-org/Open3D
cd Open3D
git checkout v0.9.0
git submodule update --init --recursive
2、安装依赖
bash util/scripts/install-deps-ubuntu.sh
3、编译(注意选择自己的python环境)
mkdir build
cd build/
cmake -DCMAKE_INSTALL_PREFIX=/opt/Open3D/ -DBUILD_EIGEN3=ON -DBUILD_GLEW=ON -DBUILD_GLFW=ON -DBUILD_JSONCPP=ON -DBUILD_PNG=ON -DENABLE_JUPYTER=OFF -DPYTHON_EXECUTABLE=~/anaconda3/envs/mmdetection3d/bin/python3.6 ..
make -j$(nproc)
sudo make install
4、生成whl安装包
make pip-package
生成的whl文件一般在Open3D/build/lib/python_package/pip_package中。
5、安装
pip install lib/python_package/pip_package/open3d-0.9.0.0-cp36-cp36m-linux_x86_64.whl