compile pcl 1.8.1 from source code on ubuntu 16.04

前端之家收集整理的这篇文章主要介绍了compile pcl 1.8.1 from source code on ubuntu 16.04前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

1. clone pcl 1.8.1@H_301_1@

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


@H_301_1@

2. install eigen@H_301_1@


@H_301_1@

sudo apt-get install libeigen3-dev
@H_301_1@


@H_301_1@

3. compile flann1.9.1 from github@H_301_1@


@H_301_1@

https://github.com/mariusmuja/flann@H_301_1@


@H_301_1@

4. install boost@H_301_1@


@H_301_1@

sudo apt-get install libboost-all-dev
@H_301_1@


@H_301_1@

5. compile vtk-8.0.1@H_301_1@


@H_301_1@

down sourcecode from its official website@H_301_1@

then compile@H_301_1@


@H_301_1@

6. install openni and openni2@H_301_1@


@H_301_1@

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


@H_301_1@

8. the configuration of cmake-gui looks like:@H_301_1@


@H_301_1@

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)@H_301_1@


@H_301_1@

The C compiler identification is GNU 5.4.0@H_301_1@

The CXX compiler identification is GNU 5.4.0@H_301_1@

Check for working C compiler: /usr/bin/cc@H_301_1@

Check for working C compiler: /usr/bin/cc -- works@H_301_1@

Detecting C compiler ABI info@H_301_1@

Detecting C compiler ABI info - done@H_301_1@

Detecting C compile features@H_301_1@

Detecting C compile features - done@H_301_1@

Check for working CXX compiler: /usr/bin/c++@H_301_1@

Check for working CXX compiler: /usr/bin/c++ -- works@H_301_1@

Detecting CXX compiler ABI info@H_301_1@

Detecting CXX compiler ABI info - done@H_301_1@

Detecting CXX compile features@H_301_1@

Detecting CXX compile features - done@H_301_1@

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

-- GCC > 4.3 found,enabling -Wabi@H_301_1@

Found OpenMP@H_301_1@

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

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

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

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)@H_301_1@

Checking for module 'metslib'@H_301_1@

No package 'metslib' found@H_301_1@

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

Found CUDA Toolkit v9.0@H_301_1@

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@H_301_1@

VTK_MAJOR_VERSION 8,rendering backend: OpenGL2@H_301_1@

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@H_301_1@

Could NOT find PCAP (missing: PCAP_LIBRARIES PCAP_INCLUDE_DIRS)@H_301_1@

Boost version: 1.58.0@H_301_1@

Found the following Boost libraries:@H_301_1@

system@H_301_1@

filesystem@H_301_1@

thread@H_301_1@

date_time@H_301_1@

iostreams@H_301_1@

chrono@H_301_1@

atomic@H_301_1@

regex@H_301_1@

DOXYGEN_FOUND @H_301_1@

HTML_HELP_COMPILER @H_301_1@

Found CPack generators: DEB@H_301_1@

The following subsystems will be built:@H_301_1@

common@H_301_1@

octree@H_301_1@

kdtree@H_301_1@

search@H_301_1@

sample_consensus@H_301_1@

filters@H_301_1@

io@H_301_1@

2d@H_301_1@

features@H_301_1@

registration@H_301_1@

ml@H_301_1@

recognition@H_301_1@

keypoints@H_301_1@

tracking@H_301_1@

geometry@H_301_1@

visualization@H_301_1@

outofcore@H_301_1@

stereo@H_301_1@

gpu_containers@H_301_1@

gpu_utils@H_301_1@

gpu_octree@H_301_1@

gpu_kinfu_large_scale@H_301_1@

gpu_features@H_301_1@

gpu_kinfu@H_301_1@

gpu_segmentation@H_301_1@

segmentation@H_301_1@

surface@H_301_1@

tools@H_301_1@

people@H_301_1@

The following subsystems will not be built:@H_301_1@

gpu_tracking: Disabled by default.@H_301_1@

gpu_surface: Disabled by default.@H_301_1@

gpu_people: Disabled by default.@H_301_1@

simulation: Disabled by default.@H_301_1@

examples: Code examples are disabled by default.@H_301_1@

global_tests: No reason@H_301_1@

apps: No reason@H_301_1@

Configuring done@H_301_1@

Generating done@H_301_1@

9. make -j${nproc}@H_301_1@


@H_301_1@


@H_301_1@


done! @H_301_1@

猜你在找的Ubuntu相关文章