NuGet Azure Kinect Body Tracking only have amd64 libs?

Kai-Mikael Jää-Aro 26 Reputation points
2020-09-08T15:27:31.587+00:00

I have started trying out the sample program at https://video2.skills-academy.com/sv-se/azure/Kinect-dk/build-first-body-app

I use Visual Studio, so I added the following packages with the NuGet manager:
Microsoft.Azure.Kinect.BodyTracking
Microsoft.Azure.Kinect.BodyTracking.Dependencies
Microsoft.Azure.Kinect.BodyTracking.Dependencies.cuDNN
Microsoft.Azure.Kinect.Sensor

When building the program I get linking errors like:
Error LNK2019 unresolved external symbol _k4abt_tracker_create referenced in function _main HelloBodytracker
etc

When I look at the contents of the project, I notice that the Microsoft.Azure.Kinect.Sensor package has both amd64 and x86 libs, but the Microsoft.Azure.Kinect.BodyTracking.* packages only have amd64 libs. Is this intentional?

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.
294 questions
{count} votes

Accepted answer
  1. QuantumCache 20,271 Reputation points
    2020-09-09T03:31:04.903+00:00

    Hello @Kai-Mikael Jää-Aro ,

    Could you please change the debugging and building platform to x64 , not x32.

    Please take a look at these similar Github issues:

    Body Tracking Samples Visual Studio's error Code LNK2019: Unresolved external symbol.

    Using Body Tracking functions won't compile.

    Please let us know if you need further help in this matter.
    Please accept helpful responses as 'Answer', which will be helpful to others as well with similar question.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.