keil5 MDK 鏈接報錯 Error: L6410W 解決


keil5 MDK 報錯

Build target 'Project'
linking...
.\Output\Project.axf: Warning: L6310W: Unable to find ARM libraries.
.\Output\Project.axf: Error: L6411E: No compatible library exists with a definition of startup symbol __main.
Not enough information to list image symbols.
Not enough information to list the image map.
Finished: 2 information, 1 warning and 1 error messages.
".\Output\Project.axf" - 1 Error(s), 1 Warning(s).
Target not created

增加以下內容
--libpath "C:\Keil\ARM\ARMCC\lib"

問題解決

有很多帖子說加環境變量ARMCC5LIB C:\Keil\ARM\ARMCC\lib,試過不管用,上面的方法可行


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM