MTC toolbox + Matlab

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

MTC toolbox + Matlab

1,179 次查看
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!

标签 (1)
0 项奖励
回复
1 回复

759 次查看
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 项奖励
回复