直接All In One了(PCL-1.8.0-AllInOne-msvc2015-win64.exe)。
(下完整库自己编译的话去 git 。)
设置环境变量:
变量:OPENNI2_INCLUDE64 值:G:\MyProjects\PCL\PCL 1.8.0\3rdParty\OpenNI2\Include\
变量:OPENNI2_LIB64 值:G:\MyProjects\PCL\PCL 1.8.0\3rdParty\OpenNI2\Lib\
变量:OPENNI2_REDIST64 值:G:\MyProjects\PCL\PCL 1.8.0\3rdParty\OpenNI2\Redist\
变量:PCL_ROOT 值:G:\MyProjects\PCL\PCL 1.8.0
变量:Path 值:添加 %PCL_ROOT%\bin;%OPENNI2_REDIST64%
(第三方库的dll文件 G:\MyProjects\PCL\PCL 1.8.0\3rdParty\3rdBin 不确定是否需要添加)
VS中配置属性表,包含目录:
G:\MyProjects\PCL\PCL 1.8.0\include\pcl-1.8G:\MyProjects\PCL\PCL 1.8.0\3rdParty\Boost\include\boost-1_61
G:\MyProjects\PCL\PCL 1.8.0\3rdParty\Qhull\include
G:\MyProjects\PCL\PCL 1.8.0\3rdParty\FLANN\include
G:\MyProjects\PCL\PCL 1.8.0\3rdParty\VTK\include\vtk-7.0
G:\MyProjects\PCL\PCL 1.8.0\3rdParty\Eigen\eigen3
G:\MyProjects\PCL\PCL 1.8.0\3rdParty\OpenNI2
库目录:
G:\MyProjects\PCL\PCL 1.8.0\3rdParty\VTK\lib
G:\MyProjects\PCL\PCL 1.8.0\3rdParty\FLANN\lib
G:\MyProjects\PCL\PCL 1.8.0\3rdParty\Qhull\lib
G:\MyProjects\PCL\PCL 1.8.0\3rdParty\Boost\lib
G:\MyProjects\PCL\PCL 1.8.0\lib
G:\MyProjects\PCL\PCL 1.8.0\3rdParty\OpenNI2\Lib
附加依赖项:
pcl_common_debug.lib
pcl_features_debug.lib
pcl_filters_debug.lib
pcl_io_debug.lib
pcl_io_ply_debug.lib
pcl_kdtree_debug.lib
pcl_keypoints_debug.lib
pcl_ml_debug.lib
pcl_octree_debug.lib
pcl_outofcore_debug.lib
pcl_people_debug.lib
pcl_recognition_debug.lib
pcl_registration_debug.lib
pcl_sample_consensus_debug.lib
pcl_search_debug.lib
pcl_segmentation_debug.