点云库(PCL)找不到PCLConfig.cmake或pcl-config.cmake [Ubuntu 16.04]

时间:2017-01-16 13:22:24

标签: c++ ubuntu cmake ubuntu-16.04 point-cloud-library

我一直在尝试在我的系统上正确安装Point Cloud Library。我希望能够让基本tutorial工作,以便我知道一切都是正确的,我可以继续前进。

到目前为止,这是一个处理问题的案例,这是最新的问题。

当我运行cmake时,错误和输出:

-- The C compiler identification is GNU 4.9.3
-- The CXX compiler identification is GNU 4.9.3
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:3 (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" (requested
  version 1.3) 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/matt/hdd_home/pcl/tutorials/build/CMakeFiles/CMakeOutput.log".

我已经从Ubuntu repository安装了PCL v1.8,但我还安装了python-vtk因为它提供了包libvtkRenderingPythonTkWidgets,它删除了我之前遇到的错误(请参阅here)。安装python-vtk我相信会删除libpcl-dev中捆绑的一些软件包(PCL v1.8);我不知道这是否与这个问题有关。

我并非100%确定PCLConfig.cmakepcl-config.cmake甚至在我的系统上。也许安装存在问题?

非常感谢任何帮助!

0 个答案:

没有答案