(转) Kinect SDK Ogre Environment Setup

 

To set up the environment for Kinect and Ogre project in Visual Studio 2010, follow the following steps.


Create Win32 Project
1. In visual studio 2010, create an empty C++ Win32 project: File --> New --> Project.

2. In the prompt window, select Visual C++ --> Win32 Project --> Enter a name and select a location for your project --> OK --> Next --> Select Windows application,check Empty project --> Finish.


Setup Kinect Environment 
1. Go to Properties --> In the Configuration dropdown box, select All Configurations.

2. In the Properties window, click VC++ Directories --> Add the following line to Include Directories:
$(KINECTSDK10_DIR)\inc

3. Under VC++ Directories --> Add the following line to Library Directories:
$(KINECTSDK10_DIR)\lib\x86

4. In the Properties window, click Linker --> Input --> Add the following lib file names toAdditional Dependencies:
advapi32.lib
shell32.lib
ole32.lib
oleaut32.lib
uuid.lib
odbc32.lib
odbccp32.lib
Kinect10.lib



Setup Ogre Environment
To set up Ogre environment, point your browser to the website below:
http://www.ogre3d.org/tikiwiki/tiki-index.php?page=Setting+Up+An+Application+-+Visual+Studio


Preprocessor Settings
In the Properties window, click C/C++ --> Preprocessor --> Add the fowllowing toPreprocessor Definitions:

WIN32
_DEBUG
_WINDOWS
WIN32_LEAN_AND_MEAN
INC_OLE2
 

(转):http://kinectogre3d.blogspot.com/2012/11/kinect-ogre-environment-setup.html

posted @ 2012-12-26 11:28  时刻食客石刻#  阅读(202)  评论(0编辑  收藏  举报