Keil开发环境

常见问题&解决办法

keil 编译报错,Error:L6411E: No compatible library exist with a definition of startup symbol __main.

Build started:Proiect:BMSMainCtr1
*** Using Compiler 'v5.06 update 7 (build 960)', folder: 'c:\Keil v5\ARM\ARMCC\Bin
Build target 'BMsMainCtrl Debug'
linking...
.\output\debug\BMSMainCtrl.axf: warning: L63l0w: Unable to find ARM libraries.
.\output\debug\BMSMainCtrl.axf: Error:L6411E: No compatible library exist with a definition of startup symbol __main.
Not enouoh information to list image svmools.
Not enough information to list load addresses in the image map
Finished: 2 information,l warning and l error messages.
".\output\debug\BMsMainCtrl.axf" - l Error(s),l Warning(s).
Target not created.
Build Time Elapsed: 00:00:01

魔术棒 -> Linker -> Misc controls -> 输入指令:–libpath=C:\Keil_v5\ARM\ARMCC\lib

地址链接错误,与keil的安装位置有关

results matching ""

    No results matching ""