No supported compiler is found
79 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
When calling mex -setup i get the following error:
No supported compiler was found. You can install the freely available MinGW-w64 C/C++ compiler; see Install MinGW-w64 Compiler. For
I installed Windows SDK 7.1, Visual Studio Express 2017 and MinGw. Why doesn't MatLab find a Compiler?
2 Commenti
Walter Roberson
il 20 Ott 2023
R2022a supported MinGW 6.3, VS C++ 2019 family, VS C++ 2017 family, several VS C++ 20xx Professional... but it did not support SDK 7.1
I would have expected R2022a to be able to find VS Express 2017; I would want to see the output of mex -setup -v
Risposte (1)
Shree Charan M L
il 20 Ott 2023
Hi Andreas,
I understand that you are facing an error when you’re trying to run mex -support.
The error message you received indicates that MATLAB was unable to find a supported compiler on your system. Here are a few possible reasons why this might be happening:
1. Incorrect Compiler Installation: Ensure that you have installed the compiler correctly and that it is compatible with your version of MATLAB. You can find more information on the compatible compilers here: https://www.mathworks.com/support/requirements/supported-compilers.html
2. Environment Variables: MATLAB relies on certain environment variables to locate the compiler. Ensure that the PATH environment variable includes the path to the compiler's bin directory.
If the issue is still not resolved, running the following code snippet might help pinning the problem down.
mex -v -setup
The following MATLAB Answers threads might help:
- https://www.mathworks.com/matlabcentral/answers/455085-no-supported-compiler-was-found
- https://www.mathworks.com/matlabcentral/answers/441365-error-using-mex-no-supported-compiler-was-found
Hope this helps and you’re able to resolve the issue regarding compilers not being found......
0 Commenti
Vedere anche
Categorie
Scopri di più su MATLAB Support for MinGW-w64 C/C++ Compiler in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!