问答

汇集网友智慧,解决技术难题

21ic问答首页 - 为arduino uno 板子编译时出错

Arduino 编译 AVR vr TE

为arduino uno 板子编译时出错

WT8882021-02-20
今天不知道为什么,无论弄什么代码都编译不了,就是使用示例中的代码也显示同样的错误。错误如下:
avr-gcc: error: @C:\WINDOWS\TEMP\cc0MBmKn: Invalid argument
avr-gcc: fatal error: no input files
compilation terminated.
lto-wrapper.exe: fatal error: D:\soft\Arduino\hardware\tools\avr/bin/avr-gcc returned 1 exit status
compilation terminated.
d:/soft/arduino/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld.exe: error: lto-wrapper failed
collect2.exe: error: ld returned 1 exit status
exit status 1
为开发板 Arduino Uno 编译时出错。

回答 +关注 9
3309人浏览 3人回答问题 分享 举报
3 个回答

您需要登录后才可以回复 登录 | 注册