Cannot include Leap.h
peacememories opened this issue · comments
Hello and thanks for your work on this plugin.
I have a bit of a problem when trying to use parts of the plugin from C++
I added "LeapMotion" to the dependencies in my projects build.cs file, and including files like LeapEnums.h works like a charm. As soon as I include "LeapController.h" though, the nested include of "Leap.h" errors, because the file cannot be found.
I can see that it is in the ThirdParty folder in the Leap plugin, but I do not know how to modify my project settings to include it.
The preview plugin doesn't have this issue, if you're interested pm me on the unreal forums to get access.
That said if you are keen to use the current version, the easiest approach would be to just copy all 4 headers found here: https://github.com/getnamo/leap-ue4/tree/master/Plugins/LeapMotion/ThirdParty/LeapSDK/Include into your project source.