IAM使用XC8 1.45和MPLAB X IDE V4.15。错误是这样的。ILIPROSPA.xC8VC4\B\xC8exe“-PAS1= 18F97 J60-Q=G=24=24,EMI=WordDead -opt= +ASM,-ASMFLASH,+空间,-Debug,-Deal-AdrQualal=忽略-MODE=PRO-P-N255-警告=-3——ASMLIST- DXPRJIORADY = DEFALSE =摘要,默认,-PSECT,-+类,+MEM,-HEX,-file,输出=默认,运行时=默认,+,CONFIG,+CONFIG,+LIB,-PLIB -输出= -MCOF,+FLAS:堆栈=编译:Auto: Auto: Auto-“%r:%L:错误:(%N)%s:”警告:(%N)%s“”-MSGFLASE= %F:%L:咨询:(%N)%s“-OBUILD/Deult/NeaveNeMe.P.NeNeM.C:8:错误:(192)未定义的标识符“文件”NeMeun.C:8:错误:(192)未定义的标识符“FP”NeMeung.C: 10:警告:(361)函数声明隐式InNeNEng.C:11:警告:(361)函数声明隐式InNeNeM.C:13:警告:(361)乐趣C声明声明隐式InNeNo.Mc.:15:错误:(204)无效函数不能返回值(908)退出状态=1nbPosi/MaFaMeCurrase.MK:106:目标“Buff/Deule/Studio/NeMeNe.P1’FuleDebug [2 ]的配方:离开目录'C:/Huffe/MPLABXPixs/FielPuaF.x'NbPosi/MaFaCuff-DEFAOut.CONF'FultEdvest[[ 1 ] ]:留下目录'C://HETC/MPLABXPixs/FielPaul.x'NbPosi/MaFix.IMP.MK:39:Time'Buff.Buff-IMPL 'FuleDebug [2 ]的配方:**[Bug/Deule/Studio/NeMeun.P1]错误[1]:**[Buffic CONF]错误2:错误2Bug失败(退出值2,总时间:1s)
以上来自于百度翻译
以下为原文
Iam using XC8 1.45 and MPLAB X ide v4.15. The error is this.
make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make[1]: Entering directory 'C:/Users/Hitec/MPLABXProjects/fileproba.X'
make -f nbproject/Makefile-default.mk dist/default/production/fileproba.X.production.hex
make[2]: Entering directory 'C:/Users/Hitec/MPLABXProjects/fileproba.X'
"C:Program Files (x86)Microchipxc8v1.45binxc8.exe" --pass1 --chip=18F97J60 -Q -G --double=24 --float=24 --emi=wordwrite --opt=+asm,-asmfile,-speed,+space,-debug,-local --addrqual=ignore --mode=pro -P -N255 --warn=-3 --asmlist -DXPRJ_default=default --summary=default,-psect,-class,+mem,-hex,-file --output=default,-inhx032 --runtime=default,+clear,+init,-keep,-no_startup,-download,+config,+clib,-plib --output=-mcof,+elf:multilocs --stack=compiled:auto:auto:auto "--errformat=%f:%l: error: (%n) %s" "--warnformat=%f:%l: warning: (%n) %s" "--msgformat=%f:%l: advisory: (%n) %s" -obuild/default/production/newmain.p1 newmain.c
newmain.c:8: error: (192) undefined identifier "FILE"
newmain.c:8: error: (192) undefined identifier "fp"
newmain.c:10: warning: (361) function declared implicit int
newmain.c:11: warning: (361) function declared implicit int
newmain.c:13: warning: (361) function declared implicit int
newmain.c:15: error: (204) void function can't return a value
(908) exit status = 1
nbproject/Makefile-default.mk:106: recipe for target 'build/default/production/newmain.p1' failed
make[2]: Leaving directory 'C:/Users/Hitec/MPLABXProjects/fileproba.X'
nbproject/Makefile-default.mk:90: recipe for target '.build-conf' failed
make[1]: Leaving directory 'C:/Users/Hitec/MPLABXProjects/fileproba.X'
nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed
make[2]: *** [build/default/production/newmain.p1] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
BUILD FAILED (exit value 2, total time: 1s)
IAM使用XC8 1.45和MPLAB X IDE V4.15。错误是这样的。ILIPROSPA.xC8VC4\B\xC8exe“-PAS1= 18F97 J60-Q=G=24=24,EMI=WordDead -opt= +ASM,-ASMFLASH,+空间,-Debug,-Deal-AdrQualal=忽略-MODE=PRO-P-N255-警告=-3——ASMLIST- DXPRJIORADY = DEFALSE =摘要,默认,-PSECT,-+类,+MEM,-HEX,-file,输出=默认,运行时=默认,+,CONFIG,+CONFIG,+LIB,-PLIB -输出= -MCOF,+FLAS:堆栈=编译:Auto: Auto: Auto-“%r:%L:错误:(%N)%s:”警告:(%N)%s“”-MSGFLASE= %F:%L:咨询:(%N)%s“-OBUILD/Deult/NeaveNeMe.P.NeNeM.C:8:错误:(192)未定义的标识符“文件”NeMeun.C:8:错误:(192)未定义的标识符“FP”NeMeung.C: 10:警告:(361)函数声明隐式InNeNEng.C:11:警告:(361)函数声明隐式InNeNeM.C:13:警告:(361)乐趣C声明声明隐式InNeNo.Mc.:15:错误:(204)无效函数不能返回值(908)退出状态=1nbPosi/MaFaMeCurrase.MK:106:目标“Buff/Deule/Studio/NeMeNe.P1’FuleDebug [2 ]的配方:离开目录'C:/Huffe/MPLABXPixs/FielPuaF.x'NbPosi/MaFaCuff-DEFAOut.CONF'FultEdvest[[ 1 ] ]:留下目录'C://HETC/MPLABXPixs/FielPaul.x'NbPosi/MaFix.IMP.MK:39:Time'Buff.Buff-IMPL 'FuleDebug [2 ]的配方:**[Bug/Deule/Studio/NeMeun.P1]错误[1]:**[Buffic CONF]错误2:错误2Bug失败(退出值2,总时间:1s)
以上来自于百度翻译
以下为原文
Iam using XC8 1.45 and MPLAB X ide v4.15. The error is this.
make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make[1]: Entering directory 'C:/Users/Hitec/MPLABXProjects/fileproba.X'
make -f nbproject/Makefile-default.mk dist/default/production/fileproba.X.production.hex
make[2]: Entering directory 'C:/Users/Hitec/MPLABXProjects/fileproba.X'
"C:Program Files (x86)Microchipxc8v1.45binxc8.exe" --pass1 --chip=18F97J60 -Q -G --double=24 --float=24 --emi=wordwrite --opt=+asm,-asmfile,-speed,+space,-debug,-local --addrqual=ignore --mode=pro -P -N255 --warn=-3 --asmlist -DXPRJ_default=default --summary=default,-psect,-class,+mem,-hex,-file --output=default,-inhx032 --runtime=default,+clear,+init,-keep,-no_startup,-download,+config,+clib,-plib --output=-mcof,+elf:multilocs --stack=compiled:auto:auto:auto "--errformat=%f:%l: error: (%n) %s" "--warnformat=%f:%l: warning: (%n) %s" "--msgformat=%f:%l: advisory: (%n) %s" -obuild/default/production/newmain.p1 newmain.c
newmain.c:8: error: (192) undefined identifier "FILE"
newmain.c:8: error: (192) undefined identifier "fp"
newmain.c:10: warning: (361) function declared implicit int
newmain.c:11: warning: (361) function declared implicit int
newmain.c:13: warning: (361) function declared implicit int
newmain.c:15: error: (204) void function can't return a value
(908) exit status = 1
nbproject/Makefile-default.mk:106: recipe for target 'build/default/production/newmain.p1' failed
make[2]: Leaving directory 'C:/Users/Hitec/MPLABXProjects/fileproba.X'
nbproject/Makefile-default.mk:90: recipe for target '.build-conf' failed
make[1]: Leaving directory 'C:/Users/Hitec/MPLABXProjects/fileproba.X'
nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed
make[2]: *** [build/default/production/newmain.p1] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
BUILD FAILED (exit value 2, total time: 1s)
举报