清除已成功 (总时间: 6ms)
make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make[1]: Entering directory 'C:/Users/50331/Desktop/pic10f200/16F877_TMR0.X'
make -f nbproject/Makefile-default.mk dist/default/production/16F877_TMR0.X.production.hex
make[2]: Entering directory 'C:/Users/50331/Desktop/pic10f200/16F877_TMR0.X'
"C:\Program Files\Microchip\xc8\v2.32\bin\xc8-cc.exe" -mcpu=16F877A -c -mdfp="C:/Program Files/Microchip/MPLABX/v5.50/packs/Microchip/PIC16Fxxx_DFP/1.2.33/xc8" -fno-short-double -fno-short-float -O0 -fasmfile -maddrqual=ignore -xassembler-with-cpp -mwarn=-3 -Wa,-a -DXPRJ_default=default -msummary=-psect,-class,+mem,-hex,-file -ginhx32 -Wl,--data-init -mno-keep-startup -mno-osccal -mno-resetbits -mno-save-resetbits -mno-download -mno-stackcall -std=c99 -gdwarf-3 -mstack=compiled:auto:auto -o build/default/production/main.p1 main.c
::: advisory: (2049) C99 compliant libraries are currently not available for baseline or mid-range devices, or for enhanced mid-range devices using a reentrant stack; using C90 libraries
main.c:74:2: error: use of undeclared identifier 'OPTION'
OPTION=0x07;
^
main.c:79:6: error: variable has incomplete type 'void'
void interrupt time0()
^
main.c:79:15: error: expected ';' after top level declarator
void interrupt time0()
^
;
3 errors generated.
(908) exit status = 1
nbproject/Makefile-default.mk:107: recipe for target 'build/default/production/main.p1' failed
make[2]: Leaving directory 'C:/Users/50331/Desktop/pic10f200/16F877_TMR0.X'
nbproject/Makefile-default.mk:91: recipe for target '.build-conf' failed
make[1]: Leaving directory 'C:/Users/50331/Desktop/pic10f200/16F877_TMR0.X'
nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed
make[2]: *** [build/default/production/main.p1] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
编译已失败 (退出值2, 总时间: 3s) |