An error occurred ('RTW:buildProcess:fatalBuildError') when calling 'sim':
21 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I'm getting the below error when i run the Testmanager for equivalence test through Matlab script but when i do it manually simulation is happening without error
An error occurred ('RTW:buildProcess:fatalBuildError') when calling 'sim':
C:\Test_B2B_GUI\Source\HkmcLfaAdap\SimulinkMBD\Sim_TestBuild\slprj\autosar\HkmcLfaAdapCore\sil\hostobj\instrumented>cd . C:\Test_B2B_GUI\Source\HkmcLfaAdap\SimulinkMBD\Sim_TestBuild\slprj\autosar\HkmcLfaAdapCore\sil\hostobj\instrumented>if "" == "" ("C:\PROGRA~1\MATLAB\R2019b\bin\win64\gmake" -f HkmcLfaAdapCore.mk all ) else ("C:\PROGRA~1\MATLAB\R2019b\bin\win64\gmake" -f HkmcLfaAdapCore.mk ) "C:\PROGRA~3\MATLAB\SUPPOR~1\R2019b\3P778C~1.INS\MINGW_~1.INS\bin/gcc" -c -fwrapv -m64 -O0 -DMODEL=HkmcLfaAdapCore -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DPORTABLE_WORDSIZES -DTERMFCN=0 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DRTE_COMPONENT_HEADER=\"Rte_HkmcLfaAdap.h\" -DINCLUDE_RTE_HEADER=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=0 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DPORTABLE_WORDSIZES -DMODEL=HkmcLfaAdapCore -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 @HkmcLfaAdapCore_comp.rsp -o "HkmcLfaAdapCore.obj" "C:/Test_B2B_GUI/Source/HkmcLfaAdap/SimulinkMBD/Sim_TestBuild/slprj/autosar/HkmcLfaAdapCore/HkmcLfaAdapCore.c" C:\Test_B2B_GUI\Source\HkmcLfaAdap\SimulinkMBD\Sim_TestBuild\slprj\autosar\_sharedutils\rtwtypes.h:71:14: error: two or more data types in declaration specifiers typedef char char_T; ^~~~ C:\Test_B2B_GUI\Source\HkmcLfaAdap\SimulinkMBD\Sim_TestBuild\slprj\autosar\_sharedutils\rtwtypes.h:71:1: warning: useless type name in empty declaration typedef char char_T; ^~~~~~~ gmake: *** [HkmcLfaAdapCore.obj] Error 1 C:\Test_B2B_GUI\Source\HkmcLfaAdap\SimulinkMBD\Sim_TestBuild\slprj\autosar\HkmcLfaAdapCore\sil\hostobj\instrumented>echo The make command returned an error of 2 The make command returned an error of 2 C:\Test_B2B_GUI\Source\HkmcLfaAdap\SimulinkMBD\Sim_TestBuild\slprj\autosar\HkmcLfaAdapCore\sil\hostobj\instrumented>exit 1 Error(s) encountered while building "HkmcLfaAdapCore_rtwlib": ### Failed to generate all binary outputs.
Index exceeds the number of array elements (0).
1 commentaire
Shivani
le 18 Sep 2023
Can you please share the code/model that you're running so that I can reproduce this error at my end?
Réponses (0)
Voir également
Catégories
En savoir plus sur Startup and Shutdown 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!