完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
mplab ide 编译失败,同样目录下其他简单程序就能编译,求解答 make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf make[1]: Entering directory 'C:/Program Files (x86)/RareEarth-TempCheck.X' make -f nbproject/Makefile-default.mk dist/default/production/RareEarth-TempCheck.X.production.hex make[2]: Entering directory 'C:/Program Files (x86)/RareEarth-TempCheck.X' "C:Program Files (x86)MicrochipMPLABXxc16v1.21binxc16-gcc.exe" SOURCE/GPIO.c -o build/default/production/SOURCE/GPIO.o -c -mcpu=30F5011 -MMD -MF "build/default/production/SOURCE/GPIO.o.d" -g -omf=elf -I"include" -O0 -msmart-io=1 -Wall -msfr-warn=off "C:Program Files (x86)MicrochipMPLABXxc16v1.21binxc16-gcc.exe" SOURCE/Timer1.c -o build/default/production/SOURCE/Timer1.o -c -mcpu=30F5011 -MMD -MF "build/default/production/SOURCE/Timer1.o.d" -g -omf=elf -I"include" -O0 -msmart-io=1 -Wall -msfr-warn=off "C:Program Files (x86)MicrochipMPLABXxc16v1.21binxc16-gcc.exe" SOURCE/SCI.c -o build/default/production/SOURCE/SCI.o -c -mcpu=30F5011 -MMD -MF "build/default/production/SOURCE/SCI.o.d" -g -omf=elf -I"include" -O0 -msmart-io=1 -Wall -msfr-warn=off "C:Program Files (x86)MicrochipMPLABXxc16v1.21binxc16-gcc.exe" SOURCE/CAN.c -o build/default/production/SOURCE/CAN.o -c -mcpu=30F5011 -MMD -MF "build/default/production/SOURCE/CAN.o.d" -g -omf=elf -I"include" -O0 -msmart-io=1 -Wall -msfr-warn=off In file included from include/GPIO.h:4:0, from SOURCE/GPIO.c:25: include/comm.h:73:1: warning: useless storage class specifier in empty declaration include/comm.h:89:1: warning: useless storage class specifier in empty declaration In file included from SOURCE/GPIO.c:25:0: include/GPIO.h:121:1: warning: useless storage class specifier in empty declaration SOURCE/GPIO.c: In function 'GPIO_Init': SOURCE/GPIO.c:91:13: warning: unused variable 'i' SOURCE/GPIO.c: At top level: SOURCE/GPIO.c:160:6: error: conflicting types for 'Output' include/GPIO.h:192:13: note: previous declaration of 'Output' was here SOURCE/GPIO.c: In function 'LightLed': SOURCE/GPIO.c:257:12: warning: unused variable 'Temp' In file included from include/Timer1.h:11:0, from SOURCE/Timer1.c:22: include/comm.h:73:1: warning: useless storage class specifier in empty declaration include/comm.h:89:1: warning: useless storage class specifier in empty declaration In file included from SOURCE/Timer1.c:24:0: include/GPIO.h:121:1: warning: useless storage class specifier in empty declaration make[2]: *** [build/default/production/SOURCE/GPIO.o] Error 255 nbproject/Makefile-default.mk:227: recipe for target 'build/default/production/SOURCE/GPIO.o' failed make[2]: *** Waiting for unfinished jobs.... "C:Program Files (x86)MicrochipMPLABXxc16v1.21binxc16-gcc.exe" SOURCE/main.c -o build/default/production/SOURCE/main.o -c -mcpu=30F5011 -MMD -MF "build/default/production/SOURCE/main.o.d" -g -omf=elf -I"include" -O0 -msmart-io=1 -Wall -msfr-warn=off In file included from SOURCE/SCI.c:22:0: include/comm.h:73:1: warning: useless storage class specifier in empty declaration include/comm.h:89:1: warning: useless storage class specifier in empty declaration In file included from SOURCE/SCI.c:24:0: include/GPIO.h:121:1: warning: useless storage class specifier in empty declaration SOURCE/SCI.c: In function 'GetCheckSums': SOURCE/SCI.c:241:1: warning: control reaches end of non-void function In file included from include/CAN.h:4:0, from SOURCE/CAN.c:32: include/comm.h:73:1: warning: useless storage class specifier in empty declaration include/comm.h:89:1: warning: useless storage class specifier in empty declaration In file included from SOURCE/CAN.c:33:0: include/GPIO.h:121:1: warning: useless storage class specifier in empty declaration SOURCE/CAN.c: In function 'CANLoadBuffer': SOURCE/CAN.c:87:15: warning: unused variable 'TEMP3' SOURCE/CAN.c:87:9: warning: unused variable 'TEMP2' SOURCE/CAN.c: In function 'CANDataDeputy': SOURCE/CAN.c:147:13: warning: unused variable 'Temp16' In file included from include/Timer1.h:11:0, from include/User.h:2, from SOURCE/main.c:22: include/comm.h:73:1: warning: useless storage class specifier in empty declaration include/comm.h:89:1: warning: useless storage class specifier in empty declaration In file included from include/User.h:4:0, from SOURCE/main.c:22: include/GPIO.h:121:1: warning: useless storage class specifier in empty declaration SOURCE/main.c: In function 'main': SOURCE/main.c:68:5: warning: implicit declaration of function 'ADCVarInit' SOURCE/main.c:80:5: warning: implicit declaration of function 'SPI_Init_TX' SOURCE/main.c:81:5: warning: implicit declaration of function 'SPI2InitTX' SOURCE/main.c:57:19: warning: unused variable 'Data32SE' SOURCE/main.c:56:11: warning: unused variable 'Data8' SOURCE/main.c:53:34: warning: unused variable 'm_GetTime' SOURCE/main.c:53:23: warning: unused variable 'm_DetaTime' make[1]: *** [.build-conf] Error 2 make[2]: Leaving directory 'C:/Program Files (x86)/RareEarth-TempCheck.X' make: *** [.build-impl] Error 2 nbproject/Makefile-default.mk:78: recipe for target '.build-conf' failed make[1]: Leaving directory 'C:/Program Files (x86)/RareEarth-TempCheck.X' nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed 编译已失败 (退出值2, 总时间: 7s) |
|
相关推荐
|
|
你正在撰写答案
如果你是对答案或其他答案精选点评或询问,请使用“评论”功能。
1056 浏览 0 评论
AI模型部署边缘设备的奇妙之旅:如何在边缘端部署OpenCV
3545 浏览 0 评论
tms320280021 adc采样波形,为什么adc采样频率上来波形就不好了?
1482 浏览 0 评论
2181 浏览 0 评论
1663 浏览 0 评论
75387 浏览 21 评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-29 03:51 , Processed in 0.632653 second(s), Total 71, Slave 53 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号