AnsweredAssumed Answered

MBD compile error

Question asked by david meng on Dec 19, 2018
Latest reply on Jan 8, 2019 by david meng

Hi daniel:

when I build the model S12ZVM_TrapCtrl download from NXP website. diagnostic view report following error ,could you tell me how to solve this problem? thanks.

my system environment variable set like this 

 

 

==== Removing object files from build directory ==== Copying necessary files to build directory... Compiler details : "C:/Freescale/"CW MCU v10.6" /MCU/S12lisa_Tools/Build_Tools/mwccs12lisa" -c -model small -bfield_lsbit_first -bfield_reduce_type -opt level=0 -opt space -Cpp_Exceptions off -char unsigned -msgstyle parseable -sym full -nostdinc -nosyspath -o SetupFiles -I. -I.. -IC:\Users\E430\Desktop\MBD\S12ZVM_TrapCtrl\TrapCtrl -IC:\PROGRA~1\MATLAB\R2017b\simulink\include\sf_runtime -IC:\Users\E430\Desktop\MBD\S12ZVM_TrapCtrl\TrapCtrl\S12ZVM_Trap_Ctrl_mcd_rtw -I"C:\Program Files\MATLAB\R2017b\simulink\include" -I"C:\Program Files\MATLAB\R2017b\extern\include" -I"C:\Program Files\MATLAB\R2017b\rtw\c\src" -I"C:\Program Files\MATLAB\R2017b\rtw\c\libsrc" -I"C:\Program Files\MATLAB\R2017b\rtw\c\src\ext_mode\common" -I"C:\Program Files\MATLAB\R2017b\rtw\c\src\ext_mode\tcpip" -I"C:\Program Files\MATLAB\R2017b\rtw\c\src\ext_mode\serial" -I"C:\Program Files\MATLAB\R2017b\rtw\c\src\ext_mode\custom" -I"C:/Freescale/"CW MCU v10.6" \MCU\S12lisa_Support\s12lisac\include" -DUSE_RTMODEL -DMODEL=S12ZVM_Trap_Ctrl -DREAL_T=float -DRT -DNUMST=1 -DTID01EQ=0 -DNCSTATES=0 -DMT=0 -DHAVESTDIO Assembler details : Building file S12ZVM_Trap_Ctrl.o... "C:/Freescale/"CW MCU v10.6" /MCU/S12lisa_Tools/Build_Tools/mwccs12lisa" -c -model small -bfield_lsbit_first -bfield_reduce_type -opt level=0 -opt space -Cpp_Exceptions off -char unsigned -msgstyle parseable -sym full -nostdinc -nosyspath -o S12ZVM_Trap_Ctrl.o -I. -I.. -IC:\Users\E430\Desktop\MBD\S12ZVM_TrapCtrl\TrapCtrl -IC:\PROGRA~1\MATLAB\R2017b\simulink\include\sf_runtime -IC:\Users\E430\Desktop\MBD\S12ZVM_TrapCtrl\TrapCtrl\S12ZVM_Trap_Ctrl_mcd_rtw -I"C:\Program Files\MATLAB\R2017b\simulink\include" -I"C:\Program Files\MATLAB\R2017b\extern\include" -I"C:\Program Files\MATLAB\R2017b\rtw\c\src" -I"C:\Program Files\MATLAB\R2017b\rtw\c\libsrc" -I"C:\Program Files\MATLAB\R2017b\rtw\c\src\ext_mode\common" -I"C:\Program Files\MATLAB\R2017b\rtw\c\src\ext_mode\tcpip" -I"C:\Program Files\MATLAB\R2017b\rtw\c\src\ext_mode\serial" -I"C:\Program Files\MATLAB\R2017b\rtw\c\src\ext_mode\custom" -I"C:/Freescale/"CW MCU v10.6" \MCU\S12lisa_Support\s12lisac\include" -DUSE_RTMODEL -DMODEL=S12ZVM_Trap_Ctrl -DREAL_T=float -DRT -DNUMST=1 -DTID01EQ=0 -DNCSTATES=0 -DMT=0 -DHAVESTDIO S12ZVM_Trap_Ctrl.c '"C:/Freescale/"CW' Not an internal or external command, nor a runnable program or batch file。 gmake: *** [S12ZVM_Trap_Ctrl.o] Error 1 ### Creating HTML report file S12ZVM_Trap_Ctrl_codegen_rpt.html
### Build procedure for model: 'S12ZVM_Trap_Ctrl' aborted due to an error.
 

Outcomes