Jz.Geek 发表于 2016-7-31 19:14:26

求助,请问个报错代码是什么意思

Arduino:1.6.10 (Windows 7), 开发板:"Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

In file included from sketch\SdFile.h:27:0,

               from sketch\cardreader.h:8,

               from sketch\Marlin_main.cpp:44:

SdBaseFile.h:38: error: using typedef-name 'fpos_t' after 'struct'

struct fpos_t {

      ^

In file included from sketch\Marlin.h:10:0,

               from sketch\Marlin_main.cpp:30:

d:\arduino\hardware\tools\avr\avr\include\stdio.h:950:33: note: 'fpos_t' has a previous declaration here

__extension__ typedef long long fpos_t;

                                 ^

exit status 1
using typedef-name 'fpos_t' after 'struct'

在文件 -> 首选项开启
“编译过程中显示详细输出”选项
这份报告会包含更多信息。

Jz.Geek 发表于 2016-7-31 19:32:48

有人帮助下吗?

lkc8210 发表于 2016-8-6 13:22:09

我也碰到这个问题
只要用replace All 把所有fpos_t 换成 f_pos_t 就可以了:loveliness:
注意Replace All 时要把"Search all Sketch Tabs" 勾上

Jz.Geek 发表于 2016-8-6 19:16:37

lkc8210 发表于 2016-8-6 13:22 static/image/common/back.gif
我也碰到这个问题
只要用replace All 把所有fpos_t 换成 f_pos_t 就可以了
注意Replace All...

谢谢了,我去试试看
页: [1]
查看完整版本: 求助,请问个报错代码是什么意思