I is using Kinetis Design Studio, and build my project!
But It always push error message "recipe for target 'myproject.elf' failed "!
I am craze!
Hello,
could you post the exact error message from the console view?
Otherwise, have you tried to do a clean (see https://mcuoneclipse.com/2012/03/12/no-rule-to-make-target/) with Project > Clean already?
I suspect your make files are pointing to the wrong files.
I hope this helps,
Erich
Hello!
Thank you for your answer!
The error message image is as bellow:
As your said, the makefile is really source of error push! But I did not still know how to shoot the problem!
Have you followed the advise above?
And that screenshot does not really help. What would help is the content or report in the Console view.
Erich
The console view is as follow.
I have checked and found that the IDE link step pushes error .
But every one file build step is ok.
The OS of my computer is Windows 10 and KDS version is v3.2.0.
Hello guo,
Does your project ported from old version KDS to KDS v3.2 ?
Please replace -nanolibc with --specs=nano.specs --specs=nosys.specs to have a try .
Please have a look these thread :
unrecognized command line option '-nanolibc'
Error1 unrecognized command line option '-nanolibc'
https://community.nxp.com/message/617086
Hope it helps
Alice
Thank You!
I use "KDS Upgrade Assistant..." help me to shoot problem! Now, My project is OK!
OK, Welcome !
Have a great day,
Alice
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Yes!
My project is just ported from old version KDS to KDS3.2.
I will try to do as you said!
Thank You very much!