Why is the build process failing in Simulink?
1 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
Harsh Sharma
2024-8-30
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.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!