• PCL+ OpenNI2 + VS2010环境配置(Windows )


    一、下载、安装:

         1、PCL下载安装。

              http://www.pointclouds.org/downloads/  下载最新的版本。或者下载预先编译好的。

              我下载的是Using prebuilt binaries 下的Windows 版本(如图1).website:http://www.pointclouds.org/downloads/windows.html  

              下载好后安装即可。  我的安装目录为:D:Program FilesPCL 1.6.0

                                               

    图1

          2、OpenNI2

               OpenNI 2.0 的安裝 比OpenNI 1.x简化了。安装OpenNI2之前,需要先安装微软自己的 Kinect for Windows SDK(下载页面)支持。

               OpenNI2官方下载页面:http://www.openni.org/openni-sdk/ 

               下载响应的OpenNI SDK并运行安裝就可以了。目前而言,OpenNI 1.x 和 OpenNI 2.0 也是可以同時安装使用的。

               我的安装路径是,D:Program FilesOpenNI2

     

     

    二、配置环境

        1、 计算机-->属性-->高级系统设置。弹出系统属性框。高级-->环境变量。添加系统变量,PCL_ROOT,变量值:D:Program FilesPCL 1.6.0

        2、在系统变量Path后追加:

             D:Program FilesOpenNIBin;

             D:Program FilesPCL 1.6.0in;

             D:Program FilesPCL 1.6.03rdPartyFLANNin;

             D:Program FilesPCL 1.6.03rdPartyQhullin;

             D:Program FilesTortoiseSVNin

    三、具体工程配置

          1、新建工程后,项目属性->VC++目录->包含目录 添加:

                D:Program FilesOpenNI2Include           

                D:Program FilesOpenNI2IncludeWin32

                D:Program FilesPCL 1.6.0includepcl-1.6

                D:Program FilesPCL 1.6.03rdPartyBoostinclude

                D:Program FilesPCL 1.6.03rdPartyEigeninclude

                D:Program FilesPCL 1.6.03rdPartyFLANNinclude

                D:Program FilesPCL 1.6.03rdPartyQhullinclude

                D:Program FilesPCL 1.6.03rdPartyVTKincludevtk-5.8

          2、项目属性->VC++目录->库目录 添加:

                D:Program FilesOpenNI2Lib

                D:Program FilesPCL 1.6.0lib

                D:Program FilesPCL 1.6.03rdPartyBoostlib

                D:Program FilesPCL 1.6.03rdPartyFLANNlib

                D:Program FilesPCL 1.6.03rdPartyQhulllib

                D:Program FilesPCL 1.6.03rdPartyVTKlibvtk-5.8

           3、dubug模式,链接器->输入->附加依赖项 添加

                         OpenNI2.lib

                opengl32.lib
                pcl_kdtree_debug.lib
                pcl_io_debug.lib
                pcl_search_debug.lib
                pcl_segmentation_debug.lib
                pcl_apps_debug.lib
                pcl_features_debug.lib
                pcl_filters_debug.lib
                pcl_visualization_debug.lib
                pcl_common_debug.lib
                flann_cpp_s-gd.lib
                libboost_system-vc100-mt-gd-1_47.lib
                libboost_filesystem-vc100-mt-gd-1_47.lib
                libboost_thread-vc100-mt-gd-1_47.lib
                libboost_date_time-vc100-mt-gd-1_47.lib
                libboost_iostreams-vc100-mt-gd-1_47.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
                vtkRendering-gd.lib
                vtksqlite-gd.lib
                vtksys-gd.lib
                vtktiff-gd.lib
                vtkverdict-gd.lib
                vtkViews-gd.lib
                vtkVolumeRendering-gd.lib
                vtkWidgets-gd.lib
                vtkzlib-gd.lib

     

     

     

     

     

     

     

              

     

          

     

     

     

  • 相关阅读:
    C# layui组件Dtree简单使用
    利用FormsAuthentication.RedirectFromLoginPage进行身份验证
    Mono for Android (4)-- 图片转为二进制,二进制转回图片
    Android Bitmap详细介绍
    Mono for Android (3)-- AbsoluteLayout、FrameLayout、LinearLayout、RelativeLayout、TableLayout
    Mono for Android (2)-- Android应用程序初认识
    iOS之浅谈纯代码控制UIViewController视图控制器跳转界面的几种方法
    JAVA学习笔记(六)--简单抽奖系统
    第五周JAVA学习笔记(五)
    第四周JAVA学习笔记(四)
  • 原文地址:https://www.cnblogs.com/Akunwjy/p/PCL.html
Copyright © 2020-2023  润新知