MBD compile error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MBD compile error

827 次查看
dmeng1
Contributor II

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 

pastedImage_4.png

==== 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.
 
0 项奖励
回复
2 回复数

710 次查看
Daniel_Popa
NXP Employee
NXP Employee

Hi David, 

Here is my working setup.

pastedImage_1.png

Basically, I've renamed the CW folder to avoid empty spaces in the name.

Hope this helps!

Daniel

0 项奖励
回复

710 次查看
dmeng1
Contributor II

Hi Daniel:

Thanks very much , I have success follow your help .thanks 

0 项奖励
回复