pclConfig.cmake or PCLConfig.cmake

  Could not find a package configuration file provided by "pcl" (requested
  version 1.8) with any of the following names:

    pclConfig.cmake
    pcl-config.cmake

在 find_package(PCL 1.8 REQUIRED )之前添加set(PCL_DIR /usr/share/pcl-1.8/PCLConfig.cmake),需要注意的地方pclConfig.cmake 对应find_package里面的pcl,而PCLConfig.cmake对应于find_package里面的PCL。

猜你喜欢

转载自www.cnblogs.com/gary-guo/p/10606462.html
今日推荐