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