就是新建好一个项目后 就写一个最简单的程序 然后点击编译,结果一直是编译失败,如下文所示:
make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make[1]: Entering directory 'E:/EX1/EX1.X'
make -f nbproject/Makefile-default.mk dist/default/production/EX1.X.production.hex
make[2]: Entering directory 'E:/EX1/EX1.X'
"C:\Program Files (x86)\Microchip\xc8\v2.00\bin\xc8-cc.exe" -mcpu=16F887 -c -fno-short-double -fno-short-float -O0 -fasmfile -maddrqual=ignore -xassembler-with-cpp -Wa,-a -DXPRJ_default=default -msummary=-psect,-class,+mem,-hex,-file -ginhx032 -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/EX1.p1 EX1.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
make[2]: *** [build/default/production/EX1.p1] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
Missing source file
(908) exit status = 1
nbproject/Makefile-default.mk:105: recipe for target 'build/default/production/EX1.p1' failed
make[2]: Leaving directory 'E:/EX1/EX1.X'
nbproject/Makefile-default.mk:90: recipe for target '.build-conf' failed
make[1]: Leaving directory 'E:/EX1/EX1.X'
nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed
编译已失败 (退出值2, 总时间: 765ms)
|