Error using mex for Matleap
12 views (last 30 days)
Show older comments
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.
0 Comments
Answers (0)
See Also
Categories
Find more on MATLAB Support for MinGW-w64 C/C++ Compiler in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!