Code: Select all
Arduino:1.8.10 (Windows 7), Tarjeta:"Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
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:
c:\program files (x86)\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_;
^~~~~~~
In file included from sketch\SdFile.h:27:0,
from sketch\cardreader.h:8,
from sketch\Marlin_main.cpp:50:
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:
c:\program files (x86)\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::setpos(fpos_t*)':
SdBaseFile.cpp:1485: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:1486:22: error: request for member 'cluster' in '* pos', which is of non-class type 'fpos_t {aka long long int}'
curCluster_ = pos->cluster;
^~~~~~~
In file included from sketch\SdFile.h:27:0,
from sketch\SdFile.cpp:23:
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\SdFile.cpp:20:
c:\program files (x86)\arduino\hardware\tools\avr\avr\include\stdio.h:950:33: note: 'fpos_t' has a previous declaration here
__extension__ typedef long long fpos_t;
^~~~~~
Se encontraron varias bibliotecas para "LiquidCrystal.h"
Usado: C:\Program
exit status 1
using typedef-name 'fpos_t' after 'struct'
Este informe podría contener más información con
"Mostrar salida detallada durante la compilación"
opción habilitada en Archivo -> Preferencias.