一、include包含目录
C:\pcl12\PCL 1.12.1\3rdParty\Boost\include\boost-1_78
C:\pcl12\PCL 1.12.1\3rdParty\Eigen\eigen3\include\eigen3
C:\pcl12\PCL 1.12.1\3rdParty\VTK\include\vtk-9.1
C:\pcl12\PCL 1.12.1\3rdParty\Qhull\include
C:\pcl12\PCL 1.12.1\3rdParty\VTK
C:\pcl12\PCL 1.12.1\include\pcl-1.12
C:\pcl12\PCL 1.12.1\3rdParty\FLANN\include
二、lib库目录
$(VC_LibraryPath_x64)
$(WindowsSDK_LibraryPath_x64)
C:\pcl12\PCL 1.12.1\lib
C:\pcl12\PCL 1.12.1\3rdParty\VTK\lib
C:\pcl12\PCL 1.12.1\3rdParty\Boost\lib
C:\pcl12\PCL 1.12.1\3rdParty\FLANN\lib
C:\pcl12\PCL 1.12.1\3rdParty\OpenNI2\Lib
C:\pcl12\PCL 1.12.1\3rdParty\Qhull\lib
三、技巧
四、vtk库
vtkcgns-9.1d.lib
vtkChartsCore-9.1d.lib
vtkCommonColor-9.1d.lib
vtkCommonComputationalGeometry-9.1d.lib
vtkCommonCore-9.1d.lib
vtkCommonDataModel-9.1d.lib
vtkCommonExecutionModel-9.1d.lib
vtkCommonMath-9.1d.lib
vtkCommonMisc-9.1d.lib
vtkCommonSystem-9.1d.lib
vtkCommonTransforms-9.1d.lib
vtkDICOMParser-9.1d.lib
vtkDomainsChemistry-9.1d.lib
vtkDomainsChemistryOpenGL2-9.1d.lib
vtkdoubleconversion-9.1d.lib
vtkexodusII-9.1d.lib
vtkexpat-9.1d.lib
vtkFiltersAMR-9.1d.lib
vtkFiltersCore-9.1d.lib
vtkFiltersExtraction-9.1d.lib
vtkFiltersFlowPaths-9.1d.lib
vtkFiltersGeneral-9.1d.lib
vtkFiltersGeneric-9.1d.lib
vtkFiltersGeometry-9.1d.lib
vtkFiltersHybrid-9.1d.lib
vtkFiltersHyperTree-9.1d.lib
vtkFiltersImaging-9.1d.lib
vtkFiltersModeling-9.1d.lib
vtkFiltersParallel-9.1d.lib
vtkFiltersParallelImaging-9.1d.lib
vtkFiltersPoints-9.1d.lib
vtkFiltersProgrammable-9.1d.lib
vtkFiltersSelection-9.1d.lib
vtkFiltersSMP-9.1d.lib
vtkFiltersSources-9.1d.lib
vtkFiltersStatistics-9.1d.lib
vtkFiltersTexture-9.1d.lib
vtkFiltersTopology-9.1d.lib
vtkFiltersVerdict-9.1d.lib
vtkfmt-9.1d.lib
vtkfreetype-9.1d.lib
vtkGeovisCore-9.1d.lib
vtkgl2ps-9.1d.lib
vtkglew-9.1d.lib
vtkhdf5-9.1d.lib
vtkhdf5_hl-9.1d.lib
vtkImagingColor-9.1d.lib
vtkImagingCore-9.1d.lib
vtkImagingFourier-9.1d.lib
vtkImagingGeneral-9.1d.lib
vtkImagingHybrid-9.1d.lib
vtkImagingMath-9.1d.lib
vtkImagingMorphological-9.1d.lib
vtkImagingSources-9.1d.lib
vtkImagingStatistics-9.1d.lib
vtkImagingStencil-9.1d.lib
vtkInfovisCore-9.1d.lib
vtkInfovisLayout-9.1d.lib
vtkInteractionImage-9.1d.lib
vtkInteractionStyle-9.1d.lib
vtkInteractionWidgets-9.1d.lib
vtkIOAMR-9.1d.lib
vtkIOAsynchronous-9.1d.lib
vtkIOCGNSReader-9.1d.lib
vtkIOChemistry-9.1d.lib
vtkIOCityGML-9.1d.lib
vtkIOCONVERGECFD-9.1d.lib
vtkIOCore-9.1d.lib
vtkIOEnSight-9.1d.lib
vtkIOExodus-9.1d.lib
vtkIOExport-9.1d.lib
vtkIOExportGL2PS-9.1d.lib
vtkIOExportPDF-9.1d.lib
vtkIOGeometry-9.1d.lib
vtkIOHDF-9.1d.lib
vtkIOImage-9.1d.lib
vtkIOImport-9.1d.lib
vtkIOInfovis-9.1d.lib
vtkIOIOSS-9.1d.lib
vtkIOLegacy-9.1d.lib
vtkIOLSDyna-9.1d.lib
vtkIOMINC-9.1d.lib
vtkIOMotionFX-9.1d.lib
vtkIOMovie-9.1d.lib
vtkIONetCDF-9.1d.lib
vtkIOOggTheora-9.1d.lib
vtkIOParallel-9.1d.lib
vtkIOParallelXML-9.1d.lib
vtkIOPLY-9.1d.lib
vtkIOSegY-9.1d.lib
vtkIOSQL-9.1d.lib
vtkioss-9.1d.lib
vtkIOTecplotTable-9.1d.lib
vtkIOVeraOut-9.1d.lib
vtkIOVideo-9.1d.lib
vtkIOXML-9.1d.lib
vtkIOXMLParser-9.1d.lib
vtkjpeg-9.1d.lib
vtkjsoncpp-9.1d.lib
vtkkissfft-9.1d.lib
vtklibharu-9.1d.lib
vtklibproj-9.1d.lib
vtklibxml2-9.1d.lib
vtkloguru-9.1d.lib
vtklz4-9.1d.lib
vtklzma-9.1d.lib
vtkmetaio-9.1d.lib
vtknetcdf-9.1d.lib
vtkogg-9.1d.lib
vtkParallelCore-9.1d.lib
vtkParallelDIY-9.1d.lib
vtkpng-9.1d.lib
vtkpugixml-9.1d.lib
vtkRenderingAnnotation-9.1d.lib
vtkRenderingContext2D-9.1d.lib
vtkRenderingContextOpenGL2-9.1d.lib
vtkRenderingCore-9.1d.lib
vtkRenderingFreeType-9.1d.lib
vtkRenderingGL2PSOpenGL2-9.1d.lib
vtkRenderingImage-9.1d.lib
vtkRenderingLabel-9.1d.lib
vtkRenderingLOD-9.1d.lib
vtkRenderingOpenGL2-9.1d.lib
vtkRenderingSceneGraph-9.1d.lib
vtkRenderingUI-9.1d.lib
vtkRenderingVolume-9.1d.lib
vtkRenderingVolumeOpenGL2-9.1d.lib
vtkRenderingVtkJS-9.1d.lib
vtksqlite-9.1d.lib
vtksys-9.1d.lib
vtkTestingRendering-9.1d.lib
vtktheora-9.1d.lib
vtktiff-9.1d.lib
vtkverdict-9.1d.lib
vtkViewsContext2D-9.1d.lib
vtkViewsCore-9.1d.lib
vtkViewsInfovis-9.1d.lib
vtkWrappingTools-9.1d.lib
vtkzlib-9.1d.lib
五、boost库
libboost_atomic-vc143-mt-gd-x64-1_78.lib
libboost_atomic-vc143-mt-x64-1_78.lib
libboost_chrono-vc143-mt-gd-x64-1_78.lib
libboost_chrono-vc143-mt-x64-1_78.lib
libboost_container-vc143-mt-gd-x64-1_78.lib
libboost_container-vc143-mt-x64-1_78.lib
libboost_context-vc143-mt-gd-x64-1_78.lib
libboost_context-vc143-mt-x64-1_78.lib
libboost_contract-vc143-mt-gd-x64-1_78.lib
libboost_contract-vc143-mt-x64-1_78.lib
libboost_coroutine-vc143-mt-gd-x64-1_78.lib
libboost_coroutine-vc143-mt-x64-1_78.lib
libboost_date_time-vc143-mt-gd-x64-1_78.lib
libboost_date_time-vc143-mt-x64-1_78.lib
libboost_exception-vc143-mt-gd-x64-1_78.lib
libboost_exception-vc143-mt-x64-1_78.lib
libboost_filesystem-vc143-mt-gd-x64-1_78.lib
libboost_filesystem-vc143-mt-x64-1_78.lib
libboost_graph-vc143-mt-gd-x64-1_78.lib
libboost_graph-vc143-mt-x64-1_78.lib
libboost_iostreams-vc143-mt-gd-x64-1_78.lib
libboost_iostreams-vc143-mt-x64-1_78.lib
libboost_json-vc143-mt-gd-x64-1_78.lib
libboost_json-vc143-mt-x64-1_78.lib
libboost_locale-vc143-mt-gd-x64-1_78.lib
libboost_locale-vc143-mt-x64-1_78.lib
libboost_log-vc143-mt-gd-x64-1_78.lib
libboost_log-vc143-mt-x64-1_78.lib
libboost_log_setup-vc143-mt-gd-x64-1_78.lib
libboost_log_setup-vc143-mt-x64-1_78.lib
libboost_math_c99-vc143-mt-gd-x64-1_78.lib
libboost_math_c99-vc143-mt-x64-1_78.lib
libboost_math_c99f-vc143-mt-gd-x64-1_78.lib
libboost_math_c99f-vc143-mt-x64-1_78.lib
libboost_math_c99l-vc143-mt-gd-x64-1_78.lib
libboost_math_c99l-vc143-mt-x64-1_78.lib
libboost_math_tr1-vc143-mt-gd-x64-1_78.lib
libboost_math_tr1-vc143-mt-x64-1_78.lib
libboost_math_tr1f-vc143-mt-gd-x64-1_78.lib
libboost_math_tr1f-vc143-mt-x64-1_78.lib
libboost_math_tr1l-vc143-mt-gd-x64-1_78.lib
libboost_math_tr1l-vc143-mt-x64-1_78.lib
libboost_nowide-vc143-mt-gd-x64-1_78.lib
libboost_nowide-vc143-mt-x64-1_78.lib
libboost_numpy39-vc143-mt-gd-x64-1_78.lib
libboost_numpy39-vc143-mt-x64-1_78.lib
libboost_program_options-vc143-mt-x64-1_78.lib
libboost_python39-vc143-mt-gd-x64-1_78.lib
libboost_python39-vc143-mt-x64-1_78.lib
libboost_random-vc143-mt-gd-x64-1_78.lib
libboost_random-vc143-mt-x64-1_78.lib
libboost_regex-vc143-mt-gd-x64-1_78.lib
libboost_regex-vc143-mt-x64-1_78.lib
libboost_serialization-vc143-mt-gd-x64-1_78.lib
libboost_serialization-vc143-mt-x64-1_78.lib
libboost_system-vc143-mt-gd-x64-1_78.lib
libboost_system-vc143-mt-x64-1_78.lib
libboost_thread-vc143-mt-gd-x64-1_78.lib
libboost_thread-vc143-mt-x64-1_78.lib
libboost_timer-vc143-mt-gd-x64-1_78.lib
libboost_timer-vc143-mt-x64-1_78.lib
libboost_type_erasure-vc143-mt-gd-x64-1_78.lib
libboost_type_erasure-vc143-mt-x64-1_78.lib
libboost_wave-vc143-mt-gd-x64-1_78.lib
libboost_wave-vc143-mt-x64-1_78.lib
libboost_wserialization-vc143-mt-gd-x64-1_78.lib
libboost_wserialization-vc143-mt-x64-1_78.lib
六、一些其他的库
OpenNI2.lib
pcl_commond.lib
pcl_octreed.lib
qhullstatic_rd.lib
qhull_rd.lib
qhullcpp_d.lib
qhullstatic_d.lib
flann_cpp_s-gd.lib
flann_cpp-gd.lib
flann-gd.lib
flann_s-gd.lib
pcl_featuresd.lib
pcl_filtersd.lib
pcl_iod.lib
pcl_io_plyd.lib
pcl_kdtreed.lib
pcl_keypointsd.lib
pcl_mld.lib
pcl_outofcored.lib
pcl_peopled.lib
pcl_recognitiond.lib
pcl_registrationd.lib
pcl_sample_consensusd.lib
pcl_searchd.lib
pcl_segmentationd.lib
pcl_stereod.lib
pcl_surfaced.lib
pcl_trackingd.lib
pcl_visualizationd.lib
vfw32.lib
glu32.lib
opengl32.lib
comctl32.lib
wsock32.lib
ws2_32.lib
Psapi.lib
kernel32.lib
user32.lib
gdi32.lib
winspool.lib
shell32.lib
ole32.lib
oleaut32.lib
uuid.lib
comdlg32.lib
advapi32.lib
rpcrt4.lib
delayimp.lib
根据上面的配置就可以运行程序了,或者打开pcl安装目录,找到下面的exe文件,如果双击以后黑屏不报错即成功。如果报错,请检查pcl里面引用的各个库,位置在C:\pcl12\PCL 1.12.1\3rdParty
下面,一共有六个库,Boost、Eigen、FLANN、OpenNI2、Qhull、VTK
检查这六个库里面的文件是否与上面的路径一致,如果不一致请重新安装,特别需要注意OpenNI2的位置,这个库是单独安装的,默认安装的路径不在3rdParty目录下面。
此外,还需根据情况下载Boost、Eigen、VTK对应的版本进行编译。