This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

使用CCS5.1无法编译程序

Other Parts Discussed in Thread: MSP430G2553

下面是错误提示

**** Clean-only build of configuration Debug for project demo ****

D:\ti\ccsv5\utils\bin\gmake -k clean

DEL /F  "demo.out"

gmake: [clean] Error 1 (ignored)

DEL /F "main.pp"

gmake: [clean] Error 1 (ignored)

DEL /F "main.obj"

gmake: [clean] Error 1 (ignored)

gmake: [clean] Error 1 (ignored)

gmake: [clean] Error 1 (ignored)

**** Build Finished ****

**** Build of configuration Debug for project demo ****

D:\ti\ccsv5\utils\bin\gmake -k all

gmake: *** [main.obj] Error 1

gmake: Target `all' not remade because of errors.

**** Build Finished ****

源程序如下

#include "msp430g2553.h"

void main(void) {
    WDTCTL = WDTPW + WDTHOLD;
    P1DIR |=BIT0 +BIT6;
    while(1)
    {
        P1OUT ^=BIT0+BIT6;
        __delay_cycles(100000);

    }

}

PS:程序只有在最初安装时进入创建工程才能编译,一旦删除或创建新的工程都会提示上面的错误!不知道如何解决,希望得到帮助