Answered by:
VS 2017, Win 10, Kinect SDK v2.0

Question
-
Hi, I'm new to Kinect and currently trying to develop an app using Kinect.
I'm using Microsoft Visual Studio 2017 on Windows 10.
I also already installed Microsoft Kinect SDK v2.0-1409.
When adding references to my project I could see the Kinect library.
But, it is in gray colour. I could still used it but it tells me to check the compability. I think it is because I made the app target to Windows 10. I want to change the target to Windows 8.1, so it will compatible with my current SDK which also target the Windows 8.1, but there is not option for that. In Target Version I only have Windows 10 Creator option, while in Minimum Version, I have 4 options but all are still saying Windows 10 in it. I wonder how to make the target option to Windows 8.1 available ?
Thank you before.
Friday, June 9, 2017 7:11 AM
Answers
-
Perhaps it's an incompatibility with VS2017.
In general, this is the way to enable platforms for VS. You install the SDK for the platform you want and then change the target platform in the solution.
- Marked as answer by Lyncheese Wednesday, June 21, 2017 2:34 AM
Monday, June 19, 2017 8:35 AM
All replies
-
You need to download and install the Win8.1 SDK. Once you do that the target platform for it will be available.
- Proposed as answer by Nikolaos Patsiouras Friday, June 9, 2017 9:43 AM
Friday, June 9, 2017 9:43 AM -
I think the same.
It's installed, but no luck. Thanks for the suggestion anyway !
Monday, June 19, 2017 6:22 AM -
Perhaps it's an incompatibility with VS2017.
In general, this is the way to enable platforms for VS. You install the SDK for the platform you want and then change the target platform in the solution.
- Marked as answer by Lyncheese Wednesday, June 21, 2017 2:34 AM
Monday, June 19, 2017 8:35 AM -
I see you are using the Kinect for Windows v2.0 SDK...but from your text description of what you are trying to do, it seems you are trying to write an UWP app that will leverage the Kinect skeletal tracking features. Am I correct?
If so, the Kinect SDK v2.0 is for Windows desktop only. If you wish to deploy your UWP app to something like a XBox One, your Kinect SDK based code won't work.
Also, there are no Kinect features with the Windows 8.1 SDK. You need to have the Windows 10 SDK to leverage the Windows.Media.Capture namespace.
Finally, all of the above is actually moot because as of today (June 20, 2017), Microsoft has not added support for Kinect skeletal data onto the Windows 10 UWP platform.
Derrick Lau
Tuesday, June 20, 2017 4:05 PM -
You can still get them yourself using the Custom Data approach with the new SDK, but it's a lot of work and way more than the old Kinect SDK. If you seach this forum, you can find some responses from Jan Manchinic(I hope I spelled it correctly) that show how you can get some if not all the data.
It's probably a better idea to try the old SDK. It's painless in comparison.
Tuesday, June 20, 2017 4:42 PM -
Yes, you are right. It is for UWP app.
I also heard it somewhere that the SDK v2.0 did not support for UWP app yet.
So for now, I only can create WPF app.
Thank you very much for the information !
Wednesday, June 21, 2017 2:18 AM -
I'm still a beginner.
So, I don't think I will be able to follow that "a lot of work" path.
haha.
Thank you for your suggestion !
Wednesday, June 21, 2017 2:20 AM -
Well, incompability one of the possibilities.Wednesday, June 21, 2017 2:34 AM
-
I see you are using the Kinect for Windows v2.0 SDK...but from your text description of what you are trying to do, it seems you are trying to write an UWP app that will leverage the Kinect skeletal tracking features. Am I correct?
If so, the Kinect SDK v2.0 is for Windows desktop only. If you wish to deploy your UWP app to something like a XBox One, your Kinect SDK based code won't work.
Also, there are no Kinect features with the Windows 8.1 SDK. You need to have the Windows 10 SDK to leverage the Windows.Media.Capture namespace.
Finally, all of the above is actually moot because as of today (June 20, 2017), Microsoft has not added support for Kinect skeletal data onto the Windows 10 UWP platform.
Derrick Lau
UWP does support skeletal data on PC through Custom frame source (not on XBox as far as user reports say)
see Camera stream correlation UWP sample on GitHub or mine library code MultiK2 which includes also hand tracking support
Wednesday, June 21, 2017 7:12 AM