Problem while installing MinGW-w64 Complier

조회 수: 29 (최근 30일)
Manoj kumar Beriya
Manoj kumar Beriya 2020년 11월 26일
댓글: Manoj kumar Beriya 2020년 12월 3일
Failed to download the third-party software:
  • MinGW 6.3.0 from MinGW-w64.org
This is required by:
  • MATLAB Support for MinGW-w64 C/C++ Compiler
To resolve this issue, see this MATLAB Answer.

채택된 답변

Shubham Khatri
Shubham Khatri 2020년 12월 2일
Hello Manoj
This is a known issue. Our developers are aware about it and will try to fix it in future releases.
You can use the following way to install MinGW until this gets fixed:
1. Download MinGW 6.3:
2. Extract the ZIP-file in an empty directory. Ensure that there are no spaces in the path, for example: C:\MinGW-64
3. Create the environment variable MW_MINGW64_LOC like you can find here: http://www.mathworks.com/matlabcentral/answers/223482), which points to the path mentioned in 2, for example.:
MW_MINGW64_LOC=C:\MinGW-64
4. Restart MATLAB and then call 'mex -setup' in MATLAB in order to check and configure MinGW. The output should show something like: "MEX configured to use 'MinGW64 Compiler (C)'...".
Hope it helps
  댓글 수: 1
Manoj kumar Beriya
Manoj kumar Beriya 2020년 12월 3일
Thanks, it is working ...
after followed given procedure, i got as given below..... is it fine for mex file.
mex -setup
MEX configured to use 'MinGW64 Compiler (C)' for C language compilation.
To choose a different language, select one from the following:
mex -setup C++
mex -setup FORTRAN
>> make
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
Building with 'MinGW64 Compiler (C++)'.
MEX completed successfully.
Building with 'MinGW64 Compiler (C++)'.
MEX completed successfully.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

태그

Community Treasure Hunt

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

Start Hunting!

Translated by