none
Kinect for Windows v2 sdk RRS feed

  • Question

  • Doing project related to unreal and kinect interface, I got following error when trying get default kinect sensor:

    The same thing is working in native. 

    IKinectSensor *m_pKinectSensor = NULL;
    HRESULT hr = S_OK;

    hr = GetDefaultKinectSensor(&m_pKinectSensor);

    Severity Code Description Project File Line Suppression State
    Error LNK2019 unresolved external symbol GetDefaultKinectSensor referenced in function "private: long __cdecl AMyCharacter::InitializeDefaultSensor(void)" (?InitializeDefaultSensor@AMyCharacter@@AEAAJXZ) CppTest C:\Users\SrinivasHK\Documents\Unreal Projects\CppTest\Intermediate\ProjectFiles\MyCharacter.cpp.obj 1

    Tried to compile with win32/64 but facing same problem. 

    Monday, July 4, 2016 3:03 PM

All replies

  • Go to project properties, linker, addition include directories 

    and change the path to lib/x86 instead of lib/x64

    Friday, April 5, 2019 7:51 PM