VS2010+PCL1.6.0+1.7.2(Win7 64位)安装教程
来源:互联网 发布:centos系统指令 编辑:程序博客网 时间:2024/05/16 18:21
之前在自己的笔记本上(win7 32位系统)安装过PCL1.6.0,但是今天在台式机上(win7 64位)按照那个教程没有成功,后来摸索了一下,运行测试用例通过了,希望给需要的朋友一点点帮助吧!(由于CSDN对资源大小有限制,所以传到360云盘吧)
1. 将这两个资源下载之后放在自己所建工程的同一级目录下面;
PCL1.6.0:http://yunpan.cn/cHGwBSMbDEi6P 访问密码 ebba
PCL1.7.2:http://yunpan.cn/cHGwEDahFSxH8 访问密码 bb69
2. 属性页面设置:
2.1 Properties->VC++ Directories->Include Directories:
..\..\PCL 1.6.0\3rdParty\Boost\include
..\..\PCL 1.7.2\include
..\..\PCL 1.6.0\3rdParty\Eigen\include
..\..\PCL 1.6.0\3rdParty\FLANN\include
..\..\PCL 1.6.0\3rdParty\Qhull\include
..\..\PCL 1.6.0\3rdParty\VTK\include\vtk-5.8
2.2 Properties->VC++ Directories->Library Directories:
..\..\PCL 1.6.0\3rdParty\Boost\lib
..\..\PCL 1.7.2\lib
..\..\PCL 1.6.0\3rdParty\FLANN\lib
..\..\PCL 1.6.0\3rdParty\Qhull\lib
..\..\PCL 1.6.0\3rdParty\Eigen\bin
..\..\PCL 1.6.0\3rdParty\VTK\lib\vtk-5.8
2.3 Properties->Configuration Manager->Active Solution platform->New->X64(三维引擎好像都要做这个设置)
(这一步非常重要,不要忘记)
3. 拷贝下面的dll到工程目录\X64\debug目录下(从PCL1.6.0和PCL1.7.2的bin文件夹下面找)
pcl_apps_debug.dll
pcl_common_debug.dll
pcl_features_debug.dll
pcl_filters_debug.dll
pcl_geometry_debug.dll
pcl_io_debug.dll
pcl_io_ply_debug.dll
pcl_kdtree_debug.dll
pcl_keypoints_debug.dll
pcl_octree_debug.dll
pcl_outofcore_debug.dll
pcl_people_debug.dll
pcl_recognition_debug.dll
pcl_registration_debug.dll
pcl_sample_consensus_debug.dll
pcl_search_debug.dll
pcl_segmentation_debug.dll
pcl_surface_debug.dll
pcl_tracking_debug.dll
pcl_visualization_debug.dll
vtkalglib.dll
vtkCommon.dll
vtkDICOMParser.dll
vtkexoIIc.dll
vtkexpat.dll
vtkFiltering.dll
vtkfreetype.dll
vtkftgl.dll
vtkGraphics.dll
vtkHybrid.dll
vtkImaging.dll
vtkInfovis.dll
vtkIO.dll
vtkjpeg.dll
vtklibxml2.dll
vtkmetaio.dll
vtkMFC.dll
vtkNetCDF.dll
vtkNetCDF_cxx.dll
vtkpng.dll
vtkRendering.dll
vtksys.dll
vtktiff.dll
vtkverdict.dll
vtkWidgets.dll
vtkzlib.dll
4. 新建一个.h文件,将需要包含的头文件和lib文件统统写在这个文件里面,记得将这个新建的.h文件添加进工程
//PclHeader.h
#pragma once #include <iostream>#include <pcl/console/parse.h>#include <pcl/point_types.h>#include <climits>#include <cfloat>#include <boost/config.hpp>#include <pcl/filters/random_sample.h>#include <pcl/sample_consensus/ransac.h>#include <pcl/sample_consensus/sac_model.h>#include <pcl/sample_consensus/model_types.h>#include <pcl/sample_consensus/sac_model_plane.h>#include <pcl/sample_consensus/sac_model_sphere.h>#include <pcl/visualization/pcl_visualizer.h>/*#include <pcl/point_cloud.h>*/#include <pcl/registration/registration.h>#include <pcl/registration/icp.h>#include <pcl/registration/correspondence_rejection_sample_consensus.h>#include <pcl/registration/ia_ransac.h>#include <pcl/registration/ndt.h>#include <limits>#include <fstream>#include <vector>#include <Eigen/Core>#include <pcl/point_types.h>#include <pcl/point_cloud.h>#include <pcl/io/pcd_io.h>#include <pcl/filters/passthrough.h>#include <pcl/filters/voxel_grid.h>#include <pcl/features/normal_3d.h>#include <pcl/features/fpfh.h>#include <pcl/registration/ia_ransac.h>#include <pcl/io/pcd_io.h>#include <pcl/common/io.h>#include <pcl/registration/icp_nl.h>#include <pcl/features/fpfh_omp.h>#include <pcl/features/normal_3d_omp.h>#include <pcl/keypoints/uniform_sampling.h>#include <pcl/registration/correspondence_rejection_distance.h>#include <pcl/registration/correspondence_estimation.h>#include <pcl/filters/extract_indices.h>#include <pcl/filters/filter.h>#include <pcl/segmentation/sac_segmentation.h>#include <pcl/filters/approximate_voxel_grid.h>#include <pcl/filters/conditional_removal.h>#include <pcl/filters/radius_outlier_removal.h>#include <pcl/filters/statistical_outlier_removal.h>#include <pcl/common/transforms.h>#include <pcl/segmentation/region_growing.h>#include <pcl/segmentation/extract_clusters.h>#include <pcl/segmentation/region_growing_rgb.h>#include <pcl/kdtree/kdtree.h>#include <pcl/kdtree/flann.h>#include <pcl/kdtree/kdtree_flann.h>#include <pcl/features/feature.h>#include <pcl/segmentation/organized_multi_plane_segmentation.h>#include <pcl/segmentation/region_3d.h>#include <pcl/geometry/planar_polygon.h>#include <pcl/segmentation/planar_region.h>#include <pcl/filters/crop_box.h>#include <pcl/filters/filter.h>#include <pcl/segmentation/supervoxel_clustering.h>#include <pcl/segmentation/conditional_euclidean_clustering.h>#include <pcl/octree/octree.h>#include <pcl/surface/gp3.h>typedef pcl::PointXYZ PointT;typedef pcl::PointCloud<PointT> PointCloud;typedef pcl::PointNormal PointNormalT;typedef pcl::PointCloud<PointNormalT> PointCloudWithNormals;//加载LIB文件#ifdef _DEBUG#pragma comment (lib, "../../PCL 1.7.2/lib/pcl_apps_debug.lib")#pragma comment (lib, "../../PCL 1.7.2/lib/pcl_common_debug.lib")#pragma comment (lib, "../../PCL 1.7.2/lib/pcl_features_debug.lib")#pragma comment (lib, "../../PCL 1.7.2/lib/pcl_filters_debug.lib")#pragma comment (lib, "../../PCL 1.7.2/lib/pcl_io_debug.lib")#pragma comment (lib, "../../PCL 1.7.2/lib/pcl_io_ply_debug.lib")#pragma comment (lib, "../../PCL 1.7.2/lib/pcl_kdtree_debug.lib")#pragma comment (lib, "../../PCL 1.7.2/lib/pcl_keypoints_debug.lib")#pragma comment (lib, "../../PCL 1.7.2/lib/pcl_octree_debug.lib")#pragma comment (lib, "../../PCL 1.7.2/lib/pcl_registration_debug.lib")#pragma comment (lib, "../../PCL 1.7.2/lib/pcl_sample_consensus_debug.lib")#pragma comment (lib, "../../PCL 1.7.2/lib/pcl_search_debug.lib")#pragma comment (lib, "../../PCL 1.7.2/lib/pcl_segmentation_debug.lib")#pragma comment (lib, "../../PCL 1.7.2/lib/pcl_surface_debug.lib")#pragma comment (lib, "../../PCL 1.7.2/lib/pcl_tracking_debug.lib")#pragma comment (lib, "../../PCL 1.7.2/lib/pcl_visualization_debug.lib")#else#pragma comment (lib, "../../PCL 1.7.2/lib/pcl_apps_release.lib")#pragma comment (lib, "../../PCL 1.7.2/lib/pcl_common_release.lib")#pragma comment (lib, "../../PCL 1.7.2/lib/pcl_features_release.lib")#pragma comment (lib, "../../PCL 1.7.2/lib/pcl_filters_release.lib")#pragma comment (lib, "../../PCL 1.7.2/lib/pcl_io_release.lib")#pragma comment (lib, "../../PCL 1.7.2/lib/pcl_io_ply_release.lib")#pragma comment (lib, "../../PCL 1.7.2/lib/pcl_kdtree_release.lib")#pragma comment (lib, "../../PCL 1.7.2/lib/pcl_keypoints_release.lib")#pragma comment (lib, "../../PCL 1.7.2/lib/pcl_octree_release.lib")#pragma comment (lib, "../../PCL 1.7.2/lib/pcl_registration_release.lib")#pragma comment (lib, "../../PCL 1.7.2/lib/pcl_sample_consensus_release.lib")#pragma comment (lib, "../../PCL 1.7.2/lib/pcl_search_release.lib")#pragma comment (lib, "../../PCL 1.7.2/lib/pcl_segmentation_release.lib")#pragma comment (lib, "../../PCL 1.7.2/lib/pcl_surface_release.lib")#pragma comment (lib, "../../PCL 1.7.2/lib/pcl_tracking_release.lib")#pragma comment (lib, "../../PCL 1.7.2/lib/pcl_visualization_release.lib")#endif
- VS2010+PCL1.6.0+1.7.2(Win7 64位)安装教程
- VS2010+PCL1.6.0+1.7.2(Win7 64位)安装教程
- PCL1.6.0+vs2010+win7/xp+32位配置
- 在win7 64位下cmake+vs2010编译 PCL1.7.2版本32位库
- Win64,VS2010配置PCL1.6.0(64)
- Win7 64位系统,使用(IME)模式VS2010 编写 和 安装 输入法 教程(1)
- win7 环境下vs2010环境如何配置点云库PCL1.6.0教程
- win7 64位旗舰版安装vs2010错误
- pcl1.6.0+vs2010(x64)配置
- PCL1.6.0配置VS2010
- MySql在Win7(64位)下安装教程
- win7 64位安装vs2010不成功的解决办法
- [转]64位win7系统安装vs2010不成功的解决办法
- win7 64位安装vs2010不成功的解决办法
- 64位win7系统VS2010下安装OpenCV2.4.9
- win7 64位系统+vs2010 编译安装openssl
- win7 64位安装vs2010不成功的解决办法
- VS2010+PCL1.6.0环境配置
- QT5 学习之路18---对话框数据传递
- iOS开发之导出ipa文件以及查看内容
- hdu 5496 Beauty of Sequence 枚举
- [about myself] 关于我自己
- 例题 7-7 宝箱 UVa 12325
- VS2010+PCL1.6.0+1.7.2(Win7 64位)安装教程
- 数据挖掘之分类
- JSP
- 白盒测试概述及其方法简介
- 使用脚本获得 消耗Linux操作系统内存的前10个用户
- 条款7中提及工厂method
- Regular Expression Matching
- 软考路之线性表
- linux 编写自己的shell