我用KEIL5进行简单的编译,出现问题

2019-07-14 20:47发布

刚学STM,用keil进行简单的编译,什么代码都提示有个错误,#include<stdio.h>
int main(void)
{
        while(true)
        {
                ;
        }
}
*** Using Compiler 'V5.05 update 2 (build 169)', folder: 'D:Keil_v5ARMARMCCBin'
Build target 'Target 1'
linking...
.ObjectsEXAMPLE.axf: Error: L6218E: Undefined symbol main (referred from __rtentry2.o).
Not enough information to list image symbols.
Finished: 1 information, 0 warning and 1 error messages.
".ObjectsEXAMPLE.axf" - 1 Error(s), 0 Warning(s).
Target not created.


谁能帮忙看下是什么原因,拜托


QQ截图20160601093020.png
QQ截图20160601093029.png
0条回答

一周热门 更多>