MPLAB X build faIled問題

作者 Jerry211 於 2019年01月12日 22:08:29
大家好,我買了APP001
跟著XIDET這份教學裡面學習MPLAB X
做到75頁時就出現以下訊息,導致一直失敗
關於Configuration bit的問題,我看主要好像是WDT的問題
可是我怎麼試都不行
再麻煩大大幫忙解答謝謝

錯誤碼:
make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make[1]: Entering directory 'C:/Users/Karen/Desktop/practice_XIDET_XC8/lab1.X'
make -f nbproject/Makefile-default.mk dist/default/debug/lab1.X.debug.elf
make[2]: Entering directory 'C:/Users/Karen/Desktop/practice_XIDET_XC8/lab1.X'
"C:\Microchip\XC8\bin\xc8.exe" --pass1 --chip=18F4520 -Q -G -D__DEBUG=1 --debugger=pickit3 --double=24 --float=24 --emi=wordwrite --opt=+asm,+asmfile,-speed,+space,-debug,-local --addrqual=ignore --mode=free -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/debug/_ext/1472/PIC18F_LCD_APP001.p1 ../PIC18F_LCD_APP001.c
"C:\Microchip\XC8\bin\xc8.exe" --pass1 --chip=18F4520 -Q -G -D__DEBUG=1 --debugger=pickit3 --double=24 --float=24 --emi=wordwrite --opt=+asm,+asmfile,-speed,+space,-debug,-local --addrqual=ignore --mode=free -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/debug/_ext/1472/Lab1.p1 ../Lab1.c
../PIC18F_LCD_APP001.c:2: error: (141) can't open include file "delays.h": No such file or directory
(908) exit status = 1
nbproject/Makefile-default.mk:97: recipe for target 'build/default/debug/_ext/1472/PIC18F_LCD_APP001.p1' failed
../Lab1.c:46: warning: (373) implicit signed to unsigned conversion
make[2]: *** [build/default/debug/_ext/1472/PIC18F_LCD_APP001.p1] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory 'C:/Users/Karen/Desktop/practice_XIDET_XC8/lab1.X'
make[1]: *** [.build-conf] Error 2
nbproject/Makefile-default.mk:90: recipe for target '.build-conf' failed
make[1]: Leaving directory 'C:/Users/Karen/Desktop/practice_XIDET_XC8/lab1.X'
nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed
make: *** [.build-impl] Error 2

BUILD FAILED (exit value 2, total time: 625ms)

來自: http://www.microchip.com.tw/newbb/viewtopic.php?forum=18&topic_id=22526&post_id=79172