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,試過不管用,上面的方法可行