unable to run example body tracking

32877298 10 Reputation points
2023-03-20T23:36:11.6766667+00:00

I am unable to run one of the example programs provided with the Azure Kinect Body Tracking SDK. I am using Visual Studio 2022 on a Windows 10 PC. The example is the Simple3dviewer under body tracking examples. The program fails with the following error. Severity Code Description Project File Line Suppression State

Error LNK1104 cannot open file 'C:\Users\student\source\repos\Azure-Kinect-Samples-master\body-tracking-samples\jump_analysis_sample\build\bin\Debug\window_controller_3d.lib' jump_analysis_sample C:\Users\student\source\repos\Azure-Kinect-Samples-master\body-tracking-samples\jump_analysis_sample\LINK 1

In the above specified folder, there is only a window_*controller_*3d.pdb file. Any help?

Azure IoT
Azure IoT
A category of Azure services for internet of things devices.
383 questions
Azure Kinect DK
Azure Kinect DK
A Microsoft developer kit and peripheral device with advanced artificial intelligence sensors for sophisticated computer vision and speech models.
287 questions
{count} votes

1 answer

Sort by: Most helpful
  1. QuantumCache 20,031 Reputation points
    2023-03-22T05:42:36.6266667+00:00

    Hello @32877298,

    In the above specified folder, there is only a window_*controller_*3d.pdb file. Any help?

    Yes, you are right! As you have mentioned, the specified folder only contains a '.pdb' file and not a '.lib' file.

    Here are a few things you can try to resolve this issue:

    -->You can try building the 'window_controller_3d' library from the source code provided in the Azure Kinect SDK, and then add the resulting '.lib' file to the project. Using Visual Studio build the 'window_controller_3d' project and locate the resulting 'window_controller_3d.lib' file in the output folder and copy it to the folder specified in the error message.

    -->Simple3dviewer project: Check that the 'Additional Dependencies' field contains the correct path to the 'window_controller_3d.lib' file. If the path is incorrect, update it and then rebuild the project.

    -->Clean and rebuild the project

    References: "window_controller_3d::window_controller_3d" was not found. #1010

    Where is 'window_controller_3d.lib'?

    (https://github.com/microsoft/Azure-Kinect-Sensor-SDK/issues/1008)


    If this answers your query, do click Accept Answer and Yes for this answer as helpful. And, if you have any further query do let us know by commenting in the below section. happy to help!