1. clone pcl 1.8.1

git clonehttps://github.com/PointCloudLibrary/pcl.git


2. install eigen


sudo apt-get install libeigen3-dev


3. compile flann1.9.1 from github


https://github.com/mariusmuja/flann


4. install boost


sudo apt-get install libboost-all-dev


5. compile vtk-8.0.1


down sourcecode from its official website

then compile


6. install openni and openni2


7. other prerequisites libraries please seehttps://larrylisky.com/2016/11/03/point-cloud-library-on-ubuntu-16-04-lts/


8. the configuration of cmake-gui looks like:


note: I need kinfu part,so I tick BUILD_GPU option. BTW,my GPU doesn't support 2.0 ARCH,so in GUDA group,delete 2.0 2.1(2.0)


The C compiler identification is GNU 5.4.0

The CXX compiler identification is GNU 5.4.0

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

Using cpu native flags for SSE optimization: -march=native

-- GCC > 4.3 found,enabling -Wabi

Found OpenMP

Eigen found (include: /usr/include/eigen3,version: 3.2.92)

FLANN found (include: /usr/local/include,lib: optimized;/usr/local/lib/libflann_cpp.so;debug;/usr/local/lib/libflann_cpp.so)

OpenNI found (include: /usr/include/ni,lib: /usr/lib/libOpenNI.so)

OpenNI 2 found (include: /home/seamanj/OpenNI2/Packaging/Final/OpenNI-Linux-x64-2.2/Include,lib: /home/seamanj/OpenNI2/Packaging/Final/OpenNI-Linux-x64-2.2/Redist/libOpenNI2.so,redist: /home/seamanj/OpenNI2/Packaging/Final/OpenNI-Linux-x64-2.2/Redist)

Checking for module 'metslib'

No package 'metslib' found

QHULL found (include: /usr/local/include,lib: optimized;/usr/local/lib/libqhull_p.so;debug;/usr/local/lib/libqhull_p.so)

Found CUDA Toolkit v9.0

CUDA NVCC target flags: -gencode;arch=compute_30,code=sm_30;-gencode;arch=compute_35,code=sm_35;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_52,code=sm_52;-gencode;arch=compute_53,code=sm_53;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61

VTK_MAJOR_VERSION 8,rendering backend: OpenGL2

