参考:
- http://www.open3d.org/docs/latest/cpp_api.html
- http://www.open3d.org/docs/latest/getting_started.html#c
- http://www.open3d.org/docs/release/cpp_project.html#cplusplus-example-project
- https://github.com/isl-org/open3d-cmake-find-package
- https://github.com/isl-org/open3d-cmake-external-project
官方提供安装包
https://github.com/isl-org/Open3D/releases
Open3d C++版本源码编译
Ubuntu/macOS
git clone --recursive https://github.com/intel-isl/Open3D.git
cd Open3D
mkdir build
cd build
cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=${HOME}/open3d_install ..
make install -j 12
cd ../..
Win
git clone --recursive https://github.com/intel-isl/Open3D.git
cd Open3D
mkdir build
cd build
cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=C:\open3d_install ..
cmake --build . --config Release --parallel 12 --target install
cd ..\..
Note: -DBUILD_SHARED_LIBS=ON is recommended if -DBUILD_CUDA_MODULE=ON.
测试用例
On Ubuntu/macOS:
git clone https://github.com/intel-isl/open3d-cmake-external-project.git
cd open3d-cmake-external-project
mkdir build
cd build
cmake ..
make -j 12
./Draw
On Windows:文章来源:https://www.toymoban.com/news/detail-698975.html
git clone https://github.com/intel-isl/open3d-cmake-external-project.git
cd open3d-cmake-external-project
mkdir build
cd build
cmake ..
cmake --build . --config Release --parallel 12
Release\Draw
文章来源地址https://www.toymoban.com/news/detail-698975.html
到了这里,关于基于Open3D的点云处理17-Open3d的C++版本的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!