Hi Fellow Programmers,
I am new here trying to program the PIC10F320 and I am facing a problem of building the program this are the error I have encountered.
I'm using MPLAB X IDE V.3.0.0
This is the error I am facing.
make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make[1]: Entering directory 'C:/Users/Anuar/MPLABXProjects/Test1.X'
make -f nbproject/Makefile-default.mk dist/default/production/Test1.X.production.hex
make[2]: Entering directory 'C:/Users/Anuar/MPLABXProjects/Test1.X'
"C:\Program Files (x86)\Microchip\xc8\v1.34\bin\xc8.exe" --pass1 --chip=10F320 -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/newmain1.p1 newmain1.c
newmain1.c:31: error: (195) expression syntax
newmain1.c:31: error: (194) ")" expected
newmain1.c:38: error: (195) expression syntax
newmain1.c:38: error: (194) ")" expected
newmain1.c:47: error: (192) undefined identifier "WPU"
newmain1.c:55: warning: (361) function declared implicit int
newmain1.c:60: error: (195) expression syntax
newmain1.c:60: error: (300) unexpected end of file
(908) exit status = 1
nbproject/Makefile-default.mk:94: recipe for target 'build/default/production/newmain1.p1' failed
make[2]: Leaving directory 'C:/Users/Anuar/MPLABXProjects/Test1.X'
nbproject/Makefile-default.mk:78: recipe for target '.build-conf' failed
make[1]: Leaving directory 'C:/Users/Anuar/MPLABXProjects/Test1.X'
nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed
make[2]: *** [build/default/production/newmain1.p1] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
BUILD FAILED (exit value 2, total time: 454ms)
I am new here trying to program the PIC10F320 and I am facing a problem of building the program this are the error I have encountered.
I'm using MPLAB X IDE V.3.0.0
This is the error I am facing.
make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make[1]: Entering directory 'C:/Users/Anuar/MPLABXProjects/Test1.X'
make -f nbproject/Makefile-default.mk dist/default/production/Test1.X.production.hex
make[2]: Entering directory 'C:/Users/Anuar/MPLABXProjects/Test1.X'
"C:\Program Files (x86)\Microchip\xc8\v1.34\bin\xc8.exe" --pass1 --chip=10F320 -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/newmain1.p1 newmain1.c
newmain1.c:31: error: (195) expression syntax
newmain1.c:31: error: (194) ")" expected
newmain1.c:38: error: (195) expression syntax
newmain1.c:38: error: (194) ")" expected
newmain1.c:47: error: (192) undefined identifier "WPU"
newmain1.c:55: warning: (361) function declared implicit int
newmain1.c:60: error: (195) expression syntax
newmain1.c:60: error: (300) unexpected end of file
(908) exit status = 1
nbproject/Makefile-default.mk:94: recipe for target 'build/default/production/newmain1.p1' failed
make[2]: Leaving directory 'C:/Users/Anuar/MPLABXProjects/Test1.X'
nbproject/Makefile-default.mk:78: recipe for target '.build-conf' failed
make[1]: Leaving directory 'C:/Users/Anuar/MPLABXProjects/Test1.X'
nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed
make[2]: *** [build/default/production/newmain1.p1] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
BUILD FAILED (exit value 2, total time: 454ms)