alguem ai sabe como resolver este erro ao compilar o progarama pisca LED no MPLAB
#include <p18f4550.h>
#include <delays.h>
#pragma config FOSC=HS
#pragma config WDT=OFF
#pragma config MCLRE=OFF
#pragma config DEBUG = OFF
#pragma config LVP=OFF
#pragma config PWRT = OFF
void main()
{
TRISAbits.TRISA0 = 0;
while()
{
PORTAbits.RA0=1;
Delay10KTCYx(250);
Delay10KTCYx(250);
PORTAbits.RA0=0;
Delay10KTCYx(250);
Delay10KTCYx(250);
}
}
ao compilar
make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make[1]: Entering directory `C:/Users/Usuario/Desktop/c++/marcelo.X'
make -f nbproject/Makefile-default.mk dist/default/production/marcelo.X.production.hex
make[2]: Entering directory `C:/Users/Usuario/Desktop/c++/marcelo.X'
"C:\Program Files\Microchip\mplabc18\v3.47\bin\mcc18.exe" -p18F4550 -ms -oa- -I "C:\Program Files\Microchip\mplabc18\v3.47\bin"\\..\\h -fo build/default/production/nbproject/led.o nbproject/led.c
MPLAB C18 3.47 (evaluation)
Copyright 2000-2011 Microchip Technology Inc.
Days remaining until evaluation becomes feature limited: 57
WARNING: Running the compiler in extended mode will not be supported when the evaluation becomes feature limited.
WARNING: The procedural abstraction optimization will not be supported when the evaluation becomes feature limited.
C:\Users\Usuario\Desktop\c++\marcelo.X\nbproject\led.c:2:Error: syntax error
make[2]: Leaving directory `C:/Users/Usuario/Desktop/c++/marcelo.X'
make[2]: *** [build/default/production/nbproject/led.o] Error 3
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
make[1]: Leaving directory `C:/Users/Usuario/Desktop/c++/marcelo.X'
BUILD FAILED (exit value 2, total time: 607ms)