Skip to content
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

Error using compile_mex #68

Open
Carlosrrn opened this issue Oct 21, 2022 · 3 comments
Open

Error using compile_mex #68

Carlosrrn opened this issue Oct 21, 2022 · 3 comments

Comments

@Carlosrrn
Copy link

When I try to compile the install.m file I get this error:

Error using compile_mex
An error occurred while compiling ML_Fastdfa_core C code.
It appears that mex is not set up to work on this system (cf. 'doc mex' and 'mex -setup').
Get 'mex ML_fastdfa_core.c' to work, and then re-run compile_mex.m

In the code warns you of this but I do not know how to configure it
'Please make sure that mex is set up with the right compilers for this system.'

@benfulcher
Copy link
Owner

Thanks for your message. The message asks you to see doc mex and mex -setup
Did you follow this instruction? This is a general set-up step for Matlab to be able to run system-compiled binaries.

@MahirAlhajaj
Copy link

Dear Sir,
Unfortunately, I have the same problem!
When I was trying to install the hctsa package using the install.m file, I got the following error:
Error using Compiles_mexforhctsapackage (line 57)
An error occurred while compiling ML_Fastdfa_core C code.
It appears that mex is not set up to work on this system (cf. 'doc mex' and 'mex -setup').
Get 'mex ML_fastdfa_core.c' to work, and then re-run compile_mex.m

And I get the same error when trying to solve the previous problem by running the Compiles_mexforhctsapackage.m file.
I am using windows 11 version 22h2 64-bit laptop.
Thank you in advance.

@benfulcher
Copy link
Owner

Did you follow the instruction from my previous comment about setting up mex for your system? This is also described in the error message

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants