简体   繁体   中英

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 ?

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

在此处输入图片说明

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

在此处输入图片说明

Third, you would create an exe file found 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. 在此处输入图片说明

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

Hope you find this helpful.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM