microsoftarchive / KinectCommonBridge

Other
113 stars 43 forks source link

'NuiApi.h': No such file error during build #15

Closed ADNewbie closed 10 years ago

ADNewbie commented 10 years ago

Apologies for cross posting. I get 'NuiApi.h': No such file error during build (VS 13, Windows8.1), which I assume relate to configuration settings. Are the clear configuration settings anywhere? I tried to follow and adapt instructions here: https://github.com/joshuajnoble/ofxKinectCommonBridge to no avail. Any suggestions?

mkostin commented 10 years ago

Hi @ADNewbie, assuming you're using dev or master branch that are targeting Kinect v1.8 SDK, you can find NuiApi.h in %KINECTSDK10_DIR%\inc directory (e.g. c:\Program Files\Microsoft SDKs\Kinect\v1.8\inc\). See details on MSDN here.

For Kinect 2.0 SDK (2.0 branch) please don't forget to use $(KINECTSDK20_DIR)inc.

ADNewbie commented 10 years ago

Thanks mkostin, Edit: Problem solved (I think). For others sake, I was using master branch instead of 2.0 branch. I'll close the issue.