vs2013配置openni2

来源:互联网 发布:hive sql格式化工具 编辑:程序博客网 时间:2024/06/07 05:32

1.before run

  1. install openni2(x86)
  2. install the drive or sdk of your depth camera
  3. install NITE
  4. install opencv2

2.configuration in vs2013

  1. Configuration Properties,C/C++,Gerenal,在Additiaonal Include Directories项中添加$(OPENNI2_INCLUDE)
  2. Configuration Properties,Linker,Gerenal,在Additiaonal Library Directories项中添加$(OPENNI2_LIB)
  3. Configuration Properties,Linker,Input,在Additiaonal Dependencies项中添加OpenNI2.lib
  4. Go to Project>MyProject Properties and, in Configuration Properties>VC++ Directories…
    Added C:\Program Files (x86)\OpenNI2\Redist\; to Executable Directories
  5. Added C:\Program Files (x86)\OpenNI2\Include\; to Include Directories(改成自己的安装路径)
  6. Added C:\Program Files (x86)\OpenNI2\Redist\; to Reference Directories
  7. Added C:\Program Files (x86)\OpenNI2\Lib\; to Library Directories

3.run

just run

4.any question

email:chenxingwangzi@gmail.com

代码部分:https://github.com/chenxingzhe/opennitest

0 0
原创粉丝点击