Error using mex for Matleap
조회 수: 13 (최근 30일)
이전 댓글 표시
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
답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!