-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to start build the mex file #19
Comments
Hi,
What platform are you running on? What C++ compiler are you using? Is your
C++ compiler setup correctly to compile mex files? Do you have the Leap SDK
installed?
If your system is setup correctly you should be able to run
> build
And it will compile the mex file for you. If it gives an error, then you
probably either don't have your C++ compiler setup correctly or you don't
have the Leap SDK installed.
Thanks,
Jeff
…On Wed, Jul 5, 2017 at 5:37 AM, annalisa80 ***@***.***> wrote:
Hi,
I'm novel with c++ and mex file so I would like to have more detailed
information about the initial step of this tool. I don't understand how to
compile the mex in the compiler, thank you.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#19>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABtpyfeyH4B-D-LplG-9WUSDAw_GkLhgks5sK2degaJpZM4OOKET>
.
--
Jeff Perry
Engineering Scientist
Applied Research Laboratories
University of Texas at Austin
(512) 835-3660w
(512) 970-1495c
|
I have this error now: build
??? Error using ==> mex at 222 Error in ==> build at 37 |
Something is wrong with your matleap.cpp file. It should look like this. Notice how your errors reference lines 1850, 1975, 2016, ..., but matpleap.cpp only has 356 lines of code. How did you download the source? Did you clone or download? |
Hi, I'm having a similar problem with the build.m code. I keep getting an error (see below) that says the Leap.h file doesn't exist but it is in the correct place. I'm using matlab 2008b and Visual studio 9.0 (2008 version) as my C++ compiler. Do you have any idea what might be causing this? Thanks in advance! ERROR MESSAGE: MATLAB\LEAPSDK\INCLUDE\matleap.h(13) : fatal error C1083: Cannot open include file: 'LeapSDK\include\Leap.h': No such file or directory MATLAB\R2008B\BIN\MEX.PL: Error: Compile of 'LEAPMO~1\matleap.cpp' failed. ??? Error using ==> mex at 213 Error in ==> build at 39
|
Hi,
I'm novel with c++ and mex file so I would like to have more detailed information about the initial step of this tool. I don't understand how to compile the mex in the compiler, thank you.
The text was updated successfully, but these errors were encountered: