MPLABX用PICC编译失败
代码:
#include
void main(void)
{ while(1)
{
}
}
用XC8成功,
用PICC 9.60,在MPLAB V8.92成功而在MPLABX下编译总是失败,提示如下:
make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make[1]: Entering directory 'E:/textMplab/text1/text887.X'
make -f nbproject/Makefile-default.mk dist/default/production/text887.X.production.hex
make[2]: Entering directory 'E:/textMplab/text1/text887.X'
make[2]: *** [build/default/production/_ext/1472/887.p1] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
"C:\Program Files\HI-TECH Software\PICC\std\9.60\bin\picc.exe" --pass1 ../887.c -q --chip=16F887 -P --outdir="build/default/production\_ext\1472" -N31 -I".." -I"." --warn=0 --runtime