VTK found (include: /usr/local/include/vtk-8.0,lib: vtkCommonExecutionModel;vtkCommonCore;vtksys;vtkCommonDataModel;vtkCommonMath;vtkCommonMisc;vtkCommonSystem;vtkCommonTransforms;vtkjpeg;vtkDICOMParser;vtkInteractionImage;vtkImagingColor;vtkImagingcore;vtkInteractionStyle;vtkFiltersExtraction;vtkFilterscore;vtkFiltersGeneral;vtkCommoncomputationalGeometry;vtkFilteRSStatistics;vtkImagingFourier;vtkalglib;vtkFilteRSSources;vtkRenderingcore;vtkCommonColor;vtkFiltersGeometry;vtkInteractionWidgets;vtkFiltersHybrid;vtkImagingSources;vtkFiltersModeling;vtkImagingGeneral;vtkImagingHybrid;vtkIOImage;vtkMetaio;vtkzlib;vtkpng;vtktiff;vtkRenderingAnnotation;vtkRenderingFreeType;vtkfreetype;vtkRenderingVolume;vtkIOXML;vtkIOCore;vtklz4;vtkIOXMLParser;vtkexpat;vtkIOParallelXML;vtkParallelCore;vtkIOLegacy;vtkFilteRSSMP;vtkjsoncpp;vtkIOExportOpenGL2;vtkIOExport;vtkRenderingContext2D;vtkRenderingGL2PSOpenGL2;vtkRenderingOpenGL2;vtkglew;vtkgl2ps;vtklibharu;vtkFiltersFlowPaths;vtkIOVideo;vtkIOMINC;vtkNetCDF;vtkhdf5_hl;vtkhdf5;vtkexoIIc;vtkRenderingImage;vtkIONetCDF;vtknetcdfcpp;vtkIOsql;vtksqlite;vtkFiltersAMR;vtkImagingStatistics;vtkDomainsChemistryOpenGL2;vtkDomainsChemistry;vtkRenderingContextOpenGL2;vtkChartscore;vtkinfovisCore;vtkIOExodus;vtkIOLSDyna;vtkFiltersProgrammable;vtkIOPLY;vtkIOEnSight;vtkIOMovie;vtkoggtheora;vtkIOTecplottable;vtkRenderingLabel;vtkFiltersverdict;verdict;vtkIOAMR;vtkFiltersTopology;vtkIOImport;vtkIOGeometry;vtkViewsContext2D;vtkViewscore;vtkRenderingVolumeOpenGL2;vtkImagingMath;vtkImagingMorphological;vtkFiltersImaging;vtkFilteRSSelection;vtkFiltersTexture;vtkproj4;vtklibxml2;vtkFiltersHyperTree;vtkIOinfovis;vtkViewsinfovis;vtkinfovisLayout;vtkRenderingLOD;vtkFiltersPoints;vtkFiltersGeneric;vtkIOParallel;vtkFiltersParallel;vtkGeoviscore;vtkImagingStencil;vtkFiltersParallelImaging

Could NOT find PCAP (missing: PCAP_LIBRARIES PCAP_INCLUDE_Dirs)

Boost version: 1.58.0

Found the following Boost libraries:

system

filesystem

thread

date_time

iostreams

chrono

atomic

regex

DOXYGEN_FOUND

HTML_HELP_COMPILER

Found CPack generators: DEB

The following subsystems will be built:

common

octree

kdtree

search

sample_consensus

filters

io

2d

features

registration

ml

recognition

keypoints

tracking

geometry

visualization

outofcore

stereo

gpu_containers

gpu_utils

gpu_octree

gpu_kinfu_large_scale

gpu_features

gpu_kinfu

gpu_segmentation

segmentation

surface

tools

people

The following subsystems will not be built:

gpu_tracking: disabled by default.

gpu_surface: disabled by default.

gpu_people: disabled by default.

simulation: disabled by default.

examples: Code examples are disabled by default.

global_tests: No reason

apps: No reason

Configuring done

Generating done


9. make -j${nproc}




done!

compile pcl 1.8.1 from source code on ubuntu 16.04的更多相关文章

  1. win-universal-app – 编译UWP App时出错:“保留使用Windows命名空间.”

    我正在为使用SpeechAPI的Windows10创建一个UWP应用程序但是在编译时我遇到了一个奇怪的错误.场景是这样的:>针对Windows8.1的PCL项目(当我创建项目时,我将Windows10设置为目标,但VisualStudio降级到Windows8.1,因为“它们支持相同的可移植API集”)并且引用了“Windows.Foundation.UniversalApiContract“因为

  2. Ubuntu16.04下PCL点云库的安装及使用demo

    必备组件安装PCL点云库安装注意:如果在Ubuntu14.04下安装的是libpcl-all,一般情况下在Ubuntu的软件仓库里首选带dev后缀的和什么后缀都不带的库版本。然而很多库都喜欢把库文件放在/usr/lib/x86_64-linux-gnu这个文件夹下VTK库安装VTK库在cmake中的使用参见pcl库的使用,几乎一模一样。Boost库的安装与上述类似,但是注意的是在Ubuntu16.04中,cmake不能自动找到Boost,需要先设置BOOST_ROOT示例demoCMakeLists.tx

  3. windows-10 – 类驱动程序和PCL驱动程序之间的区别

    正如标题所暗示的那样,我不确定“我的打印机”中“类驱动程序”和“PCL驱动程序”的实际区别.在我的环境中,我有多个工作站(赢10),Xerox3610通过网络连接.但我不确定,这些工作站的驱动程序安装的最佳实践是什么.根据我的经验和网络搜索,似乎“Xerox3610PCL6”驱动程序用于实现(通用?)PCL,而“Xerox3610类驱动程序”用于为Xerox3610打印机实现(通用?

  4. compile pcl 1.8.1 from source code on ubuntu 16.04

    1.clonepcl1.8.1gitclonehttps://github.com/PointCloudLibrary/pcl.git2.installeigensudoapt-getinstalllibeigen3-dev3.compileflann1.9.1fromgithubhttps://github.com/mariusmuja/flann4.installboostsudoapt-ge

  5. ubuntu下安装pcl

    sudoapt-getinstallgitcdgitclonehttps://github.com/PointCloudLibrary/pcl.gitcdpclmkdirbuildcdbuildcmake..Notethemissingdevelopmentlibraries,eg:--checkingformodule'eigen3'--package'eigen3'notfound--chec

  6. ubuntu16.0源码编译PCL

    不过需要注意几点:1.如果是虚拟机下编译PCL,下载源码时别在linux下用命令下载,太慢,直接在主机上下载解压后复制到虚拟机上;2.参考文章中sudoapt-getremovelibvtk5.8-*安装VTK应该改为sudoapt-getinstalllibvtk5.8-*;3.编译后可能会提示错误,一般都是第三方库没安装正确,我安装过程中VTK库有问题,参考以下方法解决:http://blog.sina.com.cn/s/blog_bf20f6d80102vs8m.html;4.BOOST库有问题,提

  7. windows-7 – 我应该使用什么打印机驱动程序?

    我正在为打印机安装驱动程序,我可以选择PCL(5或6)或PostScript驱动程序吗?你会推荐哪一个?打印机是HPLaserJet2605dn,操作系统是Windows7.对于这种事情你有经验吗?或者它几乎是“看什么工作”?

  8. windows-runtime – Windows Phone 8.1上的MissingManifestResourceException与.resx资源

    我正在开发一个WindowsPhone8.1应用程序,也是目标Android(Xamarin)像以前一样,我将字符串资源(.resx)添加到PCL上,并在我的启动程序项目中引用它,以便在我的视图上使用它,这一切在WP8.1silverlight上都可以正常工作,但是在配置项目以释放并运行它时,WinRt在设备上,由于某些原因,我总是得到一个MissingManifestResourceExcept

  9. Ubuntu 环境下 CPP文件中 加入第三方库 如OpenCV库、PCL库

    CMakeLists.txt配置文件添加第三方库:需要使用OpenCV库,用于声明并定义Mat类型的图片。主要添加三类信息:1、找包。INCLUDE_DIRECTORIES3、添加链接库的库名。TARGET_LINK_LIBRARIEScpp文件中:包含头文件、加入命名空间1、引入头文件#include#include#include#include#include2、添加命名空间usingnamespacecv;引入Pcl库Pcl库的源码编译安装见文章http://www.jb51.cc/article

  10. ubuntu 14.04 PCL 源码 编译 安装

    环境:Ubuntu14.04LTS,全新的虚拟机,基本没有安装任何东西。首先配置一系列需要安装的库以及工具:sudoapt-getinstallcmakesudoapt-getinstallg++sudoapt-getinstalllibboost1.55-all-devsudoapt-getinstalllibeigen3-devsudoapt-getinstalllibflann-devsudoapt-getinstallpythonsudoapt-getinstalllibusb-1.0-0-dev

随机推荐

  1. crontab发送一个月份的电子邮件

    ubuntu14.04邮件服务器:Postfixroot收到来自crontab的十几封电子邮件.这些邮件包含PHP警告.>我已经解决了这些警告的原因.>我已修复每个cronjobs不发送电子邮件(输出发送到>/dev/null2>&1)>我删除了之前的所有电子邮件/var/mail/root/var/spool/mail/root但我仍然每小时收到十几封电子邮件.这些电子邮件来自cronjobs,

  2. 模拟两个ubuntu服务器计算机之间的慢速连接

    我想模拟以下场景:假设我有4台ubuntu服务器机器A,B,C和D.我想在机器A和机器C之间减少20%的网络带宽,在A和B之间减少10%.使用网络模拟/限制工具来做到这一点?

  3. ubuntu-12.04 – 如何在ubuntu 12.04中卸载从源安装的redis?

    我从源代码在Ubuntu12.04上安装了redis-server.但在某些时候它无法完全安装,最后一次makeinstallcmd失败.然后我刚刚通过apt包安装.现在我很困惑哪个安装正在运行哪个conf文件?实际上我想卸载/删除通过源安装的所有内容,只是想安装一个包.转到源代码树并尝试以下命令:如果这不起作用,您可以列出软件自行安装所需的步骤:

  4. ubuntu – “apt-get source”无法找到包但“apt-get install”和“apt-get cache”可以找到它

    我正在尝试下载软件包的源代码,但是当我运行时它无法找到.但是当我运行apt-cache搜索squid3时,它会找到它.它也适用于apt-getinstallsquid3.我使用的是Ubuntu11.04服务器,这是我的/etc/apt/sources.list我已经多次更新了.我尝试了很多不同的debs,并没有发现任何其他地方的错误.这里的问题是你的二进制包(deb)与你的源包(deb-src)不

  5. ubuntu – 有没有办法检测nginx何时完成正常关闭?

    &&touchrestarted),因为即使Nginx没有完成其关闭,touch命令也会立即执行.有没有好办法呢?这样的事情怎么样?因此,pgrep将查找任何Nginx进程,而while循环将让它坐在那里直到它们全部消失.你可以改变一些有用的东西,比如睡1;/etc/init.d/Nginx停止,以便它会休眠一秒钟,然后尝试使用init.d脚本停止Nginx.你也可以在某处放置一个计数器,这样你就可以在需要太长时间时发出轰击信号.

  6. ubuntu – 如何将所有外发电子邮件从postfix重定向到单个地址进行测试

    我正在为基于Web的应用程序设置测试服务器,该应用程序发送一些电子邮件通知.有时候测试是使用真实的客户数据进行的,因此我需要保证服务器在我们测试时无法向真实客户发送电子邮件.我想要的是配置postfix,以便它接收任何外发电子邮件并将其重定向到一个电子邮件地址,而不是传递到真正的目的地.我正在运行ubuntu服务器9.10.先感谢您设置本地用户以接收所有被困邮件:你需要在main.cf中添加:然后

  7. ubuntu – vagrant无法连接到虚拟框

    当我使用基本的Vagrantfile,只配置了两条线:我看到我的虚拟框打开,但是我的流氓日志多次显示此行直到超时:然后,超时后的一段时间,虚拟框框终于要求我登录,但是太久了!所以我用流氓/流氓记录.然后在我的物理机器上,如果我“流氓ssh”.没有事情发生,直到:怎么了?

  8. ubuntu – Nginx – 转发HTTP AUTH – 用户?

    我和Nginx和Jenkins有些麻烦.我尝试使用Nginx作为Jenkins实例的反向代理,使用HTTP基本身份验证.它到目前为止工作,但我不知道如何传递带有AUTH用户名的标头?}尝试将此指令添加到您的位置块

  9. Debian / Ubuntu – 删除后如何恢复/ var / cache / apt结构?

    我在ubuntu服务器上的空间不足,所以我做了这个命令以节省空间但是现在在尝试使用apt时,我会收到以下错误:等等显然我删除了一些目录结构.有没有办法做apt-getrebuild-var-tree或类似的?

  10. 检查ubuntu上安装的rubygems版本?

    如何查看我的ubuntu盒子上安装的rubygems版本?只是一个想法,列出已安装的软件包和grep为ruby或宝石或其他:)dpkg–get-selections

返回
顶部