"Unrecognized type" error when using a ThirdParty Library

so i followed this tutorial: A new, community-hosted Unreal Engine Wiki - Announcements - Unreal Engine Forums

and got the linking of the library right. I am using the Kinect SDK for version 1 and am trying to create a pointer based off the object ‘INuiSensor’ like this:

INuiSensor* m_pNuiSensor;

and when I compile i get this error:

C:/../Kinect.h(18): error : In Kinect: Unrecognized type 'INuiSensor'

any ideas?

Solved my problem by not putting UPROPERTY() before the declaration, not sure what that will affect though.