ZonGzAi
Newbie level 3
- Joined
- Jul 20, 2014
- Messages
- 4
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 32
i'm newbie for MPLAB X...now i facing the problem and donno how to solve it...
below is my programming header files.
any dear friend can help me???thank you very much...
below is my programming header files.
Code:
"#include <as16F877.h>
#include<pic.h>
#ifndef _AS16F877_H_
#define _AS16F877_H_
#include <xc.inc>
#endif // _AS16F877_H_"
any dear friend can help me???thank you very much...
make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make[1]: Entering directory `C:/Users/EngZong/MPLABXProjects/LCD_DISPLAY.X'
make -f nbproject/Makefile-default.mk dist/default/production/LCD_DISPLAY.X.production.hex
make[2]: Entering directory `C:/Users/EngZong/MPLABXProjects/LCD_DISPLAY.X'
"C:\Program Files (x86)\Microchip\xc8\v1.31\bin\xc8.exe" --pass1 --chip=16F877 -Q -G --double=24 --float=24 --opt=default,+asm,+asmfile,-speed,+space,-debug --addrqual=ignore --mode=free -P -N255 --warn=0 --asmlist --summary=default,-psect,-class,+mem,-hex,-file --output=default,-inhx032 --runtime=default,+clear,+init,-keep,-no_startup,+osccal,-resetbits,-download,-stackcall,+clib --output=-mcof,+elf:multilocs --stack=compiled:auto:auto "--errformat=%%f:%%l: error: (%%n) %%s" "--warnformat=%%f:%%l: warning: (%%n) %%s" "--msgformat=%%f:%%l: advisory: (%%n) %%s" -obuild/default/production/main.p1 main.c
(908) exit status = 1
make[2]: *** [build/default/production/main.p1] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
C:\Program Files (x86)\Microchip\xc8\v1.31\include\pic16f877.inc:44: warning: (374) missing basic type; int assumed
C:\Program Files (x86)\Microchip\xc8\v1.31\include\pic16f877.inc:44: error: (372) "," expected
C:\Program Files (x86)\Microchip\xc8\v1.31\include\pic16f877.inc:44: error: (314) ";" expected
C:\Program Files (x86)\Microchip\xc8\v1.31\include\pic16f877.inc:74: error: (223) digit out of range
C:\Program Files (x86)\Microchip\xc8\v1.31\include\pic16f877.inc:89: error: (223) digit out of range
C:\Program Files (x86)\Microchip\xc8\v1.31\include\pic16f877.inc:136: error: (223) digit out of range
C:\Program Files (x86)\Microchip\xc8\v1.31\include\pic16f877.inc:170: error: (223) digit out of range
C:\Program Files (x86)\Microchip\xc8\v1.31\include\pic16f877.inc:190: error: (223) digit out of range
C:\Program Files (x86)\Microchip\xc8\v1.31\include\pic16f877.inc:214: error: (223) digit out of range
C:\Program Files (x86)\Microchip\xc8\v1.31\include\pic16f877.inc:234: error: (223) digit out of range
C:\Program Files (x86)\Microchip\xc8\v1.31\include\pic16f877.inc:237: error: (223) digit out of range
C:\Program Files (x86)\Microchip\xc8\v1.31\include\pic16f877.inc:258: error: (223) digit out of range
C:\Program Files (x86)\Microchip\xc8\v1.31\include\pic16f877.inc:278: error: (223) digit out of range
C:\Program Files (x86)\Microchip\xc8\v1.31\include\pic16f877.inc:281: error: (223) digit out of range
C:\Program Files (x86)\Microchip\xc8\v1.31\include\pic16f877.inc:309: error: (222) binary digit expected
C:\Program Files (x86)\Microchip\xc8\v1.31\include\pic16f877.inc:330: error: (223) digit out of range
C:\Program Files (x86)\Microchip\xc8\v1.31\include\pic16f877.inc:350: error: (223) digit out of range
C:\Program Files (x86)\Microchip\xc8\v1.31\include\pic16f877.inc:384: error: (223) digit out of range
C:\Program Files (x86)\Microchip\xc8\v1.31\include\pic16f877.inc:404: error: (223) digit out of range
C:\Program Files (x86)\Microchip\xc8\v1.31\include\pic16f877.inc:418: error: (223) digit out of range
C:\Program Files (x86)\Microchip\xc8\v1.31\include\pic16f877.inc:426: error: (220) exponent expected
C:\Program Files (x86)\Microchip\xc8\v1.31\include\pic16f877.inc:453: error: (223) digit out of range
C:\Program Files (x86)\Microchip\xc8\v1.31\include\pic16f877.inc:453: advisory: (1) too many errors (21)
make[2]: Leaving directory `C:/Users/EngZong/MPLABXProjects/LCD_DISPLAY.X'
make[1]: Leaving directory `C:/Users/EngZong/MPLABXProjects/LCD_DISPLAY.X'
BUILD FAILED (exit value 2, total time: 363ms)
Last edited by a moderator: