如何在 Ubuntu 18.04 上安装 PCL

Ahm*_*raz 4 18.04 pcloud

CMake Error at cv_utils/CMakeLists.txt:8 (find_package):
  By not providing "FindPCL.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "PCL", but
  CMake did not find one.

  Could not find a package configuration file provided by "PCL" with any of
  the following names:

    PCLConfig.cmake
    pcl-config.cmake

  Add the installation prefix of "PCL" to CMAKE_PREFIX_PATH or set "PCL_DIR"
  to a directory containing one of the above files.  If "PCL" provides a
  separate development package or SDK, be sure it has been installed.


-- Configuring incomplete, errors occurred!
See also "/home/ahmad/Desktop/Layered Scene Decomposition/LayeredSceneDecomposition-master/build/CMakeFiles/CMakeOutput.log".
Run Code Online (Sandbox Code Playgroud)

小智 5

回答得很晚,但仅供可能面临同样问题的其他人参考。

PCL 在默认的 ubuntu-18.04 软件包中可用,并且可以使用 aptitude 软件包管理进行安装。

sudo apt install libpcl-dev
Run Code Online (Sandbox Code Playgroud)

请参阅以下 github 问题:https://github.com/PointCloudLibrary/pcl/issues/2739