Build .dll fails, no compiler found? MinGW _IS_ installed - ver 2016a

1 vue (au cours des 30 derniers jours)
Peter Jansson
Peter Jansson le 3 Nov 2016
Modifié(e) : Yatin le 15 Nov 2016
Hi,
I am trying to build a .dll I have MinGW installed, but the compilation fails. The log ends with
No supported compiler or SDK was found. You can install the freely available MinGW-w64 C/C++ compiler
However: Earlier the log states
... Looking for compiler 'MinGW64 Compiler (C)' ...
... Looking for environment variable 'MW_MINGW64_LOC' ...Yes ('C:\MATLAB\SupportPackages\R2016a\MW_MinGW_4_9').
... Looking for file 'C:\MATLAB\SupportPackages\R2016a\MW_MinGW_4_9\bin\gcc.exe' ...Yes.
... Looking for folder 'C:\MATLAB\SupportPackages\R2016a\MW_MinGW_4_9' ...Yes.
Found installed compiler 'MinGW64 Compiler (C)'.
Any ideas what I could do to fix this?
Br, Peter

Réponses (1)

Yatin
Yatin le 15 Nov 2016
Modifié(e) : Yatin le 15 Nov 2016
Can you post the latest output by running the command
>> mex -setup -v
from your MATLAB Terminal Window?
Also please note that MinGW is not a Supported Compiler for Deployment products. Please refer to the MinGW FAQ page.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by