open3d中文教程:
http://www.drawcode.cn/books/open3d/getting%20started/getting_started/
其它教程:
https://blog.csdn.net/weixin_40511249/category_10790054.html
官方介绍:
https://www.youtube.com/watch?v=Rsh4poEpahI
一个dbscan分割case:
参考:
https://cloud.tencent.com/developer/article/1644024
ubuntu16.04最高安装open3d-0.9.0.0
open3d-0.10.0.0以上的版本必须在ubuntu18.04
GLIBC为Ubuntu系统中的底层的东西,不能进行版本升级
使用下面的命令、可以实现读取Ubuntu16.04中GLIBC的版本:strings /lib/x86_64-linux-gnu/libc.so.6 | grep GLIBC
输入此命令可以查看到Ubuntu16.04中所能支持的最高版本为2.23。
下图为Ubuntu18.04中的GLIBC的版本:
由上面信息可以看出Ubuntu18.04中的GLIBC相比于Ubuntu16.04高出的版本为2.24、2.25、2.26、2.27;
举个例子open3d-0.13.0.0
如果ubuntu16.04 强行想安装open3d-0.13.0.0
https://github.com/intel-isl/Open3D/issues/1861
一定记得把cmakelist.txt中的
-DBUILD_GUI=OFF
关闭,这样就不受GLIBC影响
更新 gcc from gcc5.4 to gcc7.5
或者
-DBUILD_GUI=ON -DBUILD_FILAMENT_FROM_SOURCE=ON
具体还是需要试一试才知道,这个我还没有试
open3d的一些库:
https://github.com/intel-isl/Open3D-ML
https://github.com/intel-isl/FreeViewSynthesis
https://www.youtube.com/watch?v=JDJPn3ZtfZs
Free View Synthesis Gernot Riegler and Vladlen Koltun European Conference on Computer Vision (ECCV), 2020
open3d-0.9.0.0
http://www.open3d.org/docs/0.9.0/compilation.html
util/scripts/install-deps-ubuntu.sh
如果是v0.9.0.0 ~/software/cmake-3.20.5-linux-x86_64/bin/cmake -DBUILD_SHARED_LIBS=ON \ -DCMAKE_INSTALL_PREFIX=/home/ninghua/windows10/build/o3d_0.9.0/Open3D/open3d_install \ -DCMAKE_C_COMPILER=/usr/bin/gcc-7 \ -DCMAKE_CXX_COMPILER=/usr/bin/g++-7 \ -DENABLE_JUPYTER=OFF -DCMAKE_BUILD_TYPE=Debug \ -DPYTHON_EXECUTABLE=/home/ninghua/environment/miniconda3_py17/bin/python ..
open3d-0.13.0.0
http://www.open3d.org/docs/release/compilation.html
http://www.open3d.org/docs/0.13.0/compilation.html
util/install_deps_ubuntu.sh
sudo dpkg -i open3d-app-0.13.0-Ubuntu_20.04.deb 打开: Open3D git clone https://github.com/intel-isl/Open3D.git git checkout v0.13.0 git submodule update --init --recursive 这里有一点比较尴尬,源代码编译open3d会让 util/install_deps_ubuntu.sh 安装apt-get install -y libc++-7-dev libc++abi-7-dev 但是在安装Open3D-Viewer app时候,会卸载以上的东西 并安装: sudo apt-get install libc++1 libc++1-10 libc++abi1-10 libglfw3 -y Open3D-Viewer app安装:sudo dpkg -i open3d-app-0.13.0-Ubuntu_20.04.deb Open3D-Viewer app打开命令:Open3D 这就尴尬了,所以我们把7和10的都装上吧,先装7再装10,我怀疑会覆盖 apt-get install -y clang++-7 libc++abi-7-dev libc++-7-dev apt-get install -y clang++-10 libc++-10-dev libc++abi-10-dev 其他: apt-get install -y clang++-8 libc++-8-dev libc++abi-8-dev apt-get install -y clang++-9 libc++-9-dev libc++abi-9-dev cd Open3D mkdir cmake-build-debug cd cmake-build-debug ~/software/cmake-3.20.5-linux-x86_64/bin/cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=/home/ninghua/windows10/build/Open3D/open3d_install -DCMAKE_C_COMPILER=/usr/bin/gcc-7 -DCMAKE_CXX_COMPILER=/usr/bin/g++-7 -DCMAKE_BUILD_TYPE=Debug -DPYTHON_EXECUTABLE=/home/ninghua/environment/miniconda3_py17/bin/python .. make -j4 make install make python-package cd **** python setup.py install
如果open3d编译好以后,怎么通过cmakelist使用:
参考:
https://github.com/intel-isl/open3d-cmake-find-package
https://github.com/intel-isl/Open3D/issues/2847
https://blog.csdn.net/u010815558/article/details/90288869
cmake_minimum_required(VERSION 3.19)
set(CMAKE_CXX_STANDARD 14)
if (POLICY CMP0072)
set(OpenGL_GL_PREFERENCE LEGACY)
endif()
project(open3d_demo)
set(CMAKE_PREFIX_PATH "/home/ninghua/windows10/build/Open3D/open3d_install/lib/cmake/Open3D")
find_package(Open3D HINTS ${CMAKE_INSTALL_PREFIX}/lib/CMake)
message(STATUS "Found Open3D ${Open3D_VERSION}")
link_directories(${Open3D_LIBRARY_DIRS})
add_executable(open3d_demo "main.cpp")
target_link_libraries(open3d_demo ${Open3D_LIBRARIES})
target_include_directories(open3d_demo PUBLIC ${Open3D_INCLUDE_DIRS})