打印
[PIC®/AVR®/dsPIC®产品]

求助帖啊 关于MAPLAB X IDE 编译失败的问题

[复制链接]
2013|2
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
就是新建好一个项目后 就写一个最简单的程序 然后点击编译,结果一直是编译失败,如下文所示:
make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make[1]: Entering directory 'E:/EX1/EX1.X'
make  -f nbproject/Makefile-default.mk dist/default/production/EX1.X.production.hex
make[2]: Entering directory 'E:/EX1/EX1.X'
"C:\Program Files (x86)\Microchip\xc8\v2.00\bin\xc8-cc.exe"  -mcpu=16F887 -c  -fno-short-double -fno-short-float -O0 -fasmfile -maddrqual=ignore -xassembler-with-cpp -Wa,-a -DXPRJ_default=default  -msummary=-psect,-class,+mem,-hex,-file  -ginhx032 -Wl,--data-init -mno-keep-startup -mno-osccal -mno-resetbits -mno-save-resetbits -mno-download -mno-stackcall   -std=c99 -gdwarf-3 -mstack=compiled:auto:auto     -o build/default/production/EX1.p1 EX1.c
::: advisory: (2049) C99 compliant libraries are currently not available for baseline or mid-range devices, or for enhanced mid-range devices using a reentrant stack; using C90 libraries
make[2]: *** [build/default/production/EX1.p1] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
Missing source file
(908) exit status = 1
nbproject/Makefile-default.mk:105: recipe for target 'build/default/production/EX1.p1' failed
make[2]: Leaving directory 'E:/EX1/EX1.X'
nbproject/Makefile-default.mk:90: recipe for target '.build-conf' failed
make[1]: Leaving directory 'E:/EX1/EX1.X'
nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed

编译已失败 (退出值2, 总时间: 765ms)

使用特权

评论回复
沙发
wcykyjs2021|  楼主 | 2020-4-11 13:05 | 只看该作者
有没有大佬可以帮忙看看啊?

1.png (382.54 KB )

就像这样子

就像这样子

使用特权

评论回复
板凳
lcczg| | 2020-4-17 15:03 | 只看该作者
提示 C99 compliant libraries are currently not available for baseline or mid-range devices, or for enhanced mid-range devices using a reentrant stack; using C90 libraries
在工程配置里面C99改为C90.

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

1

主题

2

帖子

0

粉丝