极客工坊

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 23619|回复: 2

Visual Studio 编译arduino uno程序报错,选别的板子可以正常编译

[复制链接]
发表于 2020-4-11 20:20:04 | 显示全部楼层 |阅读模式

   Please submit a full bug report
   with preprocessed source if appropriate
   gcc.gnu.org\bugs.html> for instructions

lto-wrapper.exe*: fatal error: c:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-gcc returned 1 exit status
   compilation terminated

ld.exe: error: lto-wrapper failed

collect2.exe*: error: ld returned 1 exit status
回复

使用道具 举报

 楼主| 发表于 2020-4-11 20:23:20 | 显示全部楼层
本帖最后由 silencejerui 于 2020-4-11 20:25 编辑

1.程序复制到arduino IDE中正常编译,上传也ok;
2.vs中板子选择2560可以正常编译;

不知道有没有相同经历的朋友,可否分享一下解决方法!同求大神支招!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2020-4-11 21:44:09 | 显示全部楼层
目前是更新了arduino ide到最新版本!编译还是会出现报错,连续不断地进行编译,会ok!具体原因不详!
回复 支持 反对

使用道具 举报

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

本版积分规则 需要先绑定手机号

Archiver|联系我们|极客工坊

GMT+8, 2024-4-25 21:47 , Processed in 0.042170 second(s), 18 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2021, Tencent Cloud.

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