arduio ide无法编译-Arduino中文社区 - Powered by Discuz!

Arduino中文社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 2868|回复: 2

[已解决] arduio ide无法编译

[复制链接]
发表于 2021-4-13 19:20 | 显示全部楼层 |阅读模式
错误如下:
Arduino: 1.8.12 (Windows 10), Board: "Arduino Uno"
avr-gcc: error: @C:\WINDOWS\TEMP\ccKiepOh: Invalid argument
avr-gcc: fatal error: no input files
compilation terminated.
lto-wrapper.exe: fatal error: D:\ARDUINOTT\Arduino\hardware\tools\avr/bin/avr-gcc returned 1 exit status
compilation terminated.
d:/arduinott/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
Error compiling for board Arduino Uno.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.



 楼主| 发表于 2021-4-13 19:21 | 显示全部楼层
刚下好 例子都编译不了
 楼主| 发表于 2021-4-13 19:48 | 显示全部楼层
弄好了 系统环境变量的问题
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|Archiver|手机版|Arduino中文社区

GMT+8, 2024-11-29 08:41 , Processed in 0.069662 second(s), 16 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表