參考:
- 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.
測(cè)試用例
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:文章來源:http://www.zghlxwxcb.cn/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
文章來源地址http://www.zghlxwxcb.cn/news/detail-698975.html
到了這里,關(guān)于基于Open3D的點(diǎn)云處理17-Open3d的C++版本的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!