Using Kinect SDK in C++ project

0. Environment

Windows 8 Enterprice x64

Visual studio 2012

Kinect SDK 1.6

1. Steps

1.0 Assume you installed the Kinect SDK in folder "C:\Program Files\Microsoft SDKs\Kinect\v1.6"

1.1 Add "C:\Program Files\Microsoft SDKs\Kinect\v1.6\inc" to "Include Directories" in "Properties(right click the project name) -> Configuration Properties -> VC++ Directories"

1.2 Add "C:\Program Files\Microsoft SDKs\Kinect\v1.6\lib\x86" to "Library Directories" in "Properties(right click the project name) -> Configuration Properties -> VC++ Directories"

1.3 Add "Kinect10.lib" to "Additional Dependencies" in "Properties(right click the project name) -> Configuration Properties -> Linker -> Input"

1.4 Add "#include <Windows.h>" and "#include<NuiApi.h>" to your code

2. Reference

http://www.cnblogs.com/uestc-wxp/archive/2012/08/06/2625407.html

(This article is from http://www.cnblogs.com/chenyineng/archive/2013/01/30/2883312.html, and belongs to http://chenyineng.cnblogs.com and http://www.chenyineng.info)

posted @ 2013-01-30 16:48  Yineng  阅读(857)  评论(0编辑  收藏  举报
Homepage: www.chenyineng.info
Copyright 2010 - 2014 Yineng Chen. All rights reserved.