문제

I was unable to find the answers anywhere else here so here goes: I have a project I have to do with a Leap Motion controller. Here is the tutorial. Now they explain on this website how to use the Microsoft Visual Studio to compile the Leap programs; however, it is a requirement that I use QT creator for this project in addition to being able to compile for windows. I am getting errors when trying to compile that basically look like this:

error: function 'Leap::Interface::Implementation::~Implementation()' definition is marked dllimport LEAP_EXPORT virtual ~Implementation() {} ^

I believe I have everything linked properly to the project and don't understand why I am unable to compile on my windows machine. I think it has to do with the MinGW compiler but am not sure how I would fix that.

Thanks

도움이 되었습니까?

해결책

MinGW isn't fully supported at this time. We have an experimental build, which you can access from here: https://community.leapmotion.com/t/mingw-support-please/270 -- but this doesn't come with any promise of future support.

Another option is to use the WebSocket server, which provides the same tracking data as a JSON string.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top