PCL Ubuntu安装

我一直在尝试在Ubuntu 14.10上安装PCL for linux: http : //pointclouds.org/downloads/linux.html

到目前为止,我已经完成了前两个步骤,

sudo add-apt-repository ppa:v-launchpad-jochen-sprickerhof-de/pcl sudo apt-get update 

但它在第三个方面失败了:

 $ sudo apt-get install libpcl-all Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package libpcl-all 

我该怎么做才能解决这个问题? 我已经在线查看,但所有现有的线程似乎都没有工作分辨率。

安装libpcl1 ,它位于Ubuntu存储库中:

 sudo apt-get install libpcl1 

或者@Fabby说,编译自己的版本:

 sudo apt-get install git cd git clone git@github.com:PointCloudLibrary/pcl.git cd pcl mkdir build cd build cmake .. 

请注意缺少的开发库,例如:

 -- checking for module 'eigen3' -- package 'eigen3' not found -- checking for module 'flann>=1.7.0' -- package 'flann>=1.7.0' not found 

并安装开发库,例如:

 sudo apt-get install libeigen3-dev sudo apt-get install libflann-dev 

make启动编译器

 make 

并安装

  • 经典的方式make install

     sudo make install 
  • 使用checkinstall

     sudo apt-get install checkinstall sudo checkinstall 

因为对于您的Ubuntu版本,此库不存在于此PPA中。

要解决这个问题, 您需要从源代码构建 。