# Linking Kinect v2 SDK

**URL:** <https://forums.unrealengine.com/t/linking-kinect-v2-sdk/87425>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [March 12, 2017, 10:38am UTC](https://forums.unrealengine.com/t/linking-kinect-v2-sdk/87425 "2017-03-12T10:38:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![amit\_leshem](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@amit\_leshem](https://forums.unrealengine.com/u/amit_leshem)\
**Post date:** [March 12, 2017, 10:38am UTC](https://forums.unrealengine.com/t/linking-kinect-v2-sdk/87425/1 "2017-03-12T10:38:12Z")

</div>

Hey everybody,

I’m trying to use the **Kinect V2 with UE4** (4.15).  
my c++ is not strong and I’ve never added a .dll / .lib to a UE4 project.  
I come from a long experience with ActionScript 3, JS, PHP and other, mostly web and hybrid related, programming. so the use of libraries with c++ and UE4 is strange to me.

the Kinect SDK can be downloaded from here:  
[https://www.microsoft.com/en-us/download/confirmation.aspx?id=44561](https://www.microsoft.com/en-us/download/confirmation.aspx?id=44561)

Frameworks I’ve been able to use the SDK with  
I was able to use the Kinect SDK with Unity (using a specific unity plugin. so it was fairly easy). **BUT I WANT THE POWER OF UE4**.  
I also managed to use the SDK with a WPF Application (using this tutorial: [Kinect 2 for Windows - Hands On Lab 1](http://kinect.github.io/tutorial/lab01/index.html)). but these instructions don’t seem to be relevant to UE4. first of all, I don’t have “Extensions” in the “References” menu…

Tutorials and Guides about adding Libraries to UE4  
I’ve read a number of guides about UE4 and adding libraries:

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

and other general information about .libs and .dlls.  
first of all, they talk about a library I’ve created. **I didn’t created the Kinect SDK and can’t change it (or do I and should I change it?)**.

in the forum I’ve found:  
Including a SDK in plugin - [Including a SDK in plugin - Engine Source & GitHub - Unreal Engine Forums](https://forums.unrealengine.com/showthread.php?136238-Including-a-SDK-in-plugin&highlight=kinect) - as far as I can tell from the thread, it didn’t end well.

I use Visual Studio Community 2015. windows 64x.  
and I’ve found the kinect folder holding all the Kinect goodies (.dll, .libs, header files).  
here is its structure (including only what a find important for my task).

Kinect SDK folder content:

- Assemblies  
– Microsoft.Kinect.dll  
– Microsoft.Kinect.xml

- bin  
– Database…  
– NuiDatabase…  
– vgbtechs…  
– Kinect20.face.dll  
– Kinect20.Fusion.dll  
– Microsoft.Kinect.Face.dll  
– Microsoft.Kinect.Fusion.dll  
– Microsoft.Kinect.VisualGestureBuilder.dll  
– Microsoft.Kinect.Wpf.Controls.dll  
– many .exe files…

- inc  
– Kinect.Face.h  
– Kinect.h  
– other .h files

- lib  
– x64  
— Kinect20.VisualGestureBuilder.lib  
— Kinect20.lib  
— Kinect20.Fusion.lib  
— Kinect20.Face.lib

- Redist… (I belive this is only relevant to .NET projects and UE4 is not a .NET environment project)

- Samples  
– HTML…  
– Managed…  
– Native… (a number of C++ solutions) they don’t have any thing in their “References” but the “External Dependencies” have a Kinect.h and Kinect.INPC.h files.  
– WinRT…

- Tools…

**THE BIG QUESTIONS ARE** :

1. How do I proceed from here?
2. when I publish the project, will I need to added anything to the exported content? (it will be playing on machines I have full control over and they will have the SDK and the Kinect installed).
3. which .dll / .lib files should I include? (I’m betting on inc\Kinect.h)
4. any additional tips are appreciated.

by the way, I’m aware of an existing Kinect 4 Unreal plugin but it seems it wasn’t updated since 4.10 and I wish to use new UE4 features.  
besides, I’m an “hands on” guy. I’d rather write my own code so I’ll have complete understanding of what is goind on and have control as deep as possible.

thanks for the help.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_45693956](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_45693956](https://forums.unrealengine.com/u/anonymous_user_45693956)\
**Post date:** [May 11, 2017, 1:23pm UTC](https://forums.unrealengine.com/t/linking-kinect-v2-sdk/87425/2 "2017-05-11T13:23:15Z")

</div>

Hey,

I am with the same problem here.  
Did you get success?

Thank you

---

<div class="post-metadata">

**Author:** ![amit\_leshem](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@amit\_leshem](https://forums.unrealengine.com/u/amit_leshem)\
**Post date:** [May 11, 2017, 6:15pm UTC](https://forums.unrealengine.com/t/linking-kinect-v2-sdk/87425/3 "2017-05-11T18:15:37Z")

</div>

[;707562]  
Hey,

I am with the same problem here.  
Did you get success?

Thank you  
[/QUOTE]

for now the use of UE4 is on hold, for this project. for now, my Kinect project is taking a more 2D direction.  
but I hope in the future to continue with UE4 and kinect. but even if I wili, it will take months to get back to it.  
I will post on this thread the process I did, if I will solve this issue.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_45693956](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_45693956](https://forums.unrealengine.com/u/anonymous_user_45693956)\
**Post date:** [May 11, 2017, 8:37pm UTC](https://forums.unrealengine.com/t/linking-kinect-v2-sdk/87425/4 "2017-05-11T20:37:28Z")

</div>

for now the use of UE4 is on hold, for this project. for now, my Kinect project is taking a more 2D direction.  
but I hope in the future to continue with UE4 and kinect. but even if I wili, it will take months to get back to it.  
I will post on this thread the process I did, if I will solve this issue.  
[/QUOTE]

Good luck on your project!  
Maybe I’ll adventure trying make it hahaha.  
I never worked with skeleton before, but i can try it.
