打印
[开发工具]

编译出现这个问题,请教大神们如何解决?

[复制链接]
1576|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
bingol_jxy|  楼主 | 2017-8-22 11:39 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make[1]: Entering directory 'D:/WORK/PIC16F1786-DEMO/LX-28PIN-Demo-Soft/LX-28PIN-ADC/LX-28PIN-ADC.X'
make  -f nbproject/Makefile-default.mk dist/default/production/LX-28PIN-ADC.X.production.hex
make[2]: Entering directory 'D:/WORK/PIC16F1786-DEMO/LX-28PIN-Demo-Soft/LX-28PIN-ADC/LX-28PIN-ADC.X'
"C:\Program Files\Microchip\xc8\v1.34\bin\xc8.exe" --pass1  --chip=16F1786 -Q -G  --double=24 --float=24 --opt=default,+asm,+asmfile,-speed,+space,-debug --addrqual=ignore --mode=free -P -N255 --warn=0 --asmlist -DXPRJ_default=default  --summary=default,-psect,-class,+mem,-hex,-file --output=default,-inhx032 --runtime=default,+clear,+init,-keep,-no_startup,+osccal,-resetbits,-download,-stackcall,+clib   --output=-mcof,+elf:multilocs --stack=compiled:auto:auto "--errformat=%f:%l: error: (%n) %s" "--warnformat=%f:%l: warning: (%n) %s" "--msgformat=%f:%l: advisory: (%n) %s"    -obuild/default/production/_ext/1472/LX-28PIN-ADC.p1  ../LX-28PIN-ADC.C
:: error: (100) unterminated #if[n][def] block from line 1
(908) exit status = 1
nbproject/Makefile-default.mk:100: recipe for target 'build/default/production/_ext/1472/LX-28PIN-ADC.p1' failed
make[2]: Leaving directory 'D:/WORK/PIC16F1786-DEMO/LX-28PIN-Demo-Soft/LX-28PIN-ADC/LX-28PIN-ADC.X'
nbproject/Makefile-default.mk:84: recipe for target '.build-conf' failed
make[1]: Leaving directory 'D:/WORK/PIC16F1786-DEMO/LX-28PIN-Demo-Soft/LX-28PIN-ADC/LX-28PIN-ADC.X'
nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed
make[2]: *** [build/default/production/_ext/1472/LX-28PIN-ADC.p1] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2

编译已失败 (退出值2, 总时间: 2s)
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

3

主题

7

帖子

0

粉丝