Skip to content

Function 'GetDefaultKinectSensor' always gives a LNK2019 error when linking. #20

@LuvaiCutlerywala

Description

@LuvaiCutlerywala

For context, I am currently using Visual Studio 2019 for the project and am using the Kinect For Windows SDK 2.0. I have set the path for the Kinect20.lib file in the Linker section of the Properties sheet, as well as also included the Kinect.h header file. When linking, it has always given me the error LNK2019 unresolved external symbol _GetDefaultKinectSensor@4 referenced in function "public: static long __cdecl BodyTracker::initialiseSensor(void)" (?initialiseSensor@BodyTracker@@SAJXZ) BodyTracker C:\Users\luvai_kcrxbon\C++\BodyTracker\BodyTracker.obj 1 . I am quite to new to VS, as well as programming for the Kinect. So any help, or even a pointer in the right direction would be much appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions