Skip to content
llorenzeclipse edited this page Jun 1, 2015 · 1 revision

C# Source The C# code for accessing the Kinect SDK can be found here. It is embedded in Jnects Java code by jni4net.

JNI4NET Bridge In the project org.jnect.kinect, you can find the C# wrapper source code (and a corresponding Visual Studio Project). Furthermore, there is everything needed in order to generate the jni4net bridge out of the C# binaries. If you made any changes to the C# code, the generation needs to be done as follows:

Compile the C# sources and generate an assembly MicrosoftKinectWrapper.dll from it. (Just build the VS Solution "MicrosoftKinectWrapper" in Visual Studio). Generate the jni4net bridges by executing the script generate.bat in the folder org.jnect.kinect\MicrosoftKinectWrappers\jni4net_generation. This script needs to be started from the Visual Studio Command Prompt (Start -> VisualStudio -> Visual Studio Tools) and in the folder it is located in (jni4net_generation). The general approach of how to generate the jni4net bridge can be found here. If you should face any problems whith the generation precedure, have a look at the explanations there. (It describes in detail, what the script does and possible problems there could be).

Here is the website of the jni4net project. You can find more info there.

Clone this wiki locally