Vai al contenuto

programmazione stampante prusa


Messaggi raccomandati

buongiorno, io stampo in 3d da 3 anni ho scaricato il primo firmware x la ramps 1.4 con arduino mega e fin qua tutto bene 

la scorsa settimana mi si bruciata la scheda x un corto circuito, ho comprato una ramps 1.4 e un arduino nuovi. solo che quando gli vado ad

inserire il programma mi da una serie di errori ed in più con xp non me lo riconosce più, e devo usare arduino 1.8 x trovare le porte seriali 

io di programmazione ne capisco ben poco vi chiedo di  aiutarmi xke non ne salto più fuori  allego il firmware che usavo fino alla scorsa

settimana 

Marlin_prova_oggi3.ino

Link al commento
Condividi su altri siti

Per compilare il marlin devi obbligatoriamente usare un Arduino che sia versione 1.0.6 o inferiore che puoi scaricare o dal sito di Arduino o qui in versione che non richiede installazione, decomprimi ed usi direttamente

https://www.arduino.cc/download_handler.php?f=/arduino-1.0.6-windows.zip

ricordati che Arduino va settato in 'strumenti' 'scheda' come 'Arduino Mega256'

poi se hai problemi di driver ( nota bene che se i driver ti funzionano con l'arduino 1.8.x ti devono per forza funzionare anche con l'arduino 1.0.6) i driver corretti li puoi scaricare dal sito FTDI o direttamente da questo link

http://www.ftdichip.com/Drivers/VCP.htm

questi driver sono validi anche per XP

Per le porte seriali ed il relativo numero di com verifica da pannello di controllo che collegando e scolleganto il cavo usb si presenti due situazioni di questo tipo, da cui ricavi anche il numero di com.

FDTI.png

Link al commento
Condividi su altri siti

nulla da fare con il cpu xp non mi riconosce le porte neanche in gestione dispositivi e con w7 non ce verso di programmarla mi continua a dare l errore voip getpos (fpos_t* pos) ; la ramps e 1.4 24v, l arduino e' un at mega 2560-16U ava board, e i driver drv8825 qualche consiglio _????? 

Link al commento
Condividi su altri siti

Arduino:1.8.0 (Windows 7), Scheda:"Arduino/Genuino Mega or Mega 2560, ATmega1280"

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

                 from sketch\BlinkM.cpp:5:

sketch\pins.h:2564:0: warning: "X_MAX_PIN" redefined

 #define X_MAX_PIN          -1

 ^

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

                 from sketch\BlinkM.cpp:5:

sketch\pins.h:445:0: note: this is the location of the previous definition

     #define X_MAX_PIN           2

 ^

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

                 from sketch\BlinkM.cpp:5:

sketch\pins.h:2565:0: warning: "Y_MAX_PIN" redefined

 #define Y_MAX_PIN          -1

 ^

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

                 from sketch\BlinkM.cpp:5:

sketch\pins.h:451:0: note: this is the location of the previous definition

     #define Y_MAX_PIN          15

 ^

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

                 from sketch\BlinkM.cpp:5:

sketch\pins.h:2566:0: warning: "Z_MAX_PIN" redefined

 #define Z_MAX_PIN          -1

 ^

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

                 from sketch\BlinkM.cpp:5:

sketch\pins.h:457:0: note: this is the location of the previous definition

     #define Z_MAX_PIN          19

 ^

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

                 from sketch\ConfigurationStore.cpp:1:

sketch\pins.h:2564:0: warning: "X_MAX_PIN" redefined

 #define X_MAX_PIN          -1

 ^

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

                 from sketch\ConfigurationStore.cpp:1:

sketch\pins.h:445:0: note: this is the location of the previous definition

     #define X_MAX_PIN           2

 ^

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

                 from sketch\ConfigurationStore.cpp:1:

sketch\pins.h:2565:0: warning: "Y_MAX_PIN" redefined

 #define Y_MAX_PIN          -1

 ^

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

                 from sketch\ConfigurationStore.cpp:1:

sketch\pins.h:451:0: note: this is the location of the previous definition

     #define Y_MAX_PIN          15

 ^

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

                 from sketch\ConfigurationStore.cpp:1:

sketch\pins.h:2566:0: warning: "Z_MAX_PIN" redefined

 #define Z_MAX_PIN          -1

 ^

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

                 from sketch\ConfigurationStore.cpp:1:

sketch\pins.h:457:0: note: this is the location of the previous definition

     #define Z_MAX_PIN          19

 ^

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

                 from sketch\MarlinSerial.cpp:23:

sketch\pins.h:2564:0: warning: "X_MAX_PIN" redefined

 #define X_MAX_PIN          -1

 ^

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

                 from sketch\MarlinSerial.cpp:23:

sketch\pins.h:445:0: note: this is the location of the previous definition

     #define X_MAX_PIN           2

 ^

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

                 from sketch\MarlinSerial.cpp:23:

sketch\pins.h:2565:0: warning: "Y_MAX_PIN" redefined

 #define Y_MAX_PIN          -1

 ^

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

                 from sketch\MarlinSerial.cpp:23:

sketch\pins.h:451:0: note: this is the location of the previous definition

     #define Y_MAX_PIN          15

 ^

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

                 from sketch\MarlinSerial.cpp:23:

sketch\pins.h:2566:0: warning: "Z_MAX_PIN" redefined

 #define Z_MAX_PIN          -1

 ^

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

                 from sketch\MarlinSerial.cpp:23:

sketch\pins.h:457:0: note: this is the location of the previous definition

     #define Z_MAX_PIN          19

 ^

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

                 from sketch\Marlin_main.cpp:30:

sketch\pins.h:2564:0: warning: "X_MAX_PIN" redefined

 #define X_MAX_PIN          -1

 ^

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

                 from sketch\Marlin_main.cpp:30:

sketch\pins.h:445:0: note: this is the location of the previous definition

     #define X_MAX_PIN           2

 ^

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

                 from sketch\Marlin_main.cpp:30:

sketch\pins.h:2565:0: warning: "Y_MAX_PIN" redefined

 #define Y_MAX_PIN          -1

 ^

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

                 from sketch\Marlin_main.cpp:30:

sketch\pins.h:451:0: note: this is the location of the previous definition

     #define Y_MAX_PIN          15

 ^

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

                 from sketch\Marlin_main.cpp:30:

sketch\pins.h:2566:0: warning: "Z_MAX_PIN" redefined

 #define Z_MAX_PIN          -1

 ^

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

                 from sketch\Marlin_main.cpp:30:

sketch\pins.h:457:0: note: this is the location of the previous definition

     #define Z_MAX_PIN          19

 ^

sketch\Marlin_main.cpp:2090:36: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]

         LCD_MESSAGEPGM(MACHINE_NAME" "MSG_OFF".");

                                    ^

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

                 from sketch\thermistortables.h:4,

                 from sketch\Configuration.h:709,

                 from G:\software prusa i3\Marlin_prova_oggi3\Marlin_prova_oggi3.ino:38:

sketch\pins.h:2564:0: warning: "X_MAX_PIN" redefined

 #define X_MAX_PIN          -1

 ^

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

                 from sketch\thermistortables.h:4,

                 from sketch\Configuration.h:709,

                 from G:\software prusa i3\Marlin_prova_oggi3\Marlin_prova_oggi3.ino:38:

sketch\pins.h:445:0: note: this is the location of the previous definition

     #define X_MAX_PIN           2

 ^

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

                 from sketch\thermistortables.h:4,

                 from sketch\Configuration.h:709,

                 from G:\software prusa i3\Marlin_prova_oggi3\Marlin_prova_oggi3.ino:38:

sketch\pins.h:2565:0: warning: "Y_MAX_PIN" redefined

 #define Y_MAX_PIN          -1

 ^

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

                 from sketch\thermistortables.h:4,

                 from sketch\Configuration.h:709,

                 from G:\software prusa i3\Marlin_prova_oggi3\Marlin_prova_oggi3.ino:38:

sketch\pins.h:451:0: note: this is the location of the previous definition

     #define Y_MAX_PIN          15

 ^

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

                 from sketch\thermistortables.h:4,

                 from sketch\Configuration.h:709,

                 from G:\software prusa i3\Marlin_prova_oggi3\Marlin_prova_oggi3.ino:38:

sketch\pins.h:2566:0: warning: "Z_MAX_PIN" redefined

 #define Z_MAX_PIN          -1

 ^

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

                 from sketch\thermistortables.h:4,

                 from sketch\Configuration.h:709,

                 from G:\software prusa i3\Marlin_prova_oggi3\Marlin_prova_oggi3.ino:38:

sketch\pins.h:457:0: note: this is the location of the previous definition

     #define Z_MAX_PIN          19

 ^

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

                 from sketch\Sd2Card.cpp:20:

sketch\pins.h:2564:0: warning: "X_MAX_PIN" redefined

 #define X_MAX_PIN          -1

 ^

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

                 from sketch\Sd2Card.cpp:20:

sketch\pins.h:445:0: note: this is the location of the previous definition

     #define X_MAX_PIN           2

 ^

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

                 from sketch\Sd2Card.cpp:20:

sketch\pins.h:2565:0: warning: "Y_MAX_PIN" redefined

 #define Y_MAX_PIN          -1

 ^

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

                 from sketch\Sd2Card.cpp:20:

