64位系统下VS2013中PCL1.7.2的配置

PCL包含了众多点云处理的方法,最近一个项目正好需要进行这方面数据的处理,选定的平台为VS2013,因此在此记录下PCL1.7.2的配置步骤。

操作系统版本:windows 10 64位

VS版本:Visual Studio Community 2013 

PCL:PCL-1.7.2-AllInOne-msvc2013-win64

配置步骤:

(1)安装VS2013

vs2013采用了在线安装的方式,从官网下载对应安装程序,让其自动运行,整个安装过程可能持续两到三个小时。

(2)安装PCL

在官网上下载PCL-1.7.2-AllInOne-msvc2013-win64.exe。安装到对应目录,我在本机中选择的是D:\PCL。(注意默认安装目录中包含空格,可能会出现问题,所以最好自己手动选择安装目录,确保其中不含空格和中文)。

(3)配置PCL

首先添加环境变量:

D:\PCL\bin
D:\PCL\3rdParty\FLANN\bin
D:\PCL\3rdParty\QHull\bin
D:\PCL\3rdParty\VTK\bin

然后设置包含目录

D:\PCL\include\pcl-1.7;
D:\PCL\3rdParty\VTK\include\vtk-5.10;
D:\PCL\3rdParty\QHull\include;
D:\PCL\3rdParty\FLANN\include;
D:\PCL\3rdParty\Eigen\eigen3;
D:\PCL\3rdParty\Boost\include\boost-1_55;$(IncludePath)

再设置库目录

D:\PCL\3rdParty\VTK\lib\vtk-5.10;
D:\PCL\3rdParty\QHull\lib;
D:\PCL\lib;
D:\PCL\3rdParty\FLANN\lib;
D:\PCL\3rdParty\Boost\lib;

最后设置附加依赖项

pcl_features_debug.lib
pcl_filters_debug.lib
pcl_visualization_debug.lib
opengl32.lib
pcl_kdtree_debug.lib
pcl_io_debug.lib
pcl_search_debug.lib
pcl_segmentation_debug.lib
pcl_apps_debug.lib
pcl_common_debug.lib
flann_cpp_s-gd.lib
libboost_system-vc120-mt-gd-1_55.lib
libboost_filesystem-vc120-mt-gd-1_55.lib
libboost_thread-vc120-mt-gd-1_55.lib
libboost_date_time-vc120-mt-gd-1_55.lib
libboost_iostreams-vc120-mt-gd-1_55.lib
vtkalglib-gd.lib
vtkCharts-gd.lib
vtkCommon-gd.lib
vtkDICOMParser-gd.lib
vtkexoIIc-gd.lib
vtkexpat-gd.lib
vtkFiltering-gd.lib
vtkfreetype-gd.lib
vtkftgl-gd.lib
vtkGenericFiltering-gd.lib
vtkGeovis-gd.lib
vtkGraphics-gd.lib
vtkhdf5-gd.lib
vtkHybrid-gd.lib
vtkImaging-gd.lib
vtkInfovis-gd.lib
vtkIO-gd.lib
vtkjpeg-gd.lib
vtklibxml2-gd.lib
vtkmetaio-gd.lib
vtkNetCDF-gd.lib
vtkNetCDF_cxx-gd.lib
vtkpng-gd.lib
vtkproj4-gd.lib
以上附加依赖项是用户Debug模式,如果要中release模式下编译,需选择对应的release版本,配置如下:

pcl_features_release.lib
pcl_filters_release.lib
pcl_visualization_release.lib
opengl32.lib
pcl_kdtree_release.lib
pcl_io_release.lib
pcl_search_release.lib
pcl_segmentation_release.lib
pcl_apps_release.lib
pcl_common_release.lib
libboost_system-vc120-mt-1_55.lib
libboost_filesystem-vc120-mt-1_55.lib
libboost_thread-vc120-mt-1_55.lib
libboost_iostreams-vc120-mt-1_55.lib


你可能感兴趣的:(点云处理)