重装ubuntu后的第3~6天——主要是pcl的安装

    http://www.cnblogs.com/ChrisCoder/p/7222430.html#_label2

    首先是装了Uget,过程略去,稍微废了点功夫,不过在CSDN上能搜到具体的方法。

http://blog.csdn.net/fuchaosz/article/details/51882935?locationNum=8&fps=1

    以下 感觉太长不看的,直接拖到最后红色链接就行,除此之外的都只是我个人随便写写的,不看也损失不大。

………………………………………………………………………………………………………………………………………………

    三天时间,主要是安装PCL(点云库)

    高博的《十四讲》对于PCL的安装一带而过,其实安装过程也不是多复杂,只是比较麻烦。

    下面这个是官网:

    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

    问题出在第一条指令,输入后Terminal显示如下:

×××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××

This only exists for history reasons. Please use the PCL version included in Ubuntu:

sudo apt install libpcl-dev

---


The Point Cloud Library (or PCL) is a large scale, open project for point cloud processing.
The PCL framework contains numerous state-of-the art algorithms including filtering, feature estimation, surface reconstruction, registration, model fitting and segmentation.
PCL is released under the terms of the BSD license and is open source software. It is free for commercial and research use. We are financially supported by Willow Garage, NVidia, and Google.
 更多信息: https://launchpad.net/~v-launchpad-jochen-sprickerhof-de/+archive/ubuntu/pcl
按回车继续或者 Ctrl+c 取消添加


××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××

    第一次我直接复制了    sudo apt install libpcl-dev    指令,结果一圈下来,到最后我都不知道我干了些什么……就像我上一次使用ubuntu的感觉,迷迷糊糊的,而且结果好象还没有把PCL这个库装好。


    看看更多信息那个链接说了些什么,好奇心是个好东西。新奇而难以预料的事情,才是这个有时候略显无聊的世界上最宝贵的东西和体验。






add-apt-repository ppa:v-launchpad-jochen-sprickerhof-de/pcl-1.7

根据提示,重新输入正确指令,想看看pcl18是不是pcl1.8,所以在那个网站搜了搜,确定是pcl1.8以后,把命令改为


 add-apt-repository ppa:v-launchpad-jochen-sprickerhof-de/pcl18


×××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××



 更多信息: https://launchpad.net/~v-launchpad-jochen-sprickerhof-de/+archive/ubuntu/pcl18
按回车继续或者 Ctrl+c 取消添加

gpg: 钥匙环‘/tmp/tmp2bgxyevf/secring.gpg’已建立
gpg: 钥匙环‘/tmp/tmp2bgxyevf/pubring.gpg’已建立
gpg: 下载密钥‘19274DEF’,从 hkp 服务器 keyserver.ubuntu.com
gpg: /tmp/tmp2bgxyevf/trustdb.gpg:建立了信任度数据库
gpg: 密钥 19274DEF:公钥“Launchpad PPA for Jochen Sprickerhof”已导入
gpg: 合计被处理的数量:1
gpg:               已导入:1  (RSA: 1)
OK
root@gakkifun-Lenovo-C560:/home/gakkifun/文档/pcd#



×××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××



    之后卡到了第三步:

    无法定位软件包  libpcl-all

    重新update,发现原来pcl没下下来。


    ……最后的最后,还是回到github上搜pcl源码搞吧……


https://github.com/PointCloudLibrary/pcl/releases


下好以后,打开README看说明,可以看到下面的网址:


http://www.pointclouds.org/documentation/tutorials/compiling_pcl_posix.php


这两个一直到cmake  ..完,看看都缺什么库(从cmake指令之后终端上刷出来的就可以看到,耐心点),然后一个一个去github上搜,然后再装……


比如:我装的时候缺  libusb  ,搜了搜装上了 http://blog.csdn.net/fervor_heart/article/details/8002124

                       又缺metslib,搜了搜装上了    http://freecode.com/projects/metslib

                       OpenNI2     http://blog.csdn.net/u013294888/article/details/51244736                        

                                        加上   https://stackoverflow.com/questions/28835794/undefined-reference-to-libusb-get-parent-compiling-freenect   的第二个答案                                                 

                       ……

                      



我装好了,祝你好运。


curiosity makes you strong .


——————————————————————————————————————————————————————————————————————————————————————————————现在是2017年07月26日19:08:50,已经是第三次重装了,先是重装了win10,然后重装了ubuntu……PS:装库的时候,不是特殊需求,别新建build文件夹了,就在源代码文件夹里直接cmake吧,省的clion找不到

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值