No rule to make target

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

No rule to make target

跳至解决方案
3,444 次查看
sufree
Contributor II

Hi

I just Run CW MCU v10.6 and  imported a project from another place.After Buid,the following error occurrs:

 

mingw32-make: *** No rule to make target `/src/S12ZVM_system/startup_CW/S12zvm.prm. needed by explicit-dependencies . stop.

who know how to deal it?160204_160204.JPG23.JPG

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
2,787 次查看
TICS_Fiona
NXP Employee
NXP Employee

Hi,

Thanks a lot for contacting us.

Please click on <Project> menu -> Clean to rebuild the project.  Does the error disappear? If the project contains Processor Expert, please right click on the file "ProcessorExpert.pe" and select "Generate Processor Expert Code", then clean and rebuild the project.
 
Hope it helps! If not, please attach your project folder, thanks!


Best Regards
Fiona Kuang
TIC - Technical Information Center
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Mark Correct button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

4 回复数
2,787 次查看
BlackNight
NXP Employee
NXP Employee

Hello,

that message is caused because the make file cannot find a file and/or fullfil a rule (see https://mcuoneclipse.com/2012/03/12/no-rule-to-make-target/ ). As Fiona indicated, usually a 'clean' solves that because it recreates the make files.

Can you check if that linker parameter file (/src/S12ZVM_system/startup_CW/S12zvm.prm) exists in your project?

I hope this helps,

Erich

0 项奖励
回复
2,787 次查看
sufree
Contributor II

Hi,

Thank you for your advice!

0 项奖励
回复
2,788 次查看
TICS_Fiona
NXP Employee
NXP Employee

Hi,

Thanks a lot for contacting us.

Please click on <Project> menu -> Clean to rebuild the project.  Does the error disappear? If the project contains Processor Expert, please right click on the file "ProcessorExpert.pe" and select "Generate Processor Expert Code", then clean and rebuild the project.
 
Hope it helps! If not, please attach your project folder, thanks!


Best Regards
Fiona Kuang
TIC - Technical Information Center
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Mark Correct button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

2,787 次查看
sufree
Contributor II

Hi,

Your suggestion solved my problem perfectly.

Thank you !

0 项奖励
回复