Open3D编译安装

@TOC

下载源码

Open3D下载地址
Open3D中3dparty部分的代码注意:这个必须下载之后解压进去,只下载Open3D的代码,3dparty是空的,编译时会出错

CMake Error at CMakeLists.txt:198 (add_subdirectory):
  The source directory
    /home/chen/Open3D/3rdparty
  does not contain a CMakeLists.txt file.

编译安装

util/scripts/install-deps-ubuntu.sh #会与ros冲突,会卸载掉ros,不过编译安装好后再重装ros即可
mkdir build
cd build
cmake ..
make
sudo make install

重装ros

sudo apt-get install ros-kinetic-desktop-full

重装libpng

  • 下载地址 libpng
cd libpng-1.6.35
mkdir build
cd build
cmake ..
make
sudo make install

你可能感兴趣的:(Open3D编译安装)