sketch\pins.h:451:0: note: this is the location of the previous definition

     #define Y_MAX_PIN          15

 ^

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

                 from sketch\Sd2Card.cpp:20:

sketch\pins.h:2566:0: warning: "Z_MAX_PIN" redefined

 #define Z_MAX_PIN          -1

 ^

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

                 from sketch\Sd2Card.cpp:20:

sketch\pins.h:457:0: note: this is the location of the previous definition

     #define Z_MAX_PIN          19

 ^

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

                 from sketch\SdBaseFile.cpp:23:

sketch\pins.h:2564:0: warning: "X_MAX_PIN" redefined

 #define X_MAX_PIN          -1

 ^

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

                 from sketch\SdBaseFile.cpp:23:

sketch\pins.h:445:0: note: this is the location of the previous definition

     #define X_MAX_PIN           2

 ^

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

                 from sketch\SdBaseFile.cpp:23:

sketch\pins.h:2565:0: warning: "Y_MAX_PIN" redefined

 #define Y_MAX_PIN          -1

 ^

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

                 from sketch\SdBaseFile.cpp:23:

sketch\pins.h:451:0: note: this is the location of the previous definition

     #define Y_MAX_PIN          15

 ^

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

                 from sketch\SdBaseFile.cpp:23:

sketch\pins.h:2566:0: warning: "Z_MAX_PIN" redefined

 #define Z_MAX_PIN          -1

 ^

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

                 from sketch\SdBaseFile.cpp:23:

sketch\pins.h:457:0: note: this is the location of the previous definition

     #define Z_MAX_PIN          19

 ^

In file included from sketch\SdVolume.h:30:0,

                 from sketch\SdBaseFile.h:31,

                 from sketch\SdBaseFile.cpp:26:

