|
刚刚安装的CCS v5,但是在编译程序时出错,很郁闷啊,不知道是什么问题,都两天啦!大家帮忙看看是什么问题吧,嘿嘿,先谢啦
错误提示:
#10010 errors encountered during linking; "test2.out" not built
#10234-D unresolved symbols remain
unresolved symbol main, first referenced in F:\TI\ti\ccsv5\tools\compiler\msp430_4.1.1\lib\rts430.lib
主程序是这个样子的:
#include"msp430g2553.h"
void mian(void)
{
WDTCTL=WDTPW+WDTHOLD;
P1DIR|=BIT0;
unsigned int i;
while(1)
{
P1OUT^=BIT0;
i=60000;
while(i--);
}
}
为什么就是不对呢?
|
|