Why is the build process failing in Simulink?

1 vue (au cours des 30 derniers jours)
Da Wang
Da Wang le 8 Oct 2021
I'm trying to build a built-in demo, I get an error message stating that the build has failed.
The error message is the following:
gmake: *** [IdenImpe.obj] Error 1
gmake: *** Waiting for unfinished jobs....
C:\Users\Fio\Desktop\IdenImpe_ert_rtw>echo The make command returned an error of 2 T
he make command returned an error of 2 C:\Users\Fio\Desktop\IdenImpe_ert_rtw>exit 1

Réponses (1)

Harsh Sharma
Harsh Sharma le 30 Août 2024
Hi Da Wang,
The error you are facing is likely to be caused due to version compatibility issue between MATLAB and MinGW. You can use the following support package to install the correct version of MinGW based on your MATLAB version - https://www.mathworks.com/matlabcentral/fileexchange/52848-matlab-support-for-mingw-w64-c-c-fortran-compiler?s_tid=srchtitle
You can also check the Supported MATLAB version for a MinGW version from the above page.

Catégories

En savoir plus sur Simulink dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by