SdFatStructs.h:49: error: redefinition of 'struct partitionTable'

 struct partitionTable {

        ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:30:0,

                 from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/FatStructs.h:43:8: error: previous definition of 'struct partitionTable'

 struct partitionTable {

        ^

In file included from sketch\SdVolume.h:30:0,

                 from sketch\SdBaseFile.h:31,

                 from sketch\SdBaseFile.cpp:26:

SdFatStructs.h:110: error: redefinition of 'struct masterBootRecord'

 struct masterBootRecord {

        ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:30:0,

                 from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/FatStructs.h:104:8: error: previous definition of 'struct masterBootRecord'

 struct masterBootRecord {

        ^

In file included from sketch\SdVolume.h:30:0,

                 from sketch\SdBaseFile.h:31,

                 from sketch\SdBaseFile.cpp:26:

SdFatStructs.h:123: error: invalid type in declaration before ';' token

 } PACKED;

         ^

SdFatStructs.h:455: error: redefinition of 'const uint16_t FAT16EOC'

 uint16_t const FAT16EOC = 0XFFFF;

                ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:30:0,

                 from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/FatStructs.h:278:16: note: 'const uint16_t FAT16EOC' previously defined here

 uint16_t const FAT16EOC = 0XFFFF;

                ^

In file included from sketch\SdVolume.h:30:0,

                 from sketch\SdBaseFile.h:31,

                 from sketch\SdBaseFile.cpp:26:

SdFatStructs.h:457: error: redefinition of 'const uint16_t FAT16EOC_MIN'

 uint16_t const FAT16EOC_MIN = 0XFFF8;

                ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:30:0,

                 from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/FatStructs.h:280:16: note: 'const uint16_t FAT16EOC_MIN' previously defined here

 uint16_t const FAT16EOC_MIN = 0XFFF8;

                ^

In file included from sketch\SdVolume.h:30:0,

                 from sketch\SdBaseFile.h:31,

                 from sketch\SdBaseFile.cpp:26:

SdFatStructs.h:459: error: redefinition of 'const uint32_t FAT32EOC'

 uint32_t const FAT32EOC = 0X0FFFFFFF;

                ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:30:0,

                 from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/FatStructs.h:282:16: note: 'const uint32_t FAT32EOC' previously defined here

 uint32_t const FAT32EOC = 0X0FFFFFFF;

                ^

In file included from sketch\SdVolume.h:30:0,

                 from sketch\SdBaseFile.h:31,

                 from sketch\SdBaseFile.cpp:26:

SdFatStructs.h:461: error: redefinition of 'const uint32_t FAT32EOC_MIN'

 uint32_t const FAT32EOC_MIN = 0X0FFFFFF8;

                ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:30:0,

                 from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/FatStructs.h:284:16: note: 'const uint32_t FAT32EOC_MIN' previously defined here

 uint32_t const FAT32EOC_MIN = 0X0FFFFFF8;

                ^

In file included from sketch\SdVolume.h:30:0,

                 from sketch\SdBaseFile.h:31,

                 from sketch\SdBaseFile.cpp:26:

SdFatStructs.h:463: error: redefinition of 'const uint32_t FAT32MASK'

 uint32_t const FAT32MASK = 0X0FFFFFFF;

                ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:30:0,

                 from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/FatStructs.h:286:16: note: 'const uint32_t FAT32MASK' previously defined here

 uint32_t const FAT32MASK = 0X0FFFFFFF;

                ^

In file included from sketch\SdVolume.h:30:0,

                 from sketch\SdBaseFile.h:31,

                 from sketch\SdBaseFile.cpp:26:

SdFatStructs.h:495: error: redefinition of 'struct directoryEntry'

 struct directoryEntry {

        ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:30:0,

                 from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/FatStructs.h:321:8: error: previous definition of 'struct directoryEntry'

 struct directoryEntry {

        ^

In file included from sketch\SdVolume.h:30:0,

                 from sketch\SdBaseFile.h:31,

                 from sketch\SdBaseFile.cpp:26:

SdFatStructs.h:583: error: redefinition of 'const uint8_t DIR_NAME_0XE5'

 uint8_t const DIR_NAME_0XE5 = 0X05;

               ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:30:0,

                 from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/FatStructs.h:376:15: note: 'const uint8_t DIR_NAME_0XE5' previously defined here

 uint8_t const DIR_NAME_0XE5 = 0X05;

               ^

In file included from sketch\SdVolume.h:30:0,

                 from sketch\SdBaseFile.h:31,

                 from sketch\SdBaseFile.cpp:26:

SdFatStructs.h:585: error: redefinition of 'const uint8_t DIR_NAME_DELETED'

 uint8_t const DIR_NAME_DELETED = 0XE5;

               ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:30:0,

                 from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/FatStructs.h:378:15: note: 'const uint8_t DIR_NAME_DELETED' previously defined here

 uint8_t const DIR_NAME_DELETED = 0XE5;

               ^

In file included from sketch\SdVolume.h:30:0,

                 from sketch\SdBaseFile.h:31,

                 from sketch\SdBaseFile.cpp:26:

SdFatStructs.h:587: error: redefinition of 'const uint8_t DIR_NAME_FREE'

 uint8_t const DIR_NAME_FREE = 0X00;

               ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:30:0,

                 from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/FatStructs.h:380:15: note: 'const uint8_t DIR_NAME_FREE' previously defined here

 uint8_t const DIR_NAME_FREE = 0X00;

               ^

In file included from sketch\SdVolume.h:30:0,

                 from sketch\SdBaseFile.h:31,

                 from sketch\SdBaseFile.cpp:26:

SdFatStructs.h:589: error: redefinition of 'const uint8_t DIR_ATT_READ_ONLY'

 uint8_t const DIR_ATT_READ_ONLY = 0X01;

               ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:30:0,

                 from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/FatStructs.h:382:15: note: 'const uint8_t DIR_ATT_READ_ONLY' previously defined here

 uint8_t const DIR_ATT_READ_ONLY = 0X01;

               ^

In file included from sketch\SdVolume.h:30:0,

                 from sketch\SdBaseFile.h:31,

                 from sketch\SdBaseFile.cpp:26:

SdFatStructs.h:591: error: redefinition of 'const uint8_t DIR_ATT_HIDDEN'

 uint8_t const DIR_ATT_HIDDEN = 0X02;

               ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:30:0,

                 from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/FatStructs.h:384:15: note: 'const uint8_t DIR_ATT_HIDDEN' previously defined here

 uint8_t const DIR_ATT_HIDDEN = 0X02;

               ^

In file included from sketch\SdVolume.h:30:0,

                 from sketch\SdBaseFile.h:31,

                 from sketch\SdBaseFile.cpp:26:

SdFatStructs.h:593: error: redefinition of 'const uint8_t DIR_ATT_SYSTEM'

 uint8_t const DIR_ATT_SYSTEM = 0X04;

               ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:30:0,

                 from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/FatStructs.h:386:15: note: 'const uint8_t DIR_ATT_SYSTEM' previously defined here

 uint8_t const DIR_ATT_SYSTEM = 0X04;

               ^

In file included from sketch\SdVolume.h:30:0,

                 from sketch\SdBaseFile.h:31,

                 from sketch\SdBaseFile.cpp:26:

SdFatStructs.h:595: error: redefinition of 'const uint8_t DIR_ATT_VOLUME_ID'

 uint8_t const DIR_ATT_VOLUME_ID = 0X08;

               ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:30:0,

                 from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/FatStructs.h:388:15: note: 'const uint8_t DIR_ATT_VOLUME_ID' previously defined here

 uint8_t const DIR_ATT_VOLUME_ID = 0X08;

               ^

In file included from sketch\SdVolume.h:30:0,

                 from sketch\SdBaseFile.h:31,

                 from sketch\SdBaseFile.cpp:26:

SdFatStructs.h:597: error: redefinition of 'const uint8_t DIR_ATT_DIRECTORY'

 uint8_t const DIR_ATT_DIRECTORY = 0X10;

               ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:30:0,

                 from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/FatStructs.h:390:15: note: 'const uint8_t DIR_ATT_DIRECTORY' previously defined here

 uint8_t const DIR_ATT_DIRECTORY = 0X10;

               ^

In file included from sketch\SdVolume.h:30:0,

                 from sketch\SdBaseFile.h:31,

                 from sketch\SdBaseFile.cpp:26:

SdFatStructs.h:599: error: redefinition of 'const uint8_t DIR_ATT_ARCHIVE'

 uint8_t const DIR_ATT_ARCHIVE = 0X20;

               ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:30:0,

                 from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/FatStructs.h:392:15: note: 'const uint8_t DIR_ATT_ARCHIVE' previously defined here

 uint8_t const DIR_ATT_ARCHIVE = 0X20;

               ^

In file included from sketch\SdVolume.h:30:0,

                 from sketch\SdBaseFile.h:31,

                 from sketch\SdBaseFile.cpp:26:

SdFatStructs.h:602: error: redefinition of 'const uint8_t DIR_ATT_LONG_NAME'

 uint8_t const DIR_ATT_LONG_NAME = 0X0F;

               ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:30:0,

                 from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/FatStructs.h:395:15: note: 'const uint8_t DIR_ATT_LONG_NAME' previously defined here

 uint8_t const DIR_ATT_LONG_NAME = 0X0F;

               ^

In file included from sketch\SdVolume.h:30:0,

                 from sketch\SdBaseFile.h:31,

                 from sketch\SdBaseFile.cpp:26:

SdFatStructs.h:604: error: redefinition of 'const uint8_t DIR_ATT_LONG_NAME_MASK'

 uint8_t const DIR_ATT_LONG_NAME_MASK = 0X3F;

               ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:30:0,

                 from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/FatStructs.h:397:15: note: 'const uint8_t DIR_ATT_LONG_NAME_MASK' previously defined here

 uint8_t const DIR_ATT_LONG_NAME_MASK = 0X3F;

               ^

In file included from sketch\SdVolume.h:30:0,

                 from sketch\SdBaseFile.h:31,

                 from sketch\SdBaseFile.cpp:26:

SdFatStructs.h:606: error: redefinition of 'const uint8_t DIR_ATT_DEFINED_BITS'

 uint8_t const DIR_ATT_DEFINED_BITS = 0X3F;

               ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:30:0,

                 from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/FatStructs.h:399:15: note: 'const uint8_t DIR_ATT_DEFINED_BITS' previously defined here

 uint8_t const DIR_ATT_DEFINED_BITS = 0X3F;

               ^

In file included from sketch\SdVolume.h:30:0,

                 from sketch\SdBaseFile.h:31,

                 from sketch\SdBaseFile.cpp:26:

sketch\SdFatStructs.h: In function 'uint8_t DIR_IS_LONG_NAME(const dir_t*)':

SdFatStructs.h:612: error: redefinition of 'uint8_t DIR_IS_LONG_NAME(const dir_t*)'

 static inline uint8_t DIR_IS_LONG_NAME(const dir_t* dir) {

                       ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:30:0,

                 from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/FatStructs.h:401:23: note: 'uint8_t DIR_IS_LONG_NAME(const dir_t*)' previously defined here

 static inline uint8_t DIR_IS_LONG_NAME(const dir_t* dir) {

                       ^

In file included from sketch\SdVolume.h:30:0,

                 from sketch\SdBaseFile.h:31,

                 from sketch\SdBaseFile.cpp:26:

sketch\SdFatStructs.h: At global scope:

SdFatStructs.h:616: error: redefinition of 'const uint8_t DIR_ATT_FILE_TYPE_MASK'

 uint8_t const DIR_ATT_FILE_TYPE_MASK = (DIR_ATT_VOLUME_ID | DIR_ATT_DIRECTORY);

               ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:30:0,

                 from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/FatStructs.h:405:15: note: 'const uint8_t DIR_ATT_FILE_TYPE_MASK' previously defined here

 uint8_t const DIR_ATT_FILE_TYPE_MASK = (DIR_ATT_VOLUME_ID | DIR_ATT_DIRECTORY);

               ^

In file included from sketch\SdVolume.h:30:0,

                 from sketch\SdBaseFile.h:31,

                 from sketch\SdBaseFile.cpp:26:

sketch\SdFatStructs.h: In function 'uint8_t DIR_IS_FILE(const dir_t*)':

SdFatStructs.h:622: error: redefinition of 'uint8_t DIR_IS_FILE(const dir_t*)'

 static inline uint8_t DIR_IS_FILE(const dir_t* dir) {

                       ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:30:0,

                 from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/FatStructs.h:407:23: note: 'uint8_t DIR_IS_FILE(const dir_t*)' previously defined here

 static inline uint8_t DIR_IS_FILE(const dir_t* dir) {

                       ^

In file included from sketch\SdVolume.h:30:0,

                 from sketch\SdBaseFile.h:31,

                 from sketch\SdBaseFile.cpp:26:

sketch\SdFatStructs.h: In function 'uint8_t DIR_IS_SUBDIR(const dir_t*)':

SdFatStructs.h:630: error: redefinition of 'uint8_t DIR_IS_SUBDIR(const dir_t*)'

 static inline uint8_t DIR_IS_SUBDIR(const dir_t* dir) {

                       ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:30:0,

                 from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/FatStructs.h:411:23: note: 'uint8_t DIR_IS_SUBDIR(const dir_t*)' previously defined here

 static inline uint8_t DIR_IS_SUBDIR(const dir_t* dir) {

                       ^

In file included from sketch\SdVolume.h:30:0,

                 from sketch\SdBaseFile.h:31,

                 from sketch\SdBaseFile.cpp:26:

sketch\SdFatStructs.h: In function 'uint8_t DIR_IS_FILE_OR_SUBDIR(const dir_t*)':

SdFatStructs.h:638: error: redefinition of 'uint8_t DIR_IS_FILE_OR_SUBDIR(const dir_t*)'

 static inline uint8_t DIR_IS_FILE_OR_SUBDIR(const dir_t* dir) {

                       ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:30:0,

                 from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/FatStructs.h:415:23: note: 'uint8_t DIR_IS_FILE_OR_SUBDIR(const dir_t*)' previously defined here

 static inline uint8_t DIR_IS_FILE_OR_SUBDIR(const dir_t* dir) {

                       ^

In file included from sketch\SdBaseFile.h:31:0,

                 from sketch\SdBaseFile.cpp:26:

sketch\SdVolume.h: At global scope:

SdVolume.h:37: error: redefinition of 'union cache_t'

 union cache_t {

       ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:412:7: error: previous definition of 'union cache_t'

 union cache_t {

       ^

In file included from sketch\SdBaseFile.h:31:0,

                 from sketch\SdBaseFile.cpp:26:

SdVolume.h:60: error: redefinition of 'class SdVolume'

 class SdVolume {

       ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:431:7: error: previous definition of 'class SdVolume'

 class SdVolume {

       ^

In file included from sketch\SdBaseFile.cpp:26:0:

SdBaseFile.h:48: error: redefinition of 'const uint8_t O_READ'

 uint8_t const O_READ = 0X01;

               ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:53:15: note: 'const uint8_t O_READ' previously defined here

 uint8_t const O_READ = 0X01;

               ^

In file included from sketch\SdBaseFile.cpp:26:0:

SdBaseFile.h:50: error: redefinition of 'const uint8_t O_RDONLY'

 uint8_t const O_RDONLY = O_READ;

               ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:55:15: note: 'const uint8_t O_RDONLY' previously defined here

 uint8_t const O_RDONLY = O_READ;

               ^

In file included from sketch\SdBaseFile.cpp:26:0:

SdBaseFile.h:52: error: redefinition of 'const uint8_t O_WRITE'

 uint8_t const O_WRITE = 0X02;

               ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:57:15: note: 'const uint8_t O_WRITE' previously defined here

 uint8_t const O_WRITE = 0X02;

               ^

In file included from sketch\SdBaseFile.cpp:26:0:

SdBaseFile.h:54: error: redefinition of 'const uint8_t O_WRONLY'

 uint8_t const O_WRONLY = O_WRITE;

               ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:59:15: note: 'const uint8_t O_WRONLY' previously defined here

 uint8_t const O_WRONLY = O_WRITE;

               ^

In file included from sketch\SdBaseFile.cpp:26:0:

SdBaseFile.h:56: error: redefinition of 'const uint8_t O_RDWR'

 uint8_t const O_RDWR = (O_READ | O_WRITE);

               ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:61:15: note: 'const uint8_t O_RDWR' previously defined here

 uint8_t const O_RDWR = (O_READ | O_WRITE);

               ^

In file included from sketch\SdBaseFile.cpp:26:0:

SdBaseFile.h:58: error: redefinition of 'const uint8_t O_ACCMODE'

 uint8_t const O_ACCMODE = (O_READ | O_WRITE);

               ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:63:15: note: 'const uint8_t O_ACCMODE' previously defined here

 uint8_t const O_ACCMODE = (O_READ | O_WRITE);

               ^

In file included from sketch\SdBaseFile.cpp:26:0:

SdBaseFile.h:60: error: redefinition of 'const uint8_t O_APPEND'

 uint8_t const O_APPEND = 0X04;

               ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:65:15: note: 'const uint8_t O_APPEND' previously defined here

 uint8_t const O_APPEND = 0X04;

               ^

In file included from sketch\SdBaseFile.cpp:26:0:

SdBaseFile.h:62: error: redefinition of 'const uint8_t O_SYNC'

 uint8_t const O_SYNC = 0X08;

               ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:67:15: note: 'const uint8_t O_SYNC' previously defined here

 uint8_t const O_SYNC = 0X08;

               ^

In file included from sketch\SdBaseFile.cpp:26:0:

SdBaseFile.h:64: error: redefinition of 'const uint8_t O_TRUNC'

 uint8_t const O_TRUNC = 0X10;

               ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:73:15: note: 'const uint8_t O_TRUNC' previously defined here

 uint8_t const O_TRUNC = 0X40;

               ^

In file included from sketch\SdBaseFile.cpp:26:0:

SdBaseFile.h:68: error: redefinition of 'const uint8_t O_CREAT'

 uint8_t const O_CREAT = 0X40;

               ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:69:15: note: 'const uint8_t O_CREAT' previously defined here

 uint8_t const O_CREAT = 0X10;

               ^

In file included from sketch\SdBaseFile.cpp:26:0:

SdBaseFile.h:70: error: redefinition of 'const uint8_t O_EXCL'

 uint8_t const O_EXCL = 0X80;

               ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:71:15: note: 'const uint8_t O_EXCL' previously defined here

 uint8_t const O_EXCL = 0X20;

               ^

In file included from sketch\SdBaseFile.cpp:26:0:

SdBaseFile.h:75: error: redefinition of 'const uint8_t LS_DATE'

 uint8_t const LS_DATE = 1;

               ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:45:15: note: 'const uint8_t LS_DATE' previously defined here

 uint8_t const LS_DATE = 1;

               ^

In file included from sketch\SdBaseFile.cpp:26:0:

SdBaseFile.h:77: error: redefinition of 'const uint8_t LS_SIZE'

 uint8_t const LS_SIZE = 2;

               ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:47:15: note: 'const uint8_t LS_SIZE' previously defined here

 uint8_t const LS_SIZE = 2;

               ^

In file included from sketch\SdBaseFile.cpp:26:0:

SdBaseFile.h:79: error: redefinition of 'const uint8_t LS_R'

 uint8_t const LS_R = 4;

               ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:49:15: note: 'const uint8_t LS_R' previously defined here

 uint8_t const LS_R = 4;

               ^

In file included from sketch\SdBaseFile.cpp:26:0:

SdBaseFile.h:84: error: redefinition of 'const uint8_t T_ACCESS'

 uint8_t const T_ACCESS = 1;

               ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:77:15: note: 'const uint8_t T_ACCESS' previously defined here

 uint8_t const T_ACCESS = 1;

               ^

In file included from sketch\SdBaseFile.cpp:26:0:

SdBaseFile.h:86: error: redefinition of 'const uint8_t T_CREATE'

 uint8_t const T_CREATE = 2;

               ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:79:15: note: 'const uint8_t T_CREATE' previously defined here

 uint8_t const T_CREATE = 2;

               ^

In file included from sketch\SdBaseFile.cpp:26:0:

SdBaseFile.h:88: error: redefinition of 'const uint8_t T_WRITE'

 uint8_t const T_WRITE = 4;

               ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:81:15: note: 'const uint8_t T_WRITE' previously defined here

 uint8_t const T_WRITE = 4;

               ^

In file included from sketch\SdBaseFile.cpp:26:0:

SdBaseFile.h:91: error: redefinition of 'const uint8_t FAT_FILE_TYPE_CLOSED'

 uint8_t const FAT_FILE_TYPE_CLOSED = 0;

               ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:84:15: note: 'const uint8_t FAT_FILE_TYPE_CLOSED' previously defined here

 uint8_t const FAT_FILE_TYPE_CLOSED = 0;

               ^

In file included from sketch\SdBaseFile.cpp:26:0:

SdBaseFile.h:93: error: redefinition of 'const uint8_t FAT_FILE_TYPE_NORMAL'

 uint8_t const FAT_FILE_TYPE_NORMAL = 1;

               ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:86:15: note: 'const uint8_t FAT_FILE_TYPE_NORMAL' previously defined here

 uint8_t const FAT_FILE_TYPE_NORMAL = 1;

               ^

In file included from sketch\SdBaseFile.cpp:26:0:

SdBaseFile.h:97: error: redefinition of 'const uint8_t FAT_FILE_TYPE_ROOT32'

 uint8_t const FAT_FILE_TYPE_ROOT32 = 3;

               ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:90:15: note: 'const uint8_t FAT_FILE_TYPE_ROOT32' previously defined here

 uint8_t const FAT_FILE_TYPE_ROOT32 = 3;

               ^

In file included from sketch\SdBaseFile.cpp:26:0:

SdBaseFile.h:99: error: redefinition of 'const uint8_t FAT_FILE_TYPE_SUBDIR'

 uint8_t const FAT_FILE_TYPE_SUBDIR = 4;

               ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:92:15: note: 'const uint8_t FAT_FILE_TYPE_SUBDIR' previously defined here

 uint8_t const FAT_FILE_TYPE_SUBDIR = 4;

               ^

In file included from sketch\SdBaseFile.cpp:26:0:

SdBaseFile.h:101: error: redefinition of 'const uint8_t FAT_FILE_TYPE_MIN_DIR'

 uint8_t const FAT_FILE_TYPE_MIN_DIR = FAT_FILE_TYPE_ROOT_FIXED;

               ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:94:15: note: 'const uint8_t FAT_FILE_TYPE_MIN_DIR' previously defined here

 uint8_t const FAT_FILE_TYPE_MIN_DIR = FAT_FILE_TYPE_ROOT16;

               ^

In file included from sketch\SdBaseFile.cpp:26:0:

sketch\SdBaseFile.h: In function 'uint16_t FAT_DATE(uint16_t, uint8_t, uint8_t)':

SdBaseFile.h:110: error: redefinition of 'uint16_t FAT_DATE(uint16_t, uint8_t, uint8_t)'

 static inline uint16_t FAT_DATE(uint16_t year, uint8_t month, uint8_t day) {

                        ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:97:24: note: 'uint16_t FAT_DATE(uint16_t, uint8_t, uint8_t)' previously defined here

 static inline uint16_t FAT_DATE(uint16_t year, uint8_t month, uint8_t day) {

                        ^

In file included from sketch\SdBaseFile.cpp:26:0:

sketch\SdBaseFile.h: In function 'uint16_t FAT_YEAR(uint16_t)':

SdBaseFile.h:118: error: redefinition of 'uint16_t FAT_YEAR(uint16_t)'

 static inline uint16_t FAT_YEAR(uint16_t fatDate) {

                        ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:101:24: note: 'uint16_t FAT_YEAR(uint16_t)' previously defined here

 static inline uint16_t FAT_YEAR(uint16_t fatDate) {

                        ^

In file included from sketch\SdBaseFile.cpp:26:0:

sketch\SdBaseFile.h: In function 'uint8_t FAT_MONTH(uint16_t)':

SdBaseFile.h:126: error: redefinition of 'uint8_t FAT_MONTH(uint16_t)'

 static inline uint8_t FAT_MONTH(uint16_t fatDate) {

                       ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:105:23: note: 'uint8_t FAT_MONTH(uint16_t)' previously defined here

 static inline uint8_t FAT_MONTH(uint16_t fatDate) {

                       ^

In file included from sketch\SdBaseFile.cpp:26:0:

sketch\SdBaseFile.h: In function 'uint8_t FAT_DAY(uint16_t)':

SdBaseFile.h:134: error: redefinition of 'uint8_t FAT_DAY(uint16_t)'

 static inline uint8_t FAT_DAY(uint16_t fatDate) {

                       ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:109:23: note: 'uint8_t FAT_DAY(uint16_t)' previously defined here

 static inline uint8_t FAT_DAY(uint16_t fatDate) {

                       ^

In file included from sketch\SdBaseFile.cpp:26:0:

sketch\SdBaseFile.h: In function 'uint16_t FAT_TIME(uint8_t, uint8_t, uint8_t)':

SdBaseFile.h:144: error: redefinition of 'uint16_t FAT_TIME(uint8_t, uint8_t, uint8_t)'

 static inline uint16_t FAT_TIME(uint8_t hour, uint8_t minute, uint8_t second) {

                        ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:113:24: note: 'uint16_t FAT_TIME(uint8_t, uint8_t, uint8_t)' previously defined here

 static inline uint16_t FAT_TIME(uint8_t hour, uint8_t minute, uint8_t second) {

                        ^

In file included from sketch\SdBaseFile.cpp:26:0:

sketch\SdBaseFile.h: In function 'uint8_t FAT_HOUR(uint16_t)':

SdBaseFile.h:152: error: redefinition of 'uint8_t FAT_HOUR(uint16_t)'

 static inline uint8_t FAT_HOUR(uint16_t fatTime) {

                       ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:117:23: note: 'uint8_t FAT_HOUR(uint16_t)' previously defined here

 static inline uint8_t FAT_HOUR(uint16_t fatTime) {

                       ^

In file included from sketch\SdBaseFile.cpp:26:0:

sketch\SdBaseFile.h: In function 'uint8_t FAT_MINUTE(uint16_t)':

SdBaseFile.h:160: error: redefinition of 'uint8_t FAT_MINUTE(uint16_t)'

 static inline uint8_t FAT_MINUTE(uint16_t fatTime) {

                       ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:121:23: note: 'uint8_t FAT_MINUTE(uint16_t)' previously defined here

 static inline uint8_t FAT_MINUTE(uint16_t fatTime) {

                       ^

In file included from sketch\SdBaseFile.cpp:26:0:

sketch\SdBaseFile.h: In function 'uint8_t FAT_SECOND(uint16_t)':

SdBaseFile.h:170: error: redefinition of 'uint8_t FAT_SECOND(uint16_t)'

 static inline uint8_t FAT_SECOND(uint16_t fatTime) {

                       ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:125:23: note: 'uint8_t FAT_SECOND(uint16_t)' previously defined here

 static inline uint8_t FAT_SECOND(uint16_t fatTime) {

                       ^

In file included from sketch\SdBaseFile.cpp:26:0:

sketch\SdBaseFile.h: At global scope:

SdBaseFile.h:174: error: redefinition of 'const uint16_t FAT_DEFAULT_DATE'

 uint16_t const FAT_DEFAULT_DATE = ((2000 - 1980) << 9) | (1 << 5) | 1;

                ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:129:16: note: 'const uint16_t FAT_DEFAULT_DATE' previously defined here

 uint16_t const FAT_DEFAULT_DATE = ((2000 - 1980) << 9) | (1 << 5) | 1;

                ^

In file included from sketch\SdBaseFile.cpp:26:0:

SdBaseFile.h:176: error: redefinition of 'const uint16_t FAT_DEFAULT_TIME'

 uint16_t const FAT_DEFAULT_TIME = (1 << 11);

                ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:131:16: note: 'const uint16_t FAT_DEFAULT_TIME' previously defined here

 uint16_t const FAT_DEFAULT_TIME = (1 << 11);

                ^

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h: In member function 'bool SdBaseFile::addCluster()':

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:520:11: error: 'uint8_t SdVolume::allocContiguous(uint32_t, uint32_t*)' is private

   uint8_t allocContiguous(uint32_t count, uint32_t* curCluster);

           ^

SdBaseFile.cpp:35: error: within this context

   if (!vol_->allocContiguous(1, &curCluster_)) goto fail;

                                             ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h: In member function 'bool SdBaseFile::addDirCluster()':

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:527:18: error: 'static uint8_t SdVolume::cacheFlush()' is private

   static uint8_t cacheFlush(void);

                  ^

SdBaseFile.cpp:56: error: within this context

   if (!vol_->cacheFlush()) goto fail;

              ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:527:18: error: 'static uint8_t SdVolume::cacheFlush()' is private

   static uint8_t cacheFlush(void);

                  ^

SdBaseFile.cpp:56: error: within this context

   if (!vol_->cacheFlush()) goto fail;

                         ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:523:12: error: 'uint32_t SdVolume::clusterStartBlock(uint32_t) const' is private

   uint32_t clusterStartBlock(uint32_t cluster) const {

            ^

SdBaseFile.cpp:58: error: within this context

   block = vol_->clusterStartBlock(curCluster_);

                                              ^

SdBaseFile.cpp:61: error: 'class SdVolume' has no member named 'cacheSetBlockNumber'

   vol_->cacheSetBlockNumber(block, true);

         ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:502:18: error: 'cache_t SdVolume::cacheBuffer_' is private

   static cache_t cacheBuffer_;        // 512 byte cache for device blocks

                  ^

SdBaseFile.cpp:64: error: within this context

   memset(vol_->cacheBuffer_.data, 0, 512);

                ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:509:11: error: 'uint8_t SdVolume::blocksPerCluster_' is private

   uint8_t blocksPerCluster_;    // cluster size in blocks

           ^

SdBaseFile.cpp:67: error: within this context

   for (uint8_t i = 1; i < vol_->blocksPerCluster_; i++) {

                                 ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:502:18: error: 'cache_t SdVolume::cacheBuffer_' is private

   static cache_t cacheBuffer_;        // 512 byte cache for device blocks

                  ^

SdBaseFile.cpp:68: error: within this context

     if (!vol_->writeBlock(block + i, vol_->cacheBuffer_.data)) goto fail;

                                            ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:547:11: error: 'uint8_t SdVolume::writeBlock(uint32_t, const uint8_t*)' is private

   uint8_t writeBlock(uint32_t block, const uint8_t* dst) {

           ^

SdBaseFile.cpp:68: error: within this context

     if (!vol_->writeBlock(block + i, vol_->cacheBuffer_.data)) goto fail;

                                                             ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:512:11: error: 'uint8_t SdVolume::clusterSizeShift_' is private

   uint8_t clusterSizeShift_;    // shift to convert cluster count to block count

           ^

SdBaseFile.cpp:71: error: within this context

   fileSize_ += 512UL << vol_->clusterSizeShift_;

                               ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h: In member function 'dir_t* SdBaseFile::cacheDirEntry(uint8_t)':

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:528:18: error: 'static uint8_t SdVolume::cacheRawBlock(uint32_t, uint8_t)' is private

   static uint8_t cacheRawBlock(uint32_t blockNumber, uint8_t action);

                  ^

SdBaseFile.cpp:81: error: within this context

   if (!vol_->cacheRawBlock(dirBlock_, action)) goto fail;

              ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:528:18: error: 'static uint8_t SdVolume::cacheRawBlock(uint32_t, uint8_t)' is private

   static uint8_t cacheRawBlock(uint32_t blockNumber, uint8_t action);

                  ^

SdBaseFile.cpp:81: error: within this context

   if (!vol_->cacheRawBlock(dirBlock_, action)) goto fail;

                                             ^

SdBaseFile.cpp:82: error: 'class SdVolume' has no member named 'cache'

   return vol_->cache()->dir + dirIndex_;

                ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h: In member function 'bool SdBaseFile::contiguousRange(uint32_t*, uint32_t*)':

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:532:11: error: 'uint8_t SdVolume::fatGet(uint32_t, uint32_t*) const' is private

   uint8_t fatGet(uint32_t cluster, uint32_t* value) const;

           ^

SdBaseFile.cpp:117: error: within this context

     if (!vol_->fatGet(c, &next)) goto fail;

                               ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:538:11: error: 'uint8_t SdVolume::isEOC(uint32_t) const' is private

   uint8_t isEOC(uint32_t cluster) const {

           ^

SdBaseFile.cpp:122: error: within this context

       if (!vol_->isEOC(next)) goto fail;

                            ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:523:12: error: 'uint32_t SdVolume::clusterStartBlock(uint32_t) const' is private

   uint32_t clusterStartBlock(uint32_t cluster) const {

            ^

SdBaseFile.cpp:123: error: within this context

       *bgnBlock = vol_->clusterStartBlock(firstCluster_);

                                                        ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:523:12: error: 'uint32_t SdVolume::clusterStartBlock(uint32_t) const' is private

   uint32_t clusterStartBlock(uint32_t cluster) const {

            ^

SdBaseFile.cpp:124: error: within this context

       *endBlock = vol_->clusterStartBlock(c)

                                            ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:509:11: error: 'uint8_t SdVolume::blocksPerCluster_' is private

   uint8_t blocksPerCluster_;    // cluster size in blocks

           ^

SdBaseFile.cpp:125: error: within this context

                   + vol_->blocksPerCluster_ - 1;

                           ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h: In member function 'bool SdBaseFile::createContiguous(SdBaseFile*, const char*, uint32_t)':

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:512:11: error: 'uint8_t SdVolume::clusterSizeShift_' is private

   uint8_t clusterSizeShift_;    // shift to convert cluster count to block count

           ^

SdBaseFile.cpp:159: error: within this context

   count = ((size - 1) >> (vol_->clusterSizeShift_ + 9)) + 1;

                                 ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:520:11: error: 'uint8_t SdVolume::allocContiguous(uint32_t, uint32_t*)' is private

   uint8_t allocContiguous(uint32_t count, uint32_t* curCluster);

           ^

SdBaseFile.cpp:162: error: within this context

   if (!vol_->allocContiguous(count, &firstCluster_)) {

                                                   ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h: In member function 'bool SdBaseFile::dirEntry(dir_t*)':

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:498:24: error: 'const uint8_t SdVolume::CACHE_FOR_READ' is private

   static uint8_t const CACHE_FOR_READ = 0;

                        ^

SdBaseFile.cpp:190: error: within this context

   p = cacheDirEntry(SdVolume::CACHE_FOR_READ);

                               ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h: In member function 'bool SdBaseFile::getFilename(char*)':

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:498:24: error: 'const uint8_t SdVolume::CACHE_FOR_READ' is private

   static uint8_t const CACHE_FOR_READ = 0;

                        ^

SdBaseFile.cpp:291: error: within this context

   dir_t* p = cacheDirEntry(SdVolume::CACHE_FOR_READ);

                                      ^

sketch\SdBaseFile.cpp: In member function 'void SdBaseFile::getpos(fpos_t*)':

SdBaseFile.cpp:300: error: request for member 'position' in '* pos', which is of non-class type 'fpos_t {aka long long int}'

   pos->position = curPosition_;

        ^

SdBaseFile.cpp:301: 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 C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h: In member function 'bool SdBaseFile::mkdir(SdBaseFile*, const uint8_t*)':

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:500:24: error: 'const uint8_t SdVolume::CACHE_FOR_WRITE' is private

   static uint8_t const CACHE_FOR_WRITE = 1;

                        ^

SdBaseFile.cpp:485: error: within this context

   p = cacheDirEntry(SdVolume::CACHE_FOR_WRITE);

                               ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:523:12: error: 'uint32_t SdVolume::clusterStartBlock(uint32_t) const' is private

   uint32_t clusterStartBlock(uint32_t cluster) const {

            ^

SdBaseFile.cpp:497: error: within this context

   block = vol_->clusterStartBlock(firstCluster_);

                                                ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:528:18: error: 'static uint8_t SdVolume::cacheRawBlock(uint32_t, uint8_t)' is private

   static uint8_t cacheRawBlock(uint32_t blockNumber, uint8_t action);

                  ^

SdBaseFile.cpp:498: error: within this context

   if (!vol_->cacheRawBlock(block, SdVolume::CACHE_FOR_WRITE)) goto fail;

              ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:500:24: error: 'const uint8_t SdVolume::CACHE_FOR_WRITE' is private

   static uint8_t const CACHE_FOR_WRITE = 1;

                        ^

SdBaseFile.cpp:498: error: within this context

   if (!vol_->cacheRawBlock(block, SdVolume::CACHE_FOR_WRITE)) goto fail;

                                             ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:528:18: error: 'static uint8_t SdVolume::cacheRawBlock(uint32_t, uint8_t)' is private

   static uint8_t cacheRawBlock(uint32_t blockNumber, uint8_t action);

                  ^

SdBaseFile.cpp:498: error: within this context

   if (!vol_->cacheRawBlock(block, SdVolume::CACHE_FOR_WRITE)) goto fail;

                                                            ^

SdBaseFile.cpp:501: error: 'class SdVolume' has no member named 'cache'

   memcpy(&vol_->cache()->dir[0], &d, sizeof(d));

                 ^

SdBaseFile.cpp:513: error: 'class SdVolume' has no member named 'cache'

   memcpy(&vol_->cache()->dir[1], &d, sizeof(d));

                 ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:527:18: error: 'static uint8_t SdVolume::cacheFlush()' is private

   static uint8_t cacheFlush(void);

                  ^

SdBaseFile.cpp:516: error: within this context

   return vol_->cacheFlush();

                ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:527:18: error: 'static uint8_t SdVolume::cacheFlush()' is private

   static uint8_t cacheFlush(void);

                  ^

SdBaseFile.cpp:516: error: within this context

   return vol_->cacheFlush();

                           ^

sketch\SdBaseFile.cpp: In member function 'bool SdBaseFile::open(SdBaseFile*, const uint8_t*, uint8_t)':

SdBaseFile.cpp:640: error: 'class SdVolume' has no member named 'cacheBlockNumber'

         dirBlock_ = dirFile->vol_->cacheBlockNumber();

                                    ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:500:24: error: 'const uint8_t SdVolume::CACHE_FOR_WRITE' is private

   static uint8_t const CACHE_FOR_WRITE = 1;

                        ^

SdBaseFile.cpp:659: error: within this context

       p = cacheDirEntry(SdVolume::CACHE_FOR_WRITE);

                                   ^

SdBaseFile.cpp:668: error: 'class SdVolume' has no member named 'cache'

       p = dirFile->vol_->cache()->dir;

                          ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:527:18: error: 'static uint8_t SdVolume::cacheFlush()' is private

   static uint8_t cacheFlush(void);

                  ^

SdBaseFile.cpp:689: error: within this context

     if (!dirFile->vol_->cacheFlush()) goto fail;

                         ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:527:18: error: 'static uint8_t SdVolume::cacheFlush()' is private

   static uint8_t cacheFlush(void);

                  ^

SdBaseFile.cpp:689: error: within this context

     if (!dirFile->vol_->cacheFlush()) goto fail;

                                    ^

sketch\SdBaseFile.cpp: In member function 'bool SdBaseFile::openCachedEntry(uint8_t, uint8_t)':

SdBaseFile.cpp:744: error: 'class SdVolume' has no member named 'cache'

   dir_t* p = &vol_->cache()->dir[dirIndex];

                     ^

SdBaseFile.cpp:751: error: 'class SdVolume' has no member named 'cacheBlockNumber'

   dirBlock_ = vol_->cacheBlockNumber();

                     ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:531:11: error: 'uint8_t SdVolume::chainSize(uint32_t, uint32_t*) const' is private

   uint8_t chainSize(uint32_t beginCluster, uint32_t* size) const;

           ^

SdBaseFile.cpp:763: error: within this context

     if (!vol_->chainSize(firstCluster_, &fileSize_)) goto fail;

                                                   ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h: In member function 'bool SdBaseFile::openParent(SdBaseFile*)':

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:523:12: error: 'uint32_t SdVolume::clusterStartBlock(uint32_t) const' is private

   uint32_t clusterStartBlock(uint32_t cluster) const {

            ^

SdBaseFile.cpp:856: error: within this context

   lbn = vol_->clusterStartBlock(cluster);

                                        ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:528:18: error: 'static uint8_t SdVolume::cacheRawBlock(uint32_t, uint8_t)' is private

   static uint8_t cacheRawBlock(uint32_t blockNumber, uint8_t action);

                  ^

SdBaseFile.cpp:858: error: within this context

   if (!vol_->cacheRawBlock(lbn, SdVolume::CACHE_FOR_READ)) {

              ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:498:24: error: 'const uint8_t SdVolume::CACHE_FOR_READ' is private

   static uint8_t const CACHE_FOR_READ = 0;

                        ^

SdBaseFile.cpp:858: error: within this context

   if (!vol_->cacheRawBlock(lbn, SdVolume::CACHE_FOR_READ)) {

                                           ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:528:18: error: 'static uint8_t SdVolume::cacheRawBlock(uint32_t, uint8_t)' is private

   static uint8_t cacheRawBlock(uint32_t blockNumber, uint8_t action);

                  ^

SdBaseFile.cpp:858: error: within this context

   if (!vol_->cacheRawBlock(lbn, SdVolume::CACHE_FOR_READ)) {

                                                         ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:502:18: error: 'cache_t SdVolume::cacheBuffer_' is private

   static cache_t cacheBuffer_;        // 512 byte cache for device blocks

                  ^

SdBaseFile.cpp:861: error: within this context

   p = &vol_->cacheBuffer_.dir[1];

              ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h: In member function 'bool SdBaseFile::openRoot(SdVolume*)':

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:531:11: error: 'uint8_t SdVolume::chainSize(uint32_t, uint32_t*) const' is private

   uint8_t chainSize(uint32_t beginCluster, uint32_t* size) const;

           ^

SdBaseFile.cpp:903: error: within this context

     if (!vol->chainSize(firstCluster_, &fileSize_)) goto fail;

                                                  ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h: In member function 'int16_t SdBaseFile::read(void*, uint16_t)':

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:521:11: error: 'uint8_t SdVolume::blockOfCluster(uint32_t) const' is private

   uint8_t blockOfCluster(uint32_t position) const {

           ^

SdBaseFile.cpp:1066: error: within this context

       uint8_t blockOfCluster = vol_->blockOfCluster(curPosition_);

                                                                 ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:532:11: error: 'uint8_t SdVolume::fatGet(uint32_t, uint32_t*) const' is private

   uint8_t fatGet(uint32_t cluster, uint32_t* value) const;

           ^

SdBaseFile.cpp:1074: error: within this context

           if (!vol_->fatGet(curCluster_, &curCluster_)) goto fail;

                                                      ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:523:12: error: 'uint32_t SdVolume::clusterStartBlock(uint32_t) const' is private

   uint32_t clusterStartBlock(uint32_t cluster) const {

            ^

SdBaseFile.cpp:1077: error: within this context

       block = vol_->clusterStartBlock(curCluster_) + blockOfCluster;

                                                  ^

SdBaseFile.cpp:1085: error: 'class SdVolume' has no member named 'cacheBlockNumber'

     if (n == 512 && block != vol_->cacheBlockNumber()) {

                                    ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:541:11: error: 'uint8_t SdVolume::readBlock(uint32_t, uint8_t*)' is private

   uint8_t readBlock(uint32_t block, uint8_t* dst) {

           ^

SdBaseFile.cpp:1086: error: within this context

       if (!vol_->readBlock(block, dst)) goto fail;

                                      ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:528:18: error: 'static uint8_t SdVolume::cacheRawBlock(uint32_t, uint8_t)' is private

   static uint8_t cacheRawBlock(uint32_t blockNumber, uint8_t action);

                  ^

SdBaseFile.cpp:1089: error: within this context

       if (!vol_->cacheRawBlock(block, SdVolume::CACHE_FOR_READ)) goto fail;

                  ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:498:24: error: 'const uint8_t SdVolume::CACHE_FOR_READ' is private

   static uint8_t const CACHE_FOR_READ = 0;

                        ^

SdBaseFile.cpp:1089: error: within this context

       if (!vol_->cacheRawBlock(block, SdVolume::CACHE_FOR_READ)) goto fail;

                                                 ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:528:18: error: 'static uint8_t SdVolume::cacheRawBlock(uint32_t, uint8_t)' is private

   static uint8_t cacheRawBlock(uint32_t blockNumber, uint8_t action);

                  ^

SdBaseFile.cpp:1089: error: within this context

       if (!vol_->cacheRawBlock(block, SdVolume::CACHE_FOR_READ)) goto fail;

                                                               ^

SdBaseFile.cpp:1090: error: 'class SdVolume' has no member named 'cache'

       uint8_t* src = vol_->cache()->data + offset;

                            ^

sketch\SdBaseFile.cpp: In member function 'dir_t* SdBaseFile::readDirCache()':

SdBaseFile.cpp:1181: error: 'class SdVolume' has no member named 'cache'

   return vol_->cache()->dir + i;

                ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h: In member function 'bool SdBaseFile::remove()':

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:500:24: error: 'const uint8_t SdVolume::CACHE_FOR_WRITE' is private

   static uint8_t const CACHE_FOR_WRITE = 1;

                        ^

SdBaseFile.cpp:1206: error: within this context

   d = cacheDirEntry(SdVolume::CACHE_FOR_WRITE);

                               ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:527:18: error: 'static uint8_t SdVolume::cacheFlush()' is private

   static uint8_t cacheFlush(void);

                  ^

SdBaseFile.cpp:1216: error: within this context

   return vol_->cacheFlush();

                ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:527:18: error: 'static uint8_t SdVolume::cacheFlush()' is private

   static uint8_t cacheFlush(void);

                  ^

SdBaseFile.cpp:1216: error: within this context

   return vol_->cacheFlush();

                           ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h: In member function 'bool SdBaseFile::rename(SdBaseFile*, const char*)':

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:500:24: error: 'const uint8_t SdVolume::CACHE_FOR_WRITE' is private

   static uint8_t const CACHE_FOR_WRITE = 1;

                        ^

SdBaseFile.cpp:1274: error: within this context

   d = cacheDirEntry(SdVolume::CACHE_FOR_WRITE);

                               ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:500:24: error: 'const uint8_t SdVolume::CACHE_FOR_WRITE' is private

   static uint8_t const CACHE_FOR_WRITE = 1;

                        ^

SdBaseFile.cpp:1304: error: within this context

   d = cacheDirEntry(SdVolume::CACHE_FOR_WRITE);

                               ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:523:12: error: 'uint32_t SdVolume::clusterStartBlock(uint32_t) const' is private

   uint32_t clusterStartBlock(uint32_t cluster) const {

            ^

SdBaseFile.cpp:1313: error: within this context

     uint32_t block = vol_->clusterStartBlock(dirCluster);

                                                        ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:528:18: error: 'static uint8_t SdVolume::cacheRawBlock(uint32_t, uint8_t)' is private

   static uint8_t cacheRawBlock(uint32_t blockNumber, uint8_t action);

                  ^

SdBaseFile.cpp:1314: error: within this context

     if (!vol_->cacheRawBlock(block, SdVolume::CACHE_FOR_READ)) goto fail;

                ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:498:24: error: 'const uint8_t SdVolume::CACHE_FOR_READ' is private

   static uint8_t const CACHE_FOR_READ = 0;

                        ^

SdBaseFile.cpp:1314: error: within this context

     if (!vol_->cacheRawBlock(block, SdVolume::CACHE_FOR_READ)) goto fail;

                                               ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:528:18: error: 'static uint8_t SdVolume::cacheRawBlock(uint32_t, uint8_t)' is private

   static uint8_t cacheRawBlock(uint32_t blockNumber, uint8_t action);

                  ^

SdBaseFile.cpp:1314: error: within this context

     if (!vol_->cacheRawBlock(block, SdVolume::CACHE_FOR_READ)) goto fail;

                                                             ^

SdBaseFile.cpp:1315: error: 'class SdVolume' has no member named 'cache'

     memcpy(&entry, &vol_->cache()->dir[1], sizeof(entry));

                           ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:537:11: error: 'uint8_t SdVolume::freeChain(uint32_t)' is private

   uint8_t freeChain(uint32_t cluster);

           ^

SdBaseFile.cpp:1318: error: within this context

     if (!vol_->freeChain(dirCluster)) goto fail;

                                    ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:523:12: error: 'uint32_t SdVolume::clusterStartBlock(uint32_t) const' is private

   uint32_t clusterStartBlock(uint32_t cluster) const {

            ^

SdBaseFile.cpp:1321: error: within this context

     block = vol_->clusterStartBlock(firstCluster_);

                                                  ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:528:18: error: 'static uint8_t SdVolume::cacheRawBlock(uint32_t, uint8_t)' is private

   static uint8_t cacheRawBlock(uint32_t blockNumber, uint8_t action);

                  ^

SdBaseFile.cpp:1322: error: within this context

     if (!vol_->cacheRawBlock(block, SdVolume::CACHE_FOR_WRITE)) goto fail;

                ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:500:24: error: 'const uint8_t SdVolume::CACHE_FOR_WRITE' is private

   static uint8_t const CACHE_FOR_WRITE = 1;

                        ^

SdBaseFile.cpp:1322: error: within this context

     if (!vol_->cacheRawBlock(block, SdVolume::CACHE_FOR_WRITE)) goto fail;

                                               ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:528:18: error: 'static uint8_t SdVolume::cacheRawBlock(uint32_t, uint8_t)' is private

   static uint8_t cacheRawBlock(uint32_t blockNumber, uint8_t action);

                  ^

SdBaseFile.cpp:1322: error: within this context

     if (!vol_->cacheRawBlock(block, SdVolume::CACHE_FOR_WRITE)) goto fail;

                                                              ^

SdBaseFile.cpp:1323: error: 'class SdVolume' has no member named 'cache'

     memcpy(&vol_->cache()->dir[1], &entry, sizeof(entry));

                   ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:527:18: error: 'static uint8_t SdVolume::cacheFlush()' is private

   static uint8_t cacheFlush(void);

                  ^

SdBaseFile.cpp:1325: error: within this context

   return vol_->cacheFlush();

                ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:527:18: error: 'static uint8_t SdVolume::cacheFlush()' is private

   static uint8_t cacheFlush(void);

                  ^

SdBaseFile.cpp:1325: error: within this context

   return vol_->cacheFlush();

                           ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:500:24: error: 'const uint8_t SdVolume::CACHE_FOR_WRITE' is private

   static uint8_t const CACHE_FOR_WRITE = 1;

                        ^

SdBaseFile.cpp:1328: error: within this context

   d = cacheDirEntry(SdVolume::CACHE_FOR_WRITE);

                               ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:527:18: error: 'static uint8_t SdVolume::cacheFlush()' is private

   static uint8_t cacheFlush(void);

                  ^

SdBaseFile.cpp:1332: error: within this context

   vol_->cacheFlush();

         ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:527:18: error: 'static uint8_t SdVolume::cacheFlush()' is private

   static uint8_t cacheFlush(void);

                  ^

SdBaseFile.cpp:1332: error: within this context

   vol_->cacheFlush();

                    ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h: In member function 'bool SdBaseFile::seekSet(uint32_t)':

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:512:11: error: 'uint8_t SdVolume::clusterSizeShift_' is private

   uint8_t clusterSizeShift_;    // shift to convert cluster count to block count

           ^

SdBaseFile.cpp:1475: error: within this context

   nCur = (curPosition_ - 1) >> (vol_->clusterSizeShift_ + 9);

                                       ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:512:11: error: 'uint8_t SdVolume::clusterSizeShift_' is private

   uint8_t clusterSizeShift_;    // shift to convert cluster count to block count

           ^

SdBaseFile.cpp:1476: error: within this context

   nNew = (pos - 1) >> (vol_->clusterSizeShift_ + 9);

                              ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:532:11: error: 'uint8_t SdVolume::fatGet(uint32_t, uint32_t*) const' is private

   uint8_t fatGet(uint32_t cluster, uint32_t* value) const;

           ^

SdBaseFile.cpp:1486: error: within this context

     if (!vol_->fatGet(curCluster_, &curCluster_)) goto fail;

                                                ^

sketch\SdBaseFile.cpp: In member function 'void SdBaseFile::setpos(fpos_t*)':

SdBaseFile.cpp:1498: error: request for member 'position' in '* pos', which is of non-class type 'fpos_t {aka long long int}'

   curPosition_ = pos->position;

                       ^

SdBaseFile.cpp:1499: 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 C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h: In member function 'bool SdBaseFile::sync()':

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:500:24: error: 'const uint8_t SdVolume::CACHE_FOR_WRITE' is private

   static uint8_t const CACHE_FOR_WRITE = 1;

                        ^

SdBaseFile.cpp:1515: error: within this context

     dir_t* d = cacheDirEntry(SdVolume::CACHE_FOR_WRITE);

                                        ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:527:18: error: 'static uint8_t SdVolume::cacheFlush()' is private

   static uint8_t cacheFlush(void);

                  ^

SdBaseFile.cpp:1534: error: within this context

   return vol_->cacheFlush();

                ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:527:18: error: 'static uint8_t SdVolume::cacheFlush()' is private

   static uint8_t cacheFlush(void);

                  ^

SdBaseFile.cpp:1534: error: within this context

   return vol_->cacheFlush();

                           ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h: In member function 'bool SdBaseFile::timestamp(SdBaseFile*)':

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:500:24: error: 'const uint8_t SdVolume::CACHE_FOR_WRITE' is private

   static uint8_t const CACHE_FOR_WRITE = 1;

                        ^

SdBaseFile.cpp:1562: error: within this context

   d = cacheDirEntry(SdVolume::CACHE_FOR_WRITE);

                               ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:527:18: error: 'static uint8_t SdVolume::cacheFlush()' is private

   static uint8_t cacheFlush(void);

                  ^

SdBaseFile.cpp:1574: error: within this context

   return vol_->cacheFlush();

                ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:527:18: error: 'static uint8_t SdVolume::cacheFlush()' is private

   static uint8_t cacheFlush(void);

                  ^

SdBaseFile.cpp:1574: error: within this context

   return vol_->cacheFlush();

                           ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h: In member function 'bool SdBaseFile::timestamp(uint8_t, uint16_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t)':

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:500:24: error: 'const uint8_t SdVolume::CACHE_FOR_WRITE' is private

   static uint8_t const CACHE_FOR_WRITE = 1;

                        ^

SdBaseFile.cpp:1634: error: within this context

   d = cacheDirEntry(SdVolume::CACHE_FOR_WRITE);

                               ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:527:18: error: 'static uint8_t SdVolume::cacheFlush()' is private

   static uint8_t cacheFlush(void);

                  ^

SdBaseFile.cpp:1652: error: within this context

   return vol_->cacheFlush();

                ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:527:18: error: 'static uint8_t SdVolume::cacheFlush()' is private

   static uint8_t cacheFlush(void);

                  ^

SdBaseFile.cpp:1652: error: within this context

   return vol_->cacheFlush();

                           ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h: In member function 'bool SdBaseFile::truncate(uint32_t)':

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:537:11: error: 'uint8_t SdVolume::freeChain(uint32_t)' is private

   uint8_t freeChain(uint32_t cluster);

           ^

SdBaseFile.cpp:1688: error: within this context

     if (!vol_->freeChain(firstCluster_)) goto fail;

                                       ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:532:11: error: 'uint8_t SdVolume::fatGet(uint32_t, uint32_t*) const' is private

   uint8_t fatGet(uint32_t cluster, uint32_t* value) const;

           ^

SdBaseFile.cpp:1692: error: within this context

     if (!vol_->fatGet(curCluster_, &toFree)) goto fail;

                                           ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:538:11: error: 'uint8_t SdVolume::isEOC(uint32_t) const' is private

   uint8_t isEOC(uint32_t cluster) const {

           ^

SdBaseFile.cpp:1694: error: within this context

     if (!vol_->isEOC(toFree)) {

                            ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:537:11: error: 'uint8_t SdVolume::freeChain(uint32_t)' is private

   uint8_t freeChain(uint32_t cluster);

           ^

SdBaseFile.cpp:1696: error: within this context

       if (!vol_->freeChain(toFree)) goto fail;

                                  ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:534:11: error: 'uint8_t SdVolume::fatPutEOC(uint32_t)' is private

   uint8_t fatPutEOC(uint32_t cluster) {

           ^

SdBaseFile.cpp:1699: error: within this context

       if (!vol_->fatPutEOC(curCluster_)) goto fail;

                                       ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h: In member function 'int16_t SdBaseFile::write(const void*, uint16_t)':

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:521:11: error: 'uint8_t SdVolume::blockOfCluster(uint32_t) const' is private

   uint8_t blockOfCluster(uint32_t position) const {

           ^

SdBaseFile.cpp:1747: error: within this context

     uint8_t blockOfCluster = vol_->blockOfCluster(curPosition_);

                                                               ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:532:11: error: 'uint8_t SdVolume::fatGet(uint32_t, uint32_t*) const' is private

   uint8_t fatGet(uint32_t cluster, uint32_t* value) const;

           ^

SdBaseFile.cpp:1760: error: within this context

         if (!vol_->fatGet(curCluster_, &next)) goto fail;

                                             ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:538:11: error: 'uint8_t SdVolume::isEOC(uint32_t) const' is private

   uint8_t isEOC(uint32_t cluster) const {

           ^

SdBaseFile.cpp:1761: error: within this context

         if (vol_->isEOC(next)) {

                             ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:523:12: error: 'uint32_t SdVolume::clusterStartBlock(uint32_t) const' is private

   uint32_t clusterStartBlock(uint32_t cluster) const {

            ^

SdBaseFile.cpp:1776: error: within this context

     uint32_t block = vol_->clusterStartBlock(curCluster_) + blockOfCluster;

                                                         ^

SdBaseFile.cpp:1779: error: 'class SdVolume' has no member named 'cacheBlockNumber'

       if (vol_->cacheBlockNumber() == block) {

                 ^

SdBaseFile.cpp:1781: error: 'class SdVolume' has no member named 'cacheSetBlockNumber'

         vol_->cacheSetBlockNumber(0XFFFFFFFF, false);

               ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:547:11: error: 'uint8_t SdVolume::writeBlock(uint32_t, const uint8_t*)' is private

   uint8_t writeBlock(uint32_t block, const uint8_t* dst) {

           ^

SdBaseFile.cpp:1783: error: within this context

       if (!vol_->writeBlock(block, src)) goto fail;

                                       ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:527:18: error: 'static uint8_t SdVolume::cacheFlush()' is private

   static uint8_t cacheFlush(void);

                  ^

SdBaseFile.cpp:1787: error: within this context

         if (!vol_->cacheFlush()) goto fail;

                    ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:527:18: error: 'static uint8_t SdVolume::cacheFlush()' is private

   static uint8_t cacheFlush(void);

                  ^

SdBaseFile.cpp:1787: error: within this context

         if (!vol_->cacheFlush()) goto fail;

                               ^

SdBaseFile.cpp:1789: error: 'class SdVolume' has no member named 'cacheSetBlockNumber'

         vol_->cacheSetBlockNumber(block, true);

               ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:528:18: error: 'static uint8_t SdVolume::cacheRawBlock(uint32_t, uint8_t)' is private

   static uint8_t cacheRawBlock(uint32_t blockNumber, uint8_t action);

                  ^

SdBaseFile.cpp:1792: error: within this context

         if (!vol_->cacheRawBlock(block, SdVolume::CACHE_FOR_WRITE)) goto fail;

                    ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:500:24: error: 'const uint8_t SdVolume::CACHE_FOR_WRITE' is private

   static uint8_t const CACHE_FOR_WRITE = 1;

                        ^

SdBaseFile.cpp:1792: error: within this context

         if (!vol_->cacheRawBlock(block, SdVolume::CACHE_FOR_WRITE)) goto fail;

                                                   ^

In file included from C:\Program Files (x86)\Arduino\libraries\SD\src/SD.h:20:0,

                 from sketch\SdBaseFile.cpp:1:

C:\Program Files (x86)\Arduino\libraries\SD\src/utility/SdFat.h:528:18: error: 'static uint8_t SdVolume::cacheRawBlock(uint32_t, uint8_t)' is private

   static uint8_t cacheRawBlock(uint32_t blockNumber, uint8_t action);

                  ^

SdBaseFile.cpp:1792: error: within this context

         if (!vol_->cacheRawBlock(block, SdVolume::CACHE_FOR_WRITE)) goto fail;

                                                                  ^

SdBaseFile.cpp:1794: error: 'class SdVolume' has no member named 'cache'

       uint8_t* dst = vol_->cache()->data + blockOffset;

                            ^

exit status 1
redefinition of 'struct partitionTable'

Questo report potrebbe essere pi˘ ricco di informazioni abilitando l'opzione
"Mostra un output dettagliato durante la compilazione"
in "File -> Impostazioni"

  • Like 1
Link al commento
Condividi su altri siti

Ma non hai usato Arduino 1.0.6 . !!! Attualmente non è possibile compilare il Marlin con versioni superiori alla 1.0.6 . Se vuoi io dal Marlin che ha postato qui nel forum posso farti l'hex ma poi per inserirlo nella scheda devi usare avrdude da linea di comando. Non so se Arduino sia in grado di trattare direttamente l'hex

Link al commento
Condividi su altri siti

Partecipa alla conversazione

Puoi pubblicare ora e registrarti più tardi. Se hai un account, accedi ora per pubblicarlo con il tuo account.

Ospite
Rispondi a questa discussione...

×   Hai incollato il contenuto con la formattazione.   Rimuovere la formattazione

  Sono consentiti solo 75 emoticon max.

×   Il tuo collegamento è stato incorporato automaticamente.   Mostra come un collegamento

×   Il tuo contenuto precedente è stato ripristinato.   Pulisci editor

×   Non puoi incollare le immagini direttamente. Carica o inserisci immagini dall'URL.

×
×
  • Crea Nuovo...