VS2010+PCL1.6.0+1.7.2(Win7 64位)安裝教程
【原文:http://blog.csdn.net/u013094443/article/details/48894933】
之前在自己的筆記本上(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
相關文章
- Win7系統安裝詳細教程步驟Win7
- Mac上建立Win7安裝盤圖文教程MacWin7
- 虛擬機器安裝教程win73264位教程 虛擬機器安裝教程win7映象檔案虛擬機Win7
- 換新電腦後怎麼重灌系統win7,win7安裝教程Win7
- win10安裝win7虛擬機器教程_win10怎麼安裝win7虛擬機器Win10Win7虛擬機
- u盤怎麼裝Win7系統 隨身碟安裝Win7系統完整版教程Win7
- 在Win7的硬碟上安裝Fedora17的方法教程Win7硬碟
- XP和WIN7雙系統作業系統安裝教程Win7作業系統
- Win7/Win10雙系統安裝方法圖文教程Win7Win10
- Win11都來了依然堅持用win7?Win7系統安裝教程分享Win7
- u盤如何安裝windows7系統 u盤一鍵安裝win7映象系統教程WindowsWin7
- win7安裝apache+phpWin7ApachePHP
- win7下安裝tomcatWin7Tomcat
- 安裝win7的小插曲Win7
- EFI引導安裝win7Win7
- Win7 U盤安裝Ubuntu16.04 雙系統詳細教程Win7Ubuntu
- mysql非安裝包安裝教程MySql
- [轉]win7安裝和解除安裝oracle 10GWin7Oracle
- ElasticSearch安裝教程Elasticsearch
- Beanstalk 安裝教程Bean
- Redis安裝教程Redis
- helm安裝教程
- ElasticSearch 安裝教程Elasticsearch
- pycharm安裝教程PyCharm
- Maven安裝教程Maven
- GitHub安裝教程?Github
- redis 安裝教程Redis
- cuda安裝教程
- PDK安裝教程
- ffmpeg安裝教程
- Mac VMware 安裝ghost版本Win7MacWin7
- Win7 安裝Ubuntu 雙系統Win7Ubuntu
- win7安裝MySQL資料庫Win7MySql資料庫
- Photoshop 2021超詳細安裝教程(附安裝包+安裝教程福利)
- Win7系統下硬碟安裝Win8系統方法圖文教程Win7硬碟
- Win7系統下安裝Win8系統雙系統的教程Win7
- 預裝Win8系統EFI主機板電腦安裝Win7的方法(Legacy安裝Win7)Win7
- Win7: VirtualBox虛擬機器安裝Ubuntu詳細教程 & Ubuntu下如何安裝最新Node.js&npm包Win7虛擬機UbuntuNode.jsNPM