You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Hi guys, for anyone still out there, to fix this issue you need to add kinect20.lib in Project Properties -> Linker -> Input -> Additional Dependencies :)
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.The text was updated successfully, but these errors were encountered: