Skip to content

Crash with 'MinGW64 Compiler (C++)' and New SDK #21

Description

@Bash885

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).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions