No rule to make target

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

No rule to make target

ソリューションへジャンプ
3,517件の閲覧回数
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,860件の閲覧回数
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,860件の閲覧回数
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,860件の閲覧回数
sufree
Contributor II

Hi,

Thank you for your advice!

0 件の賞賛
返信
2,861件の閲覧回数
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,860件の閲覧回数
sufree
Contributor II

Hi,

Your suggestion solved my problem perfectly.

Thank you !

0 件の賞賛
返信