STM32 编译 Error: L6411E 解决

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"

即可编译成功

 

posted @ 2016-01-14 17:24  _Fan_  阅读(4775)  评论(0编辑  收藏  举报