Error using mex for Matleap

12 visualizaciones (últimos 30 días)
Andrea Massimo De Angelis
Andrea Massimo De Angelis el 10 de Abr. de 2018
I am trying to use the Matleap mex file in order to interface Matlab with a Leap Motion device. I have installed the MinGW64 Compiler and verified that Matlab can build mex-files, but when I call the build function I get the following:
>> build
Compiling matleap.cpp
Evaluating "mex -I./LeapSDK/include -L./LeapSDK/lib/x64 -lLeap matleap.cpp"
Building with 'MinGW64 Compiler (C++)'.
Error using mex
C:\Users\andrea\AppData\Local\Temp\mex_83559164032985_11568\matleap.obj:matleap.cpp:(.text+0x251): undefined reference to`Leap::Controller::frame(int) const'
.....(many other error messages in this form).....
Error in build (line 37)
eval(cmd)
Does anyone knows how to solve this? I am not sure if I should try to use another compiler or if there is some kind of error in the source code.

Respuestas (0)

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by