如题,我网上下载了别人的Marlin压缩文件夹解压烧入arduino
可是到处提示出问题,缺少有效库文件之类的。
还有一些就是直接卡在某一段,完全不知道从何处修复....
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
求大佬指点,以下是一些出错的信息复制:
Arduino:1.8.7 (Windows 10), 开发板:"Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
In file included from sketch\SdFile.h:27:0,
from sketch\cardreader.h:6,
from sketch\Marlin_main.cpp:37:
SdBaseFile.h:38:8: 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\官网下的程序\arduino\hardware\tools\avr\avr\include\stdio.h:950:33: note: 'fpos_t' has a previous declaration here
__extension__ typedef long long fpos_t;
^
In file included from sketch\SdFile.h:27:0,
from sketch\cardreader.h:6,
from sketch\cardreader.cpp:2:
SdBaseFile.h:38:8: error: using typedef-name 'fpos_t' after 'struct'
struct fpos_t {
^
In file included from sketch\Marlin.h:10:0,
from sketch\cardreader.cpp:1:
d:\电控\arduino\官网下的程序\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
In file included from sketch\SdBaseFile.cpp:24:0:
SdBaseFile.h:38:8: error: using typedef-name 'fpos_t' after 'struct'
struct fpos_t {
^
In file included from sketch\Marlin.h:10:0,
from sketch\SdBaseFile.cpp:21:
d:\电控\arduino\官网下的程序\arduino\hardware\tools\avr\avr\include\stdio.h:950:33: note: 'fpos_t' has a previous declaration here
__extension__ typedef long long fpos_t;
^
sketch\SdBaseFile.cpp: In member function 'void SdBaseFile::getpos(fpos_t*)':
SdBaseFile.cpp:298:8: error: request for member 'position' in '* pos', which is of non-class type 'fpos_t {aka long long int}'
pos->position = curPosition_;
^
SdBaseFile.cpp:299:8: error: request for member 'cluster' in '* pos', which is of non-class type 'fpos_t {aka long long int}'
pos->cluster = curCluster_;
^
sketch\SdBaseFile.cpp: In member function 'void SdBaseFile::setpos(fpos_t*)':
SdBaseFile.cpp:1496:23: error: request for member 'position' in '* pos', which is of non-class type 'fpos_t {aka long long int}'
curPosition_ = pos->position;
^
SdBaseFile.cpp:1497:22: error: request for member 'cluster' in '* pos', which is of non-class type 'fpos_t {aka long long int}'
curCluster_ = pos->cluster;
^
using typedef-name 'fpos_t' after 'struct'
找到无效库在 D:\电控\arduino\官网下的程序\Arduino\libraries\Marlin-add_chinese_font: no headers files (.h) found in D:\电控\arduino\官网下的程序\Arduino\libraries\Marlin-add_chinese_font
在文件 -> 首选项开启
“编译过程中显示详细输出”选项
这份报告会包含更多信息。
|