-
Notifications
You must be signed in to change notification settings - Fork 24
Crash with 'MinGW64 Compiler (C++)' and New SDK #21
Description
I have been trying to build the mex-file on Windows 10 with the free MinGW64 Compiler (C++)' and using he latest LeapMotion SDK and keep getting the errors:
"
Error using mex
C:\Users\Bashar\AppData\Local\Temp\mex_2650139456171101_3344\matleap.obj:matleap.cpp:(.text+0x251): undefined reference to Leap::Controller::frame(int) const' C:\Users\Bashar\AppData\Local\Temp\mex_2650139456171101_3344\matleap.obj:matleap.cpp:(.text+0x259): undefined reference to Leap::Frame::id() const'
C:\Users\Bashar\AppData\Local\Temp\mex_2650139456171101_3344\matleap.obj:matleap.cpp:(.text+0x27d): undefined reference to Leap::Frame::timestamp() const' C:\Users\Bashar\AppData\Local\Temp\mex_2650139456171101_3344\matleap.obj:matleap.cpp:(.text+0x294): undefined reference to Leap::Frame::pointables() const'
C:\Users\Bashar\AppData\Local\Temp\mex_2650139456171101_3344\matleap.obj:matleap.cpp:(.text+0x2a7): undefined reference to Leap::Interface::operator=(Leap::Interface const&)' C:\Users\Bashar\AppData\Local\Temp\mex_2650139456171101_3344\matleap.obj:matleap.cpp:(.text+0x2c1): undefined reference to Leap::Interface::~Interface()'
C:\Users\Bashar\AppData\Local\Temp\mex_2650139456171101_3344\matleap.obj:matleap.cpp:(.text+0x2d4): undefined reference to Leap::Frame::hands() const' C:\Users\Bashar\AppData\Local\Temp\mex_2650139456171101_3344\matleap.obj:matleap.cpp:(.text+0x2eb): undefined reference to Leap::Interface::operator=(Leap::Interface const&)'
C:\Users\Bashar\AppData\Local\Temp\mex_2650139456171101_3344\matleap.obj:matleap.cpp:(.text+0x305): undefined reference to `Leap::Interface::~Interface()'
.
.
"
I would greatly appreciate any advise on how to fix this issue (is it an SDK compatibility issue, if so which SDK version do you recommend as I tried various SDK versions).