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

 

STM32 编译 Error: L6411E 解决_第1张图片

增加以下内容

--libpath "C:\Keil\ARM\ARMCC\lib"

STM32 编译 Error: L6411E 解决_第2张图片

即可编译成功

 

你可能感兴趣的:(STM32 编译 Error: L6411E 解决)