MTC toolbox + Matlab

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MTC toolbox + Matlab

1,148 Views
258077981
Contributor I

Hi!

 

     When useing MTC toolbox to compile my prog, some problem occurs below:

 

 

==== Removing object files from build directory ====

Copying necessary files to build directory...

Compiler details : "D:/CW_MCU/"CW MCU v10.6"/MCU/PA_Tools/Command_Line_Tools/mwcceppc" -vle -DVLE_IS_ON -gdwarf-2 -fp spfp_only -spe_vector -char unsigned -proc Zen  -gccincludes -nostdinc -nosyspath -ansi off -opt all -bool on -Cpp_exceptions off -I. -I.. -I"D:\Program Files\MATLAB\R2013a"\simulink\include -I"D:\Program Files\MATLAB\R2013a"\extern\include -I"D:\Program Files\MATLAB\R2013a"\rtw\c\src -I"D:\Program Files\MATLAB\R2013a"\rtw\c\libsrc -I"D:\Program Files\MATLAB\R2013a"\rtw\c\src\ext_mode\common -I"D:\Program Files\MATLAB\R2013a"\rtw\c\src\ext_mode\tcpip -I"D:\Program Files\MATLAB\R2013a"\rtw\c\src\ext_mode\serial -I"D:\Program Files\MATLAB\R2013a"\rtw\c\src\ext_mode\custom -I"D:/CW_MCU/"CW MCU v10.6"/MCU/PA_Support/ewl/EWL_Runtime/Runtime_PA/Include" -I"D:/CW_MCU/"CW MCU v10.6"/MCU/PA_Support/ewl/EWL_Runtime/Runtime_PA/Source" -I"D:/CW_MCU/"CW MCU v10.6"/MCU/PA_Support/ewl/lib" -I"D:/CW_MCU/"CW MCU v10.6"/MCU/PA_Support/ewl/EWL_C/include" -I"D:/CW_MCU/"CW MCU v10.6"/MCU/PA_Support/ewl/EWL_C++/include" -IF:\FreeScale\Test_CAN\TEST_rappid_rtw -IF:\FreeScale\Test_CAN -IC:\MCTOOLBOX\rappid564xl\src\ccp_files     -DUSE_RTMODEL -DMODEL=TEST -DREAL_T=float -DRT -DNUMST=1 -DTID01EQ=0 -DNCSTATES=0 -DMT=0 -DHAVESTDIO -c  

Assembler details : "D:/CW_MCU/"CW MCU v10.6"/MCU/PA_Tools/Command_Line_Tools/mwasmeppc" -vle -DVLE_IS_ON -proc Zen  -list -gccincludes -nostdinc -c

Building assembly file crt0.o...

'"D:/CW_MCU/"CW' 不是内部或外部命令,也不是可运行的程序

或批处理文件。

gmake: *** [crt0.o] Error 1

 

 

My system variable :  D:/CW_MCU/"CW MCU v10.6"

 

So , how to solve this problem?

 

 

Thank you very much!

Labels (1)
0 Kudos
Reply
1 Reply

728 Views
TICS_Fiona
NXP Employee
NXP Employee

Hello Yucheng

The problem should be due to the blanks in the CodeWarrior installation path (D:/CW_MCU/CW MCU v10.6)

To workaround it, you may add the CW path as  a Window path like below:

set CWFolder=C:\Freescale\CW MCU v10.6.4

set PATH=%PATH%;%CWFolder%\gnu\bin;%CWFolder%\MCU\PA_Tools/Command_Line_Tools

Best Regards

Fiona Kuang

Technical Information & Commercial Support

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply