Amr Samir
Amr Samir

Reputation: 43

Kinect for windows running requirements

I developed an application using Kinect sensor and installed version 1.8 SDK and everything works fine. but it fails to detect the sensor when running the executable file with only Kinect for windows runtime v1.8, So my question is, Do i have to install Kinect SDK v1.8 to run the application or Just the runtime will work ? and if it works with the runtime file, what could be the reason preventing it form working with me ?

Upvotes: 0

Views: 145

Answers (1)

bingcheng45
bingcheng45

Reputation: 418

First ensure you have this code in the post build to copy the dll files over to the release folder you will need to run the exe file.

Under Projects > "YourProjectName" Properties

Paste this Code under Post Build event.

xcopy "$(KINECTSDK20_DIR)Redist\VGB\$(Platform)\vgbtechs" "$(TargetDir)\vgbtechs" /S /R /Y /I

enter image description here

Second, Run the program in release build first with the configuration of x64 as show here.

enter image description here

Third, you would create an exe file found here.

enter image description here

Now you can create a shortcut to be able to run the program. IMPORTANT: the exe file must be in the release folder, you can rename it and zip it to send to other people. enter image description here

Now, you are good to go, all the required dll files should be located in the folder.

Hope you find this helpful.

Upvotes: 0

Related Questions