Welcome! Log In Create A New Profile

Advanced

Cannot compile with SDSUPPORT

Posted by peter6960 
Cannot compile with SDSUPPORT
January 06, 2013 10:29AM
Take my existing working Repetier, and just by uncommenting #define SDSUPPORT 0, it can not compile and piles up a ton of errors.

Any easier way of getting SD enabled? This is for Gen 7 1.5



SdInfo.h:74:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
SdInfo.h:74:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
SdInfo.h:76:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
SdInfo.h:76:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
SdInfo.h:78:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
SdInfo.h:78:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
SdInfo.h:80:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
SdInfo.h:80:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
SdInfo.h:82:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
SdInfo.h:82:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
SdInfo.h:84:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
SdInfo.h:84:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
In file included from Reptier.h:31:0,
from ui.cpp:23:
Sd2Card.h:29:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
Sd2Card.h:29:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
Sd2Card.h:31:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
Sd2Card.h:31:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
Sd2Card.h:33:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
Sd2Card.h:33:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
Sd2Card.h:60:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
Sd2Card.h:60:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
Sd2Card.h:63:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
Sd2Card.h:63:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
Sd2Card.h:65:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
Sd2Card.h:65:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
Sd2Card.h:67:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
Sd2Card.h:67:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
Sd2Card.h:86:10: error: conflicting declaration 'uint16_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
Sd2Card.h:86:10: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
Sd2Card.h:88:10: error: conflicting declaration 'uint16_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
Sd2Card.h:88:10: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
Sd2Card.h:90:10: error: conflicting declaration 'uint16_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
Sd2Card.h:90:10: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
Sd2Card.h:92:10: error: conflicting declaration 'uint16_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
Sd2Card.h:92:10: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
Sd2Card.h:96:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
Sd2Card.h:96:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
Sd2Card.h:98:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
Sd2Card.h:98:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
Sd2Card.h:100:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
Sd2Card.h:100:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
Sd2Card.h:102:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
Sd2Card.h:102:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
Sd2Card.h:104:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
Sd2Card.h:104:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
Sd2Card.h:106:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
Sd2Card.h:106:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
Sd2Card.h:108:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
Sd2Card.h:108:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
Sd2Card.h:110:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
Sd2Card.h:110:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
Sd2Card.h:112:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
Sd2Card.h:112:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
Sd2Card.h:114:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
Sd2Card.h:114:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
Sd2Card.h:116:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
Sd2Card.h:116:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
Sd2Card.h:118:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
Sd2Card.h:118:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
Sd2Card.h:120:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
Sd2Card.h:120:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
Sd2Card.h:122:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
Sd2Card.h:122:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
Sd2Card.h:124:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
Sd2Card.h:124:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
Sd2Card.h:126:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
Sd2Card.h:126:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
Sd2Card.h:128:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
Sd2Card.h:128:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
Sd2Card.h:130:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
Sd2Card.h:130:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
Sd2Card.h:132:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
Sd2Card.h:132:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
Sd2Card.h:134:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
Sd2Card.h:134:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
Sd2Card.h:136:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
Sd2Card.h:136:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
Sd2Card.h:138:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
Sd2Card.h:138:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
Sd2Card.h:142:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
Sd2Card.h:142:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
Sd2Card.h:144:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
Sd2Card.h:144:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
Sd2Card.h:146:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
Sd2Card.h:146:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
Sd2Card.h:162:25: error: expected ';' at end of member declaration
Sd2Card.h:162:27: error: 'UI_MENU_SD_FILESELECTOR' does not name a type
Sd2Card.h:162:33: error: expected unqualified-id before '{' token
Sd2Card.h:164:25: error: expected ';' at end of member declaration
Sd2Card.h:164:27: error: 'UI_MENU_SD_FILESELECTOR' does not name a type
Sd2Card.h:164:33: error: expected unqualified-id before '{' token
Sd2Card.h:183:32: error: expected ';' at end of member declaration
Sd2Card.h:183:34: error: 'UI_MENU_SD_FILESELECTOR' does not name a type
Sd2Card.h:183:40: error: expected unqualified-id before '{' token
Sd2Card.h:203:20: error: expected ';' at end of member declaration
Sd2Card.h:203:22: error: 'UI_MENU_SD_FILESELECTOR' does not name a type
Sd2Card.h:203:28: error: expected unqualified-id before '{' token
Sd2Card.h:204:44: error: 'UI_MENU_SD_FILESELECTOR' is not a type
Sd2Card.h:204:44: error: expected ')' before '{' token
Sd2Card.h:204:59: error: expected ';' at end of member declaration
Sd2Card.h:204:62: error: expected unqualified-id before ')' token
Sd2Card.h:205:21: error: 'UI_MENU_SD_FILESELECTOR' is not a type
Sd2Card.h:205:21: error: expected ')' before '{' token
Sd2Card.h:205:36: error: expected ';' at end of member declaration
Sd2Card.h:205:36: error: declaration of 'uint8_t* Sd2Card::src'
Sd2Card.h:204:59: error: conflicts with previous declaration 'uint8_t* Sd2Card::src'
Sd2Card.h:205:39: error: expected unqualified-id before ')' token
Sd2Card.h:230:36: error: 'UI_MENU_SD_FILESELECTOR' is not a type
Sd2Card.h:230:36: error: expected ')' before '{' token
Sd2Card.h:230:51: error: expected ';' at end of member declaration
Sd2Card.h:230:51: error: declaration of 'uint8_t* Sd2Card::src'
Sd2Card.h:204:59: error: conflicts with previous declaration 'uint8_t* Sd2Card::src'
Sd2Card.h:230:54: error: expected unqualified-id before ')' token
Sd2Card.h: In member function 'uint8_t Sd2Card::init()':
Sd2Card.h:170:17: error: 'SPI_FULL_SPEED' was not declared in this scope
Sd2Card.h:170:33: error: 'SD_CHIP_SELECT_PIN' was not declared in this scope
Sd2Card.h: In member function 'uint8_t Sd2Card::init(uint8_t)':
Sd2Card.h:178:28: error: 'SD_CHIP_SELECT_PIN' was not declared in this scope
Sd2Card.h: In member function 'uint8_t Sd2Card::readCID(cid_t*)':
Sd2Card.h:192:25: error: 'CMD10' was not declared in this scope
Sd2Card.h: In member function 'uint8_t Sd2Card::readCSD(csd_t*)':
Sd2Card.h:198:25: error: 'CMD9' was not declared in this scope
Sd2Card.h: In member function 'uint8_t Sd2Card::writeBlock(uint32_t, int)':
Sd2Card.h:204:44: error: expected ';' before '}' token
Sd2Card.h:204:44: warning: statement has no effect [-Wunused-value]
Sd2Card.h:204:44: warning: no return statement in function returning non-void [-Wreturn-type]
Sd2Card.h: In member function 'uint8_t Sd2Card::writeData(int)':
Sd2Card.h:205:21: error: expected ';' before '}' token
Sd2Card.h:205:21: warning: statement has no effect [-Wunused-value]
Sd2Card.h:205:21: warning: no return statement in function returning non-void [-Wreturn-type]
Sd2Card.h: In member function 'uint8_t Sd2Card::cardAcmd(uint8_t, uint32_t)':
Sd2Card.h:219:17: error: 'CMD55' was not declared in this scope
Sd2Card.h: In member function 'uint8_t Sd2Card::writeData(uint8_t, int)':
Sd2Card.h:230:36: error: expected ';' before '}' token
Sd2Card.h:230:36: warning: statement has no effect [-Wunused-value]
Sd2Card.h:230:36: warning: no return statement in function returning non-void [-Wreturn-type]
In file included from SdFat.h:35:0,
from Reptier.h:32,
from ui.cpp:23:
FatStructs.h: At global scope:
FatStructs.h:32:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
FatStructs.h:32:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
FatStructs.h:34:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
FatStructs.h:34:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
FatStructs.h:278:10: error: conflicting declaration 'uint16_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
FatStructs.h:278:10: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
FatStructs.h:280:10: error: conflicting declaration 'uint16_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
FatStructs.h:280:10: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
FatStructs.h:282:10: error: conflicting declaration 'uint32_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
FatStructs.h:282:10: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
FatStructs.h:284:10: error: conflicting declaration 'uint32_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
FatStructs.h:284:10: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
FatStructs.h:286:10: error: conflicting declaration 'uint32_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
FatStructs.h:286:10: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
FatStructs.h:376:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
FatStructs.h:376:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
FatStructs.h:378:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
FatStructs.h:378:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
FatStructs.h:380:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
FatStructs.h:380:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
FatStructs.h:382:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
FatStructs.h:382:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
FatStructs.h:384:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
FatStructs.h:384:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
FatStructs.h:386:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
FatStructs.h:386:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
FatStructs.h:388:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
FatStructs.h:388:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
FatStructs.h:390:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
FatStructs.h:390:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
FatStructs.h:392:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
FatStructs.h:392:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
FatStructs.h:395:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
FatStructs.h:395:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
FatStructs.h:397:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
FatStructs.h:397:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
FatStructs.h:399:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
FatStructs.h:399:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
FatStructs.h:401:40: error: 'DIR_IS_LONG_NAME' declared as an 'inline' variable
FatStructs.h:401:40: error: expected ')' before '{' token
FatStructs.h:401:56: error: invalid conversion from 'UIMenuEntry* {aka const*}' to 'uint8_t {aka unsigned char}' [-fpermissive]
FatStructs.h:401:58: error: expected ',' or ';' before '{' token
FatStructs.h:405:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
FatStructs.h:405:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
FatStructs.h:407:35: error: 'DIR_IS_FILE' declared as an 'inline' variable
FatStructs.h:407:35: error: expected ')' before '{' token
FatStructs.h:407:51: error: invalid conversion from 'UIMenuEntry* {aka const*}' to 'uint8_t {aka unsigned char}' [-fpermissive]
FatStructs.h:407:53: error: expected ',' or ';' before '{' token
FatStructs.h:411:37: error: 'DIR_IS_SUBDIR' declared as an 'inline' variable
FatStructs.h:411:37: error: expected ')' before '{' token
FatStructs.h:411:53: error: invalid conversion from 'UIMenuEntry* {aka const*}' to 'uint8_t {aka unsigned char}' [-fpermissive]
FatStructs.h:411:55: error: expected ',' or ';' before '{' token
FatStructs.h:415:45: error: 'DIR_IS_FILE_OR_SUBDIR' declared as an 'inline' variable
FatStructs.h:415:45: error: expected ')' before '{' token
FatStructs.h:415:61: error: invalid conversion from 'UIMenuEntry* {aka const*}' to 'uint8_t {aka unsigned char}' [-fpermissive]
FatStructs.h:415:63: error: expected ',' or ';' before '{' token
In file included from Reptier.h:32:0,
from ui.cpp:23:
SdFat.h:50:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
SdFat.h:50:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
SdFat.h:52:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
SdFat.h:52:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
SdFat.h:54:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
SdFat.h:54:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
SdFat.h:58:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
SdFat.h:58:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
SdFat.h:60:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
SdFat.h:60:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
SdFat.h:62:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
SdFat.h:62:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
SdFat.h:64:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
SdFat.h:64:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
SdFat.h:66:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
SdFat.h:66:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
SdFat.h:68:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
SdFat.h:68:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
SdFat.h:70:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
SdFat.h:70:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
SdFat.h:72:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
SdFat.h:72:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
SdFat.h:74:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
SdFat.h:74:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
SdFat.h:76:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
SdFat.h:76:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
SdFat.h:78:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
SdFat.h:78:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
SdFat.h:82:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
SdFat.h:82:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
SdFat.h:84:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
SdFat.h:84:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
SdFat.h:86:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
SdFat.h:86:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
SdFat.h:89:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
SdFat.h:89:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
SdFat.h:91:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
SdFat.h:91:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
SdFat.h:93:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
SdFat.h:93:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
SdFat.h:95:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
SdFat.h:95:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
SdFat.h:97:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
SdFat.h:97:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
SdFat.h:99:9: error: conflicting declaration 'uint8_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
SdFat.h:99:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
SdFat.h:134:10: error: conflicting declaration 'uint16_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
SdFat.h:134:10: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
SdFat.h:136:10: error: conflicting declaration 'uint16_t UI_MENU_SD_FILESELECTOR'
uiconfig.h:688:1: error: 'UI_MENU_SD_FILESELECTOR' has a previous declaration as 'UIMenuEntry* UI_MENU_SD_FILESELECTOR'
SdFat.h:136:10: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
SdFat.h:162:11: error: 'UI_MENU_SD_FILESELECTOR' is not a type
SdFat.h:162:11: error: expected ')' before '{' token
SdFat.h:162:33: error: expected ';' at end of member declaration
SdFat.h:162:42: error: 'size' does not name a type
SdFat.h:164:3: error: 'uint32_t' does not name a type
SdFat.h:164:35: error: expected unqualified-id before '{' token
SdFat.h:166:3: error: 'uint32_t' does not name a type
SdFat.h:166:36: error: expected unqualified-id before '{' token
SdFat.h:207:3: error: 'uint32_t' does not name a type
SdFat.h:207:33: error: expected unqualified-id before '{' token
SdFat.h:210:24: error: expected ';' at end of member declaration
SdFat.h:210:26: error: 'UI_MENU_SD_FILESELECTOR' does not name a type
SdFat.h:210:32: error: expected unqualified-id before '{' token
SdFat.h:211:23: error: 'UI_MENU_SD_FILESELECTOR' is not a type
SdFat.h:211:23: error: expected ')' before '{' token
SdFat.h:211:41: error: expected unqualified-id before 'char'
SdFat.h:213:3: error: 'uint32_t' does not name a type
SdFat.h:213:33: error: expected unqualified-id before '{' token
SdFat.h:215:3: error: 'uint32_t' does not name a type
SdFat.h:215:37: error: expected unqualified-id before '{' token
SdFat.h:217:21: error: expected ';' at end of member declaration
SdFat.h:217:23: error: 'UI_MENU_SD_FILESELECTOR' does not name a type
SdFat.h:217:29: error: expected unqualified-id before '{' token
SdFat.h:219:22: error: expected ';' at end of member declaration
SdFat.h:219:24: error: 'UI_MENU_SD_FILESELECTOR' does not name a type
SdFat.h:219:30: error: expected unqualified-id before '{' token
SdFat.h:221:22: error: expected ';' at end of member declaration
SdFat.h:221:24: error: 'UI_MENU_SD_FILESELECTOR' does not name a type
SdFat.h:221:30: error: expected unqualified-id before '{' token
SdFat.h:223:24: error: expected ';' at end of member declaration
SdFat.h:223:26: error: 'UI_MENU_SD_FILESELECTOR' does not name a type
SdFat.h:223:32: error: expected unqualified-id before '{' token
SdFat.h:225:22: error: expected ';' at end of member declaration
SdFat.h:225:24: error: 'UI_MENU_SD_FILESELECTOR' does not name a type
SdFat.h:225:30: error: expected unqualified-id before '{' token
SdFat.h:230:32: error: 'UI_MENU_SD_FILESELECTOR' is not a type
SdFat.h:230:32: error: expected ')' before '{' token
SdFat.h:230:44: error: expected ';' at end of member declaration
SdFat.h:230:44: error: declaration of 'char* SdFile::dirName'
SdFat.h:211:15: error: conflicts with previous declaration 'static void SdFile::dirName(int)'
SdFat.h:230:51: error: expected unqualified-id before ')' token
SdFat.h:232:33: error: 'UI_MENU_SD_FILESELECTOR' is not a type
SdFat.h:232:33: error: expected ')' before '{' token
SdFat.h:232:53: error: declaration of 'char* SdFile::fileName'
SdFat.h:162:23: error: conflicts with previous declaration 'char* SdFile::fileName'
SdFat.h:232:55: error: expected ';' at end of member declaration
SdFat.h:232:55: error: declaration of 'char SdFile::uint8_t' [-fpermissive]
/usr/lib/gcc/avr/4.6.2/../../../../avr/include/stdint.h:122:22: error: changes meaning of 'uint8_t' from 'typedef unsigned char uint8_t' [-fpermissive]
SdFat.h:232:63: error: 'oflag' does not name a type
SdFat.h:234:3: error: 'uint8_t' does not name a type
SdFat.h:235:28: error: 'UI_MENU_SD_FILESELECTOR' is not a type
SdFat.h:235:28: error: expected ')' before '{' token
SdFat.h:235:44: error: declaration of 'dir_t& SdFile::dir'
SdFat.h:211:36: error: conflicts with previous declaration 'dir_t& SdFile::dir'
SdFat.h:235:46: error: expected ';' at end of member declaration
SdFat.h:235:46: error: declaration of 'dir_t SdFile::uint8_t' [-fpermissive]
/usr/lib/gcc/avr/4.6.2/../../../../avr/include/stdint.h:122:22: error: changes meaning of 'uint8_t' from 'typedef unsigned char uint8_t' [-fpermissive]
SdFat.h:235:46: error: declaration of 'dir_t SdFile::uint8_t'
SdFat.h:232:55: error: conflicts with previous declaration 'char SdFile::uint8_t'
SdFat.h:235:54: error: 'width' does not name a type
SdFat.h:238:30: error: 'uint8_t' is not a type
SdFat.h:251:10: error: 'uint8_t' does not name a type
SdFat.h:251:54: error: expected ';' at end of member declaration
SdFat.h:251:54: error: declaration of 'char* SdFile::fileName'
SdFat.h:162:23: error: conflicts with previous declaration 'char* SdFile::fileName'
SdFat.h:251:62: error: expected unqualified-id before ')' token
SdFat.h:252:3: error: 'uint8_t' does not name a type
SdFat.h:257:3: error: 'uint8_t' does not name a type
SdFat.h:258:3: error: 'uint8_t' does not name a type
SdFat.h:260:3: error: 'uint8_t' does not name a type
SdFat.h:267:3: error: 'uint8_t' does not name a type
SdFat.h:268:3: error: 'uint8_t' does not name a type
SdFat.h:278:3: error: 'uint8_t' does not name a type
SdFat.h:280:3: error: 'uint8_t' does not name a type
SdFat.h:286:3: error: 'uint8_t' does not name a type
SdFat.h:286:28: error: expected unqualified-id before '{' token
SdFat.h:287:3: error: 'uint8_t' does not name a type
SdFat.h:289:3: error: 'uint8_t' does not name a type
SdFat.h:289:38: error: expected unqualified-id before '{' token
SdFat.h:293:24: error: expected ';' at end of member declaration
SdFat.h:293:26: error: 'UI_MENU_SD_FILESELECTOR' does not name a type
SdFat.h:293:32: error: expected unqualified-id before '{' token
SdFat.h:297:16: error: 'uint8_t' is not a type
SdFat.h:299:17: error: 'UI_MENU_SD_FILESELECTOR' is not a type
SdFat.h:299:17: error: expected ')' before '{' token
SdFat.h:299:11: error: 'int16_t SdFile::write(int)' cannot be overloaded
SdFat.h:297:10: error: with 'size_t SdFile::write(int)'
SdFat.h:299:34: error: variable or field 'uint16_t' declared void
SdFat.h:299:34: error: expected ';' at end of member declaration
SdFat.h:299:43: error: 'nbyte' does not name a type
SdFat.h:300:14: error: 'UI_MENU_SD_FILESELECTOR' is not a type
SdFat.h:300:14: error: expected ')' before '{' token
SdFat.h:300:8: error: 'void SdFile::write(int)' cannot be overloaded
SdFat.h:297:10: error: with 'size_t SdFile::write(int)'
SdFat.h:300:26: error: expected ';' at end of member declaration
SdFat.h:300:29: error: expected unqualified-id before ')' token
SdFat.h:301:16: error: 'UI_MENU_SD_FILESELECTOR' is not a type
SdFat.h:301:16: error: expected ')' before '{' token
SdFat.h:301:22: error: expected ';' at end of member declaration
SdFat.h:301:22: error: declaration of 'prog_char* SdFile::str'
SdFat.h:300:26: error: conflicts with previous declaration 'char* SdFile::str'
SdFat.h:301:25: error: expected unqualified-id before ')' token
SdFat.h:302:18: error: 'UI_MENU_SD_FILESELECTOR' is not a type
SdFat.h:302:18: error: expected ')' before '{' token
SdFat.h:302:24: error: expected ';' at end of member declaration
SdFat.h:302:24: error: declaration of 'prog_char* SdFile::str'
SdFat.h:300:26: error: conflicts with previous declaration 'char* SdFile::str'
SdFat.h:302:27: error: expected unqualified-id before ')' token
SdFat.h:309:3: error: 'uint8_t' does not name a type
SdFat.h:316:3: error: 'uint8_t' does not name a type
SdFat.h:317:25: error: declaration of 'char* SdFile::fileName'
SdFat.h:162:23: error: conflicts with previous declaration 'char* SdFile::fileName'
SdFat.h:317:27: error: expected ';' at end of member declaration
SdFat.h:317:27: error: declaration of 'char SdFile::uint32_t'
SdFat.h:162:33: error: conflicts with previous declaration 'char SdFile::uint32_t'
SdFat.h:317:36: error: 'size' does not name a type
SdFat.h:332:3: error: 'uint8_t' does not name a type
SdFat.h:336:3: error: 'uint8_t' does not name a type
SdFat.h:336:44: error: expected ';' at end of member declaration
SdFat.h:336:44: error: declaration of 'char* SdFile::dirName'
SdFat.h:211:15: error: conflicts with previous declaration 'static void SdFile::dirName(int)'
SdFat.h:336:51: error: expected unqualified-id before ')' token
SdFat.h:342:3: error: 'uint8_t' does not name a type
SdFat.h:343:25: error: declaration of 'char* SdFile::fileName'
SdFat.h:162:23: error: conflicts with previous declaration 'char* SdFile::fileName'
SdFat.h:343:27: error: expected ';' at end of member declaration
SdFat.h:343:27: error: declaration of 'char SdFile::uint8_t' [-fpermissive]
/usr/lib/gcc/avr/4.6.2/../../../../avr/include/stdint.h:122:22: error: changes meaning of 'uint8_t' from 'typedef unsigned char uint8_t' [-fpermissive]
SdFat.h:343:27: error: declaration of 'char SdFile::uint8_t'
SdFat.h:232:55: error: conflicts with previous declaration 'char SdFile::uint8_t'
SdFat.h:343:35: error: 'oflag' does not name a type
SdFat.h:347:3: error: 'uint8_t' does not name a type
SdFat.h:347:45: error: expected ';' at end of member declaration
SdFat.h:347:45: error: declaration of 'char* SdFile::fileName'
SdFat.h:162:23: error: conflicts with previous declaration 'char* SdFile::fileName'
SdFat.h:347:53: error: expected unqualified-id before ')' token
SdFat.h:353:3: error: 'uint8_t' does not name a type
SdFat.h:357:3: error: 'uint8_t' does not name a type
SdFat.h:364:10: error: 'uint8_t' does not name a type
SdFat.h:364:54: error: expected ';' at end of member declaration
SdFat.h:364:54: error: declaration of 'char* SdFile::fileName'
SdFat.h:162:23: error: conflicts with previous declaration 'char* SdFile::fileName'
SdFat.h:364:62: error: expected unqualified-id before ')' token
SdFat.h:382:10: error: 'uint8_t' does not name a type
SdFat.h:382:24: error: 'F_OFLAG' does not name a type
SdFat.h:384:10: error: 'uint8_t' does not name a type
SdFat.h:384:24: error: 'F_UNUSED' does not name a type
SdFat.h:386:10: error: 'uint8_t' does not name a type
SdFat.h:386:24: error: 'F_FILE_UNBUFFERED_READ' does not name a type
SdFat.h:388:10: error: 'uint8_t' does not name a type
SdFat.h:388:24: error: 'F_FILE_DIR_DIRTY' does not name a type
SdFat.h:396:3: error: 'uint8_t' does not name a type
SdFat.h:397:3: error: 'uint8_t' does not name a type
SdFat.h:398:3: error: 'uint32_t' does not name a type
SdFat.h:399:3: error: 'uint32_t' does not name a type
SdFat.h:400:3: error: 'uint32_t' does not name a type
SdFat.h:401:3: error: 'uint8_t' does not name a type
SdFat.h:402:3: error: 'uint32_t' does not name a type
SdFat.h:403:3: error: 'uint32_t' does not name a type
SdFat.h:407:3: error: 'uint8_t' does not name a type
SdFat.h:408:3: error: 'uint8_t' does not name a type
SdFat.h:409:10: error: expected ';' at end of member declaration
SdFat.h:409:32: error: expected ')' before 'action'
SdFat.h:411:10: error: 'uint8_t' does not name a type
SdFat.h:411:44: error: declaration of 'char* SdFile::str'
SdFat.h:300:26: error: conflicts with previous declaration 'char* SdFile::str'
SdFat.h:411:46: error: expected ';' at end of member declaration
SdFat.h:411:46: error: declaration of 'char SdFile::uint8_t' [-fpermissive]
/usr/lib/gcc/avr/4.6.2/../../../../avr/include/stdint.h:122:22: error: changes meaning of 'uint8_t' from 'typedef unsigned char uint8_t' [-fpermissive]
SdFat.h:411:46: error: declaration of 'char SdFile::uint8_t'
SdFat.h:232:55: error: conflicts with previous declaration 'char SdFile::uint8_t'
SdFat.h:411:55: error: ISO C++ forbids declaration of 'name' with no type [-fpermissive]
SdFat.h:411:55: error: expected ';' at end of member declaration
SdFat.h:411:59: error: expected unqualified-id before ')' token
SdFat.h:412:3: error: 'uint8_t' does not name a type
SdFat.h: In constructor 'SdFile:confused smileydFile()':
SdFat.h:145:18: error: class 'SdFile' does not have any field named 'type_'
SdFat.h:145:24: error: 'FAT_FILE_TYPE_CLOSED' was not declared in this scope
SdFat.h:145:3: error: uninitialized reference member 'SdFile::dir' [-fpermissive]
SdFat.h: In member function 'void SdFile::clearUnbufferedRead()':
SdFat.h:157:5: error: 'flags_' was not declared in this scope
SdFat.h:157:16: error: 'F_FILE_UNBUFFERED_READ' was not declared in this scope
SdFat.h: In member function 'uint8_t SdFile::createContiguous(SdFile*, int)':
SdFat.h:162:11: error: expected ';' before '}' token
SdFat.h:162:11: warning: statement has no effect [-Wunused-value]
SdFat.h:162:11: warning: no return statement in function returning non-void [-Wreturn-type]
SdFat.h: In static member function 'static void SdFile::dirName(int)':
SdFat.h:211:23: error: expected ';' before '}' token
SdFat.h:211:23: warning: statement has no effect [-Wunused-value]
SdFat.h: In member function 'uint8_t SdFile::makeDir(SdFile*, int)':
SdFat.h:230:32: error: expected ';' before '}' token
SdFat.h:230:32: warning: statement has no effect [-Wunused-value]
SdFat.h:230:32: warning: no return statement in function returning non-void [-Wreturn-type]
SdFat.h: In member function 'uint8_t SdFileeye popping smileypen(SdFile*, int)':
SdFat.h:232:33: error: expected ';' before '}' token
SdFat.h:232:33: warning: statement has no effect [-Wunused-value]
SdFat.h:232:33: warning: no return statement in function returning non-void [-Wreturn-type]
SdFat.h: In static member function 'static void SdFile::printDirName(int)':
SdFat.h:235:28: error: expected ';' before '}' token
SdFat.h:235:28: warning: statement has no effect [-Wunused-value]
SdFat.h: In member function 'int16_t SdFile::read()':
SdFat.h:246:13: error: expected ';' before 'b'
SdFat.h:246:14: warning: statement has no effect [-Wunused-value]
SdFat.h:247:18: error: 'b' was not declared in this scope
SdFat.h: In member function 'void SdFile::rewind()':
SdFat.h:255:5: error: 'curPosition_' was not declared in this scope
SdFat.h:255:20: error: 'curCluster_' was not declared in this scope
SdFat.h: In member function 'void SdFile::setUnbufferedRead()':
SdFat.h:276:19: error: 'flags_' was not declared in this scope
SdFat.h:276:29: error: 'F_FILE_UNBUFFERED_READ' was not declared in this scope
SdFat.h: In member function 'int16_t SdFile::write(int)':
SdFat.h:299:17: error: expected ';' before '}' token
SdFat.h:299:17: warning: statement has no effect [-Wunused-value]
SdFat.h:299:17: warning: no return statement in function returning non-void [-Wreturn-type]
SdFat.h: In member function 'void SdFile::write(int)':
SdFat.h:300:14: error: expected ';' before '}' token
SdFat.h:300:14: warning: statement has no effect [-Wunused-value]
SdFat.h: In member function 'void SdFile::write_P(int)':
SdFat.h:301:16: error: expected ';' before '}' token
SdFat.h:301:16: warning: statement has no effect [-Wunused-value]
SdFat.h: In member function 'void SdFile::writeln_P(int)':
SdFat.h:302:18: error: expected ';' before '}' token
SdFat.h:302:18: warning: statement has no effect [-Wunused-value]
SdFat.h: At global scope:
SdFat.h:467:32: error: expected ';' at end of member declaration
SdFat.h:467:34: error: 'UI_MENU_SD_FILESELECTOR' does not name a type
SdFat.h:467:40: error: expected unqualified-id before '{' token
SdFat.h:469:29: error: expected ';' at end of member declaration
SdFat.h:469:32: error: 'UI_MENU_SD_FILESELECTOR' does not name a type
SdFat.h:469:38: error: expected unqualified-id before '{' token
SdFat.h:471:29: error: expected ';' at end of member declaration
SdFat.h:471:31: error: 'UI_MENU_SD_FILESELECTOR' does not name a type
SdFat.h:471:37: error: expected unqualified-id before '{' token
SdFat.h:473:32: error: expected ';' at end of member declaration
SdFat.h:473:34: error: 'UI_MENU_SD_FILESELECTOR' does not name a type
SdFat.h:473:40: error: expected unqualified-id before '{' token
SdFat.h:475:31: error: expected ';' at end of member declaration
SdFat.h:475:33: error: 'UI_MENU_SD_FILESELECTOR' does not name a type
SdFat.h:475:39: error: expected unqualified-id before '{' token
SdFat.h:477:24: error: expected ';' at end of member declaration
SdFat.h:477:26: error: 'UI_MENU_SD_FILESELECTOR' does not name a type
SdFat.h:477:32: error: expected unqualified-id before '{' token
SdFat.h:479:30: error: expected ';' at end of member declaration
SdFat.h:479:32: error: 'UI_MENU_SD_FILESELECTOR' does not name a type
SdFat.h:479:38: error: expected unqualified-id before '{' token
SdFat.h:481:23: error: expected ';' at end of member declaration
SdFat.h:481:25: error: 'UI_MENU_SD_FILESELECTOR' does not name a type
SdFat.h:481:31: error: expected unqualified-id before '{' token
SdFat.h:483:34: error: expected ';' at end of member declaration
SdFat.h:483:36: error: 'UI_MENU_SD_FILESELECTOR' does not name a type
SdFat.h:483:42: error: expected unqualified-id before '{' token
SdFat.h:486:29: error: expected ';' at end of member declaration
SdFat.h:486:31: error: 'UI_MENU_SD_FILESELECTOR' does not name a type
SdFat.h:486:37: error: expected unqualified-id before '{' token
SdFat.h:506:18: error: function definition does not declare parameters
SdFat.h:506:24: error: 'CACHE_FOR_READ' does not name a type
SdFat.h:508:18: error: function definition does not declare parameters
SdFat.h:508:24: error: 'CACHE_FOR_WRITE' does not name a type
SdFat.h:529:43: error: expected ';' at end of member declaration
SdFat.h:529:45: error: 'UI_MENU_SD_FILESELECTOR' does not name a type
SdFat.h:529:51: error: expected unqualified-id before '{' token
SdFat.h:531:46: error: expected ';' at end of member declaration
SdFat.h:531:48: error: 'UI_MENU_SD_FILESELECTOR' does not name a type
SdFat.h:531:54: error: expected unqualified-id before '{' token
SdFat.h:533:59: error: expected ';' at end of member declaration
SdFat.h:533:61: error: 'UI_MENU_SD_FILESELECTOR' does not name a type
SdFat.h:533:67: error: expected unqualified-id before '{' token
SdFat.h:539:58: error: expected ';' at end of member declaration
SdFat.h:539:60: error: 'UI_MENU_SD_FILESELECTOR' does not name a type
SdFat.h:540:51: error: expected ';' at end of member declaration
SdFat.h:540:53: error: 'UI_MENU_SD_FILESELECTOR' does not name a type
SdFat.h:546:33: error: expected ';' at end of member declaration
SdFat.h:546:35: error: 'UI_MENU_SD_FILESELECTOR' does not name a type
SdFat.h:546:41: error: expected unqualified-id before '{' token
SdFat.h:555:38: error: 'UI_MENU_SD_FILESELECTOR' is not a type
SdFat.h:555:38: error: expected ')' before '{' token
SdFat.h:555:53: error: expected ';' at end of member declaration
SdFat.h:555:56: error: expected unqualified-id before ')' token
SdFat.h: In static member function 'static void SdVolume::cacheSetDirty()':
SdFat.h:537:51: error: 'CACHE_FOR_WRITE' was not declared in this scope
SdFat.h: In member function 'uint8_t SdVolume::writeBlock(uint32_t, int)':
SdFat.h:555:38: error: expected ';' before '}' token
SdFat.h:555:38: warning: statement has no effect [-Wunused-value]
SdFat.h:555:38: warning: no return statement in function returning non-void [-Wreturn-type]
In file included from ui.cpp:23:0:
Reptier.h: At global scope:
Reptier.h:120:8: error: 'UI_MENU_SD_FILESELECTOR' does not name a type
Reptier.h:120:44: error: variable 'osAnalogInputChannels' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
Reptier.h:120:44: error: storage size of 'osAnalogInputChannels' isn't known
In file included from ui.cpp:23:0:
Reptier.h:462:15: error: cannot declare variable 'root' to be of abstract type 'SdFile'
SdFat.h:142:7: note: because the following virtual functions are pure within 'SdFile':
/home/peter/arduino-1.0/hardware/Gen7/cores/arduino/Print.h:48:20: note: virtual size_t Print::write(uint8_t)
Reptier.h:463:15: error: cannot declare variable 'file' to be of abstract type 'SdFile'
SdFat.h:142:7: note: since type 'SdFile' has pure virtual functions
In file included from Eeprom.h:22:0,
from ui.cpp:30:
/usr/lib/gcc/avr/4.6.2/../../../../avr/include/avr/eeprom.h:515:27: error: expected ')' before '{' token
/usr/lib/gcc/avr/4.6.2/../../../../avr/include/avr/eeprom.h:515:47: error: invalid conversion from 'UIMenuEntry* {aka const*}' to 'uint8_t {aka unsigned char}' [-fpermissive]
/usr/lib/gcc/avr/4.6.2/../../../../avr/include/avr/eeprom.h:520:28: error: expected ')' before '{' token
/usr/lib/gcc/avr/4.6.2/../../../../avr/include/avr/eeprom.h:520:49: error: invalid conversion from 'UIMenuEntry* {aka const*}' to 'uint16_t {aka unsigned int}' [-fpermissive]
/usr/lib/gcc/avr/4.6.2/../../../../avr/include/avr/eeprom.h:525:29: error: expected ')' before '{' token
/usr/lib/gcc/avr/4.6.2/../../../../avr/include/avr/eeprom.h:525:50: error: invalid conversion from 'UIMenuEntry* {aka const*}' to 'uint32_t {aka long unsigned int}' [-fpermissive]
/usr/lib/gcc/avr/4.6.2/../../../../avr/include/avr/eeprom.h:530:26: error: expected ')' before '{' token
/usr/lib/gcc/avr/4.6.2/../../../../avr/include/avr/eeprom.h:530:44: error: cannot convert 'UIMenuEntry* {aka const*}' to 'float' in initialization
/usr/lib/gcc/avr/4.6.2/../../../../avr/include/avr/eeprom.h:536:38: error: 'UI_MENU_SD_FILESELECTOR' is not a type
/usr/lib/gcc/avr/4.6.2/../../../../avr/include/avr/eeprom.h:536:38: error: expected ')' before '{' token
/usr/lib/gcc/avr/4.6.2/../../../../avr/include/avr/eeprom.h: In function 'void __eerd_block_m1284p(void*, int)':
/usr/lib/gcc/avr/4.6.2/../../../../avr/include/avr/eeprom.h:536:38: error: expected ';' before '}' token
/usr/lib/gcc/avr/4.6.2/../../../../avr/include/avr/eeprom.h: At global scope:
/usr/lib/gcc/avr/4.6.2/../../../../avr/include/avr/eeprom.h:536:64: error: expected initializer before '__n'
/usr/lib/gcc/avr/4.6.2/../../../../avr/include/avr/eeprom.h:563:26: error: variable or field '__eewr_block_m1284p' declared void
/usr/lib/gcc/avr/4.6.2/../../../../avr/include/avr/eeprom.h:563:26: error: expected ')' before '{' token
/usr/lib/gcc/avr/4.6.2/../../../../avr/include/avr/eeprom.h:563:45: error: expected primary-expression before 'void'
/usr/lib/gcc/avr/4.6.2/../../../../avr/include/avr/eeprom.h:563:65: error: expected primary-expression before '__n'
/usr/lib/gcc/avr/4.6.2/../../../../avr/include/avr/eeprom.h:590:27: error: variable or field '__eeupd_block_m1284p' declared void
/usr/lib/gcc/avr/4.6.2/../../../../avr/include/avr/eeprom.h:590:27: error: expected ')' before '{' token
/usr/lib/gcc/avr/4.6.2/../../../../avr/include/avr/eeprom.h:590:46: error: expected primary-expression before 'void'
/usr/lib/gcc/avr/4.6.2/../../../../avr/include/avr/eeprom.h:590:66: error: expected primary-expression before '__n'
ui.cpp:36:1: error: 'UI_MENU_SD_FILESELECTOR' does not name a type
ui.cpp:36:32: error: variable 'encoder_table' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
ui.cpp:36:32: error: conflicting declaration 'int8_t encoder_table [16]'
ui.cpp:21:21: error: 'encoder_table' has a previous declaration as 'const int8_t encoder_table [16]'
uiconfig.h:812:1: warning: 'ui_menu_eeprom_saved' defined but not used [-Wunused-variable]
uiconfig.h:813:1: warning: 'ui_menu_eeprom_loaded' defined but not used [-Wunused-variable]
uiconfig.h:827:1: warning: 'ui_menu_main' defined but not used [-Wunused-variable]
FatStructs.h:401:23: warning: 'DIR_IS_LONG_NAME' defined but not used [-Wunused-variable]
FatStructs.h:407:23: warning: 'DIR_IS_FILE' defined but not used [-Wunused-variable]
FatStructs.h:411:23: warning: 'DIR_IS_SUBDIR' defined but not used [-Wunused-variable]
FatStructs.h:415:23: warning: 'DIR_IS_FILE_OR_SUBDIR' defined but not used [-Wunused-variable]
Re: Cannot compile with SDSUPPORT
January 07, 2013 03:19AM
Which firmware version /Arduino version are you using? Best would be to change to development version with Arduino 1.0.3.


Repetier-Software - the home of Repetier-Host (Windows, Linux and Mac OS X) and Repetier-Firmware.
Repetier-Server - the solution to control your printer from everywhere.
Visit us on Facebook and Twitter!
Re: Cannot compile with SDSUPPORT
January 13, 2013 05:27AM
Okay so checked out Development branch from Git
Downloaded Arduino 1.0.3 Linux 64
Latest Gen 7 hardware dir, copied to ./hardware and replaced Arduino.h with the one in the Repetier branch for Gen 7 1.0+


First Compile immediately fails : Nothing changed, just as checked out, except changed Motherboard = 71. I see SDSUPPORT = true by default, so left it like that

                 from ui.cpp:23:
uilang.h:304:1: warning: this is the location of the previous definition
In file included from ui.h:633,
                 from ui.cpp:23:
uilang.h:152:1: warning: "UI_TEXT_ACTION_YPOSITION_FAST4" redefined
In file included from ui.h:193,
                 from ui.cpp:23:
uilang.h:305:1: warning: this is the location of the previous definition
In file included from ui.h:633,
                 from ui.cpp:23:
uilang.h:153:1: warning: "UI_TEXT_ACTION_ZPOSITION_FAST4" redefined
In file included from ui.h:193,
                 from ui.cpp:23:
uilang.h:306:1: warning: this is the location of the previous definition
In file included from ui.h:633,
                 from ui.cpp:23:
uilang.h:154:1: warning: "UI_TEXT_ACTION_EPOSITION_FAST2" redefined
In file included from ui.h:193,
                 from ui.cpp:23:
uilang.h:307:1: warning: this is the location of the previous definition
In file included from ui.h:633,
                 from ui.cpp:23:
uilang.h:161:1: warning: "UI_TEXT_FANSPEED" redefined
In file included from ui.h:193,
                 from ui.cpp:23:
uilang.h:314:1: warning: this is the location of the previous definition
In file included from ui.h:633,
                 from ui.cpp:23:
uilang.h:162:1: warning: "UI_TEXT_FAN_OFF" redefined
In file included from ui.h:193,
                 from ui.cpp:23:
uilang.h:315:1: warning: this is the location of the previous definition
In file included from ui.h:633,
                 from ui.cpp:23:
uilang.h:163:1: warning: "UI_TEXT_FAN_25" redefined
In file included from ui.h:193,
                 from ui.cpp:23:
uilang.h:316:1: warning: this is the location of the previous definition
In file included from ui.h:633,
                 from ui.cpp:23:
uilang.h:164:1: warning: "UI_TEXT_FAN_50" redefined
In file included from ui.h:193,
                 from ui.cpp:23:
uilang.h:317:1: warning: this is the location of the previous definition
In file included from ui.h:633,
                 from ui.cpp:23:
uilang.h:165:1: warning: "UI_TEXT_FAN_75" redefined
In file included from ui.h:193,
                 from ui.cpp:23:
uilang.h:318:1: warning: this is the location of the previous definition
In file included from ui.h:633,
                 from ui.cpp:23:
uilang.h:166:1: warning: "UI_TEXT_FAN_FULL" redefined
In file included from ui.h:193,
                 from ui.cpp:23:
uilang.h:319:1: warning: this is the location of the previous definition
In file included from ui.h:633,
                 from ui.cpp:23:
uilang.h:167:1: warning: "UI_TEXT_STEPPER_INACTIVE" redefined
In file included from ui.h:193,
                 from ui.cpp:23:
uilang.h:320:1: warning: this is the location of the previous definition
In file included from ui.h:633,
                 from ui.cpp:23:
uilang.h:168:1: warning: "UI_TEXT_STEPPER_INACTIVE2" redefined
In file included from ui.h:193,
                 from ui.cpp:23:
uilang.h:321:1: warning: this is the location of the previous definition
In file included from ui.h:633,
                 from ui.cpp:23:
uilang.h:169:1: warning: "UI_TEXT_POWER_INACTIVE" redefined
In file included from ui.h:193,
                 from ui.cpp:23:
uilang.h:322:1: warning: this is the location of the previous definition
In file included from ui.h:633,
                 from ui.cpp:23:
uilang.h:170:1: warning: "UI_TEXT_POWER_INACTIVE2" redefined
In file included from ui.h:193,
                 from ui.cpp:23:
uilang.h:323:1: warning: this is the location of the previous definition
In file included from ui.h:633,
                 from ui.cpp:23:
uilang.h:171:1: warning: "UI_TEXT_GENERAL" redefined
In file included from ui.h:193,
                 from ui.cpp:23:
uilang.h:324:1: warning: this is the location of the previous definition
In file included from ui.h:633,
                 from ui.cpp:23:
uilang.h:173:1: warning: "UI_TEXT_EXTR_STEPS" redefined
In file included from ui.h:193,
                 from ui.cpp:23:
uilang.h:326:1: warning: this is the location of the previous definition
In file included from ui.h:633,
                 from ui.cpp:23:
uilang.h:176:1: warning: "UI_TEXT_EXTR_ACCEL" redefined
In file included from ui.h:193,
                 from ui.cpp:23:
uilang.h:329:1: warning: this is the location of the previous definition
In file included from ui.h:633,
                 from ui.cpp:23:
uilang.h:177:1: warning: "UI_TEXT_EXTR_WATCH" redefined
In file included from ui.h:193,
                 from ui.cpp:23:
uilang.h:330:1: warning: this is the location of the previous definition
In file included from ui.h:633,
                 from ui.cpp:23:
uilang.h:178:1: warning: "UI_TEXT_EXTR_ADVANCE_L" redefined
In file included from ui.h:193,
                 from ui.cpp:23:
uilang.h:331:1: warning: this is the location of the previous definition
In file included from ui.h:633,
                 from ui.cpp:23:
uilang.h:179:1: warning: "UI_TEXT_EXTR_ADVANCE_K" redefined
In file included from ui.h:193,
                 from ui.cpp:23:
uilang.h:332:1: warning: this is the location of the previous definition
In file included from ui.h:633,
                 from ui.cpp:23:
uilang.h:180:1: warning: "UI_TEXT_EXTR_MANAGER" redefined
In file included from ui.h:193,
                 from ui.cpp:23:
uilang.h:333:1: warning: this is the location of the previous definition
In file included from ui.h:633,
                 from ui.cpp:23:
uilang.h:191:1: warning: "UI_TEXT_STRING_ACTION" redefined
In file included from ui.h:193,
                 from ui.cpp:23:
uilang.h:344:1: warning: this is the location of the previous definition
In file included from ui.h:633,
                 from ui.cpp:23:
uilang.h:192:1: warning: "UI_TEXT_HEATING_EXTRUDER" redefined
In file included from ui.h:193,
                 from ui.cpp:23:
uilang.h:345:1: warning: this is the location of the previous definition
In file included from ui.h:633,
                 from ui.cpp:23:
uilang.h:193:1: warning: "UI_TEXT_HEATING_BED" redefined
In file included from ui.h:193,
                 from ui.cpp:23:
uilang.h:346:1: warning: this is the location of the previous definition
In file included from ui.h:633,
                 from ui.cpp:23:
uilang.h:194:1: warning: "UI_TEXT_KILLED" redefined
In file included from ui.h:193,
                 from ui.cpp:23:
uilang.h:347:1: warning: this is the location of the previous definition
In file included from ui.h:633,
                 from ui.cpp:23:
uilang.h:195:1: warning: "UI_TEXT_STEPPER_DISABLED" redefined
In file included from ui.h:193,
                 from ui.cpp:23:
uilang.h:348:1: warning: this is the location of the previous definition
In file included from ui.h:633,
                 from ui.cpp:23:
uilang.h:196:1: warning: "UI_TEXT_EEPROM_STORED" redefined
In file included from ui.h:193,
                 from ui.cpp:23:
uilang.h:349:1: warning: this is the location of the previous definition
In file included from ui.h:633,
                 from ui.cpp:23:
uilang.h:197:1: warning: "UI_TEXT_EEPROM_LOADED" redefined
In file included from ui.h:193,
                 from ui.cpp:23:
uilang.h:350:1: warning: this is the location of the previous definition
In file included from ui.h:633,
                 from ui.cpp:23:
uilang.h:198:1: warning: "UI_TEXT_UPLOADING" redefined
In file included from ui.h:193,
                 from ui.cpp:23:
uilang.h:351:1: warning: this is the location of the previous definition
In file included from ui.h:633,
                 from ui.cpp:23:
uilang.h:199:1: warning: "UI_TEXT_PAGE_BUFFER" redefined
In file included from ui.h:193,
                 from ui.cpp:23:
uilang.h:352:1: warning: this is the location of the previous definition
In file included from ui.h:633,
                 from ui.cpp:23:
uilang.h:204:1: warning: "UI_TEXT_SPEED_MULTIPLY" redefined
In file included from ui.h:193,
                 from ui.cpp:23:
uilang.h:357:1: warning: this is the location of the previous definition
In file included from ui.h:633,
                 from ui.cpp:23:
uilang.h:205:1: warning: "UI_TEXT_FLOW_MULTIPLY" redefined
In file included from ui.h:193,
                 from ui.cpp:23:
uilang.h:358:1: warning: this is the location of the previous definition
In file included from ui.h:633,
                 from ui.cpp:23:
uilang.h:206:1: warning: "UI_TEXT_SHOW_MEASUREMENT" redefined
In file included from ui.h:193,
                 from ui.cpp:23:
uilang.h:361:1: warning: this is the location of the previous definition
In file included from ui.h:633,
                 from ui.cpp:23:
uilang.h:207:1: warning: "UI_TEXT_RESET_MEASUREMENT" redefined
In file included from ui.h:193,
                 from ui.cpp:23:
uilang.h:362:1: warning: this is the location of the previous definition
In file included from ui.h:633,
                 from ui.cpp:23:
uilang.h:208:1: warning: "UI_TEXT_SET_MEASURED_ORIGIN" redefined
In file included from ui.h:193,
                 from ui.cpp:23:
uilang.h:363:1: warning: this is the location of the previous definition
In file included from ui.h:633,
                 from ui.cpp:23:
uilang.h:210:1: warning: "UI_TEXT_SET_P1" redefined
In file included from ui.h:193,
                 from ui.cpp:23:
uilang.h:365:1: warning: this is the location of the previous definition
In file included from ui.h:633,
                 from ui.cpp:23:
uilang.h:211:1: warning: "UI_TEXT_SET_P2" redefined
In file included from ui.h:193,
                 from ui.cpp:23:
uilang.h:366:1: warning: this is the location of the previous definition
In file included from ui.h:633,
                 from ui.cpp:23:
uilang.h:212:1: warning: "UI_TEXT_SET_P3" redefined
In file included from ui.h:193,
                 from ui.cpp:23:
uilang.h:367:1: warning: this is the location of the previous definition
In file included from ui.h:633,
                 from ui.cpp:23:
uilang.h:213:1: warning: "UI_TEXT_CALCULATE_LEVELING" redefined
In file included from ui.h:193,
                 from ui.cpp:23:
uilang.h:368:1: warning: this is the location of the previous definition
In file included from ui.h:633,
                 from ui.cpp:23:
uilang.h:215:1: warning: "UI_TEXT_EXTR_WAIT_RETRACT_TEMP" redefined
In file included from ui.h:193,
                 from ui.cpp:23:
uilang.h:370:1: warning: this is the location of the previous definition
In file included from ui.h:633,
                 from ui.cpp:23:
uilang.h:216:1: warning: "UI_TEXT_EXTR_WAIT_RETRACT_UNITS" redefined
In file included from ui.h:193,
                 from ui.cpp:23:
uilang.h:371:1: warning: this is the location of the previous definition
In file included from ui.h:633,
                 from ui.cpp:23:
uilang.h:217:1: warning: "UI_TEXT_SD_REMOVED" redefined
In file included from ui.h:193,
                 from ui.cpp:23:
uilang.h:372:1: warning: this is the location of the previous definition
In file included from ui.h:633,
                 from ui.cpp:23:
uilang.h:218:1: warning: "UI_TEXT_SD_INSERTED" redefined
In file included from ui.h:193,
                 from ui.cpp:23:
uilang.h:373:1: warning: this is the location of the previous definition
In file included from ui.h:633,
                 from ui.cpp:23:
uilang.h:219:1: warning: "UI_TEXT_PRINTER_READY" redefined
In file included from ui.h:193,
                 from ui.cpp:23:
uilang.h:374:1: warning: this is the location of the previous definition
In file included from ui.h:633,
                 from ui.cpp:23:
uilang.h:225:1: warning: "UI_TEXT_ON" redefined
uilang.h:68:1: warning: this is the location of the previous definition
uilang.h:226:1: warning: "UI_TEXT_OFF" redefined
uilang.h:69:1: warning: this is the location of the previous definition
uilang.h:227:1: warning: "UI_TEXT_NA" redefined
uilang.h:70:1: warning: this is the location of the previous definition
uilang.h:228:1: warning: "UI_TEXT_YES" redefined
uilang.h:71:1: warning: this is the location of the previous definition
uilang.h:229:1: warning: "UI_TEXT_NO" redefined
uilang.h:72:1: warning: this is the location of the previous definition
uilang.h:230:1: warning: "UI_TEXT_PRINT_POS" redefined
uilang.h:75:1: warning: this is the location of the previous definition
uilang.h:231:1: warning: "UI_TEXT_PRINTING" redefined
uilang.h:76:1: warning: this is the location of the previous definition
uilang.h:232:1: warning: "UI_TEXT_IDLE" redefined
uilang.h:77:1: warning: this is the location of the previous definition
uilang.h:233:1: warning: "UI_TEXT_NOSDCARD" redefined
uilang.h:78:1: warning: this is the location of the previous definition
uilang.h:234:1: warning: "UI_TEXT_ERROR" redefined
uilang.h:79:1: warning: this is the location of the previous definition
uilang.h:235:1: warning: "UI_TEXT_BACK" redefined
uilang.h:80:1: warning: this is the location of the previous definition
uilang.h:236:1: warning: "UI_TEXT_QUICK_SETTINGS" redefined
uilang.h:81:1: warning: this is the location of the previous definition
uilang.h:237:1: warning: "UI_TEXT_CONFIGURATION" redefined
uilang.h:82:1: warning: this is the location of the previous definition
uilang.h:240:1: warning: "UI_TEXT_SD_CARD" redefined
uilang.h:85:1: warning: this is the location of the previous definition
uilang.h:242:1: warning: "UI_TEXT_HOME_ALL" redefined
uilang.h:88:1: warning: this is the location of the previous definition
uilang.h:246:1: warning: "UI_TEXT_PREHEAT_PLA" redefined
uilang.h:92:1: warning: this is the location of the previous definition
uilang.h:247:1: warning: "UI_TEXT_PREHEAT_ABS" redefined
uilang.h:93:1: warning: this is the location of the previous definition
uilang.h:248:1: warning: "UI_TEXT_COOLDOWN" redefined
uilang.h:94:1: warning: this is the location of the previous definition
uilang.h:249:1: warning: "UI_TEXT_SET_TO_ORIGIN" redefined
uilang.h:95:1: warning: this is the location of the previous definition
uilang.h:250:1: warning: "UI_TEXT_DISABLE_STEPPER" redefined
uilang.h:96:1: warning: this is the location of the previous definition
uilang.h:252:1: warning: "UI_TEXT_X_POS_FAST" redefined
uilang.h:98:1: warning: this is the location of the previous definition
uilang.h:254:1: warning: "UI_TEXT_Y_POS_FAST" redefined
uilang.h:100:1: warning: this is the location of the previous definition
uilang.h:256:1: warning: "UI_TEXT_Z_POS_FAST" redefined
uilang.h:102:1: warning: this is the location of the previous definition
uilang.h:257:1: warning: "UI_TEXT_E_POSITION" redefined
uilang.h:103:1: warning: this is the location of the previous definition
uilang.h:261:1: warning: "UI_TEXT_EXTR0_OFF" redefined
uilang.h:107:1: warning: this is the location of the previous definition
uilang.h:262:1: warning: "UI_TEXT_EXTR1_OFF" redefined
uilang.h:108:1: warning: this is the location of the previous definition
uilang.h:263:1: warning: "UI_TEXT_EXTR0_SELECT" redefined
uilang.h:109:1: warning: this is the location of the previous definition
uilang.h:264:1: warning: "UI_TEXT_EXTR1_SELECT" redefined
uilang.h:110:1: warning: this is the location of the previous definition
uilang.h:265:1: warning: "UI_TEXT_EXTR_ORIGIN" redefined
uilang.h:111:1: warning: this is the location of the previous definition
uilang.h:266:1: warning: "UI_TEXT_PRINT_X" redefined
uilang.h:112:1: warning: this is the location of the previous definition
uilang.h:267:1: warning: "UI_TEXT_PRINT_Y" redefined
uilang.h:113:1: warning: this is the location of the previous definition
uilang.h:268:1: warning: "UI_TEXT_PRINT_Z" redefined
uilang.h:114:1: warning: this is the location of the previous definition
uilang.h:269:1: warning: "UI_TEXT_MOVE_X" redefined
uilang.h:115:1: warning: this is the location of the previous definition
uilang.h:270:1: warning: "UI_TEXT_MOVE_Y" redefined
uilang.h:116:1: warning: this is the location of the previous definition
uilang.h:271:1: warning: "UI_TEXT_MOVE_Z" redefined
uilang.h:117:1: warning: this is the location of the previous definition
uilang.h:272:1: warning: "UI_TEXT_JERK" redefined
uilang.h:118:1: warning: this is the location of the previous definition
uilang.h:273:1: warning: "UI_TEXT_ZJERK" redefined
uilang.h:119:1: warning: this is the location of the previous definition
uilang.h:274:1: warning: "UI_TEXT_ACCELERATION" redefined
uilang.h:120:1: warning: this is the location of the previous definition
uilang.h:275:1: warning: "UI_TEXT_STORE_TO_EEPROM" redefined
uilang.h:121:1: warning: this is the location of the previous definition
uilang.h:276:1: warning: "UI_TEXT_LOAD_EEPROM" redefined
uilang.h:122:1: warning: this is the location of the previous definition
uilang.h:277:1: warning: "UI_TEXT_DBG_ECHO" redefined
uilang.h:123:1: warning: this is the location of the previous definition
uilang.h:278:1: warning: "UI_TEXT_DBG_INFO" redefined
uilang.h:124:1: warning: this is the location of the previous definition
uilang.h:279:1: warning: "UI_TEXT_DBG_ERROR" redefined
uilang.h:125:1: warning: this is the location of the previous definition
uilang.h:280:1: warning: "UI_TEXT_DBG_DRYRUN" redefined
uilang.h:126:1: warning: this is the location of the previous definition
uilang.h:281:1: warning: "UI_TEXT_OPS_OFF" redefined
uilang.h:127:1: warning: this is the location of the previous definition
uilang.h:282:1: warning: "UI_TEXT_OPS_CLASSIC" redefined
uilang.h:128:1: warning: this is the location of the previous definition
uilang.h:283:1: warning: "UI_TEXT_OPS_FAST" redefined
uilang.h:129:1: warning: this is the location of the previous definition
uilang.h:284:1: warning: "UI_TEXT_OPS_RETRACT" redefined
uilang.h:130:1: warning: this is the location of the previous definition
uilang.h:286:1: warning: "UI_TEXT_OPS_MINDIST" redefined
uilang.h:132:1: warning: this is the location of the previous definition
uilang.h:287:1: warning: "UI_TEXT_OPS_MOVE_AFTER" redefined
uilang.h:133:1: warning: this is the location of the previous definition
uilang.h:289:1: warning: "UI_TEXT_PRINT_FILE" redefined
uilang.h:135:1: warning: this is the location of the previous definition
uilang.h:290:1: warning: "UI_TEXT_PAUSE_PRINT" redefined
uilang.h:136:1: warning: this is the location of the previous definition
uilang.h:291:1: warning: "UI_TEXT_CONTINUE_PRINT" redefined
uilang.h:137:1: warning: this is the location of the previous definition
uilang.h:292:1: warning: "UI_TEXT_UNMOUNT_CARD" redefined
uilang.h:138:1: warning: this is the location of the previous definition
uilang.h:293:1: warning: "UI_TEXT_MOUNT_CARD" redefined
uilang.h:139:1: warning: this is the location of the previous definition
uilang.h:294:1: warning: "UI_TEXT_DELETE_FILE" redefined
uilang.h:140:1: warning: this is the location of the previous definition
uilang.h:301:1: warning: "UI_TEXT_ACTION_XPOSITION4" redefined
uilang.h:148:1: warning: this is the location of the previous definition
uilang.h:302:1: warning: "UI_TEXT_ACTION_YPOSITION4" redefined
uilang.h:149:1: warning: this is the location of the previous definition
uilang.h:303:1: warning: "UI_TEXT_ACTION_ZPOSITION4" redefined
uilang.h:150:1: warning: this is the location of the previous definition
uilang.h:304:1: warning: "UI_TEXT_ACTION_XPOSITION_FAST4" redefined
uilang.h:151:1: warning: this is the location of the previous definition
uilang.h:305:1: warning: "UI_TEXT_ACTION_YPOSITION_FAST4" redefined
uilang.h:152:1: warning: this is the location of the previous definition
uilang.h:306:1: warning: "UI_TEXT_ACTION_ZPOSITION_FAST4" redefined
uilang.h:153:1: warning: this is the location of the previous definition
uilang.h:307:1: warning: "UI_TEXT_ACTION_EPOSITION_FAST2" redefined
uilang.h:154:1: warning: this is the location of the previous definition
uilang.h:314:1: warning: "UI_TEXT_FANSPEED" redefined
uilang.h:161:1: warning: this is the location of the previous definition
uilang.h:315:1: warning: "UI_TEXT_FAN_OFF" redefined
uilang.h:162:1: warning: this is the location of the previous definition
uilang.h:316:1: warning: "UI_TEXT_FAN_25" redefined
uilang.h:163:1: warning: this is the location of the previous definition
uilang.h:317:1: warning: "UI_TEXT_FAN_50" redefined
uilang.h:164:1: warning: this is the location of the previous definition
uilang.h:318:1: warning: "UI_TEXT_FAN_75" redefined
uilang.h:165:1: warning: this is the location of the previous definition
uilang.h:319:1: warning: "UI_TEXT_FAN_FULL" redefined
uilang.h:166:1: warning: this is the location of the previous definition
uilang.h:320:1: warning: "UI_TEXT_STEPPER_INACTIVE" redefined
uilang.h:167:1: warning: this is the location of the previous definition
uilang.h:321:1: warning: "UI_TEXT_STEPPER_INACTIVE2" redefined
uilang.h:168:1: warning: this is the location of the previous definition
uilang.h:322:1: warning: "UI_TEXT_POWER_INACTIVE" redefined
uilang.h:169:1: warning: this is the location of the previous definition
uilang.h:323:1: warning: "UI_TEXT_POWER_INACTIVE2" redefined
uilang.h:170:1: warning: this is the location of the previous definition
uilang.h:324:1: warning: "UI_TEXT_GENERAL" redefined
uilang.h:171:1: warning: this is the location of the previous definition
uilang.h:326:1: warning: "UI_TEXT_EXTR_STEPS" redefined
uilang.h:173:1: warning: this is the location of the previous definition
uilang.h:329:1: warning: "UI_TEXT_EXTR_ACCEL" redefined
uilang.h:176:1: warning: this is the location of the previous definition
uilang.h:330:1: warning: "UI_TEXT_EXTR_WATCH" redefined
uilang.h:177:1: warning: this is the location of the previous definition
uilang.h:331:1: warning: "UI_TEXT_EXTR_ADVANCE_L" redefined
uilang.h:178:1: warning: this is the location of the previous definition
uilang.h:332:1: warning: "UI_TEXT_EXTR_ADVANCE_K" redefined
uilang.h:179:1: warning: this is the location of the previous definition
uilang.h:333:1: warning: "UI_TEXT_EXTR_MANAGER" redefined
uilang.h:180:1: warning: this is the location of the previous definition
uilang.h:344:1: warning: "UI_TEXT_STRING_ACTION" redefined
uilang.h:191:1: warning: this is the location of the previous definition
uilang.h:345:1: warning: "UI_TEXT_HEATING_EXTRUDER" redefined
uilang.h:192:1: warning: this is the location of the previous definition
uilang.h:346:1: warning: "UI_TEXT_HEATING_BED" redefined
uilang.h:193:1: warning: this is the location of the previous definition
uilang.h:347:1: warning: "UI_TEXT_KILLED" redefined
uilang.h:194:1: warning: this is the location of the previous definition
uilang.h:348:1: warning: "UI_TEXT_STEPPER_DISABLED" redefined
uilang.h:195:1: warning: this is the location of the previous definition
uilang.h:349:1: warning: "UI_TEXT_EEPROM_STORED" redefined
uilang.h:196:1: warning: this is the location of the previous definition
uilang.h:350:1: warning: "UI_TEXT_EEPROM_LOADED" redefined
uilang.h:197:1: warning: this is the location of the previous definition
uilang.h:351:1: warning: "UI_TEXT_UPLOADING" redefined
uilang.h:198:1: warning: this is the location of the previous definition
uilang.h:352:1: warning: "UI_TEXT_PAGE_BUFFER" redefined
uilang.h:199:1: warning: this is the location of the previous definition
uilang.h:357:1: warning: "UI_TEXT_SPEED_MULTIPLY" redefined
uilang.h:204:1: warning: this is the location of the previous definition
uilang.h:358:1: warning: "UI_TEXT_FLOW_MULTIPLY" redefined
uilang.h:205:1: warning: this is the location of the previous definition
uilang.h:361:1: warning: "UI_TEXT_SHOW_MEASUREMENT" redefined
uilang.h:206:1: warning: this is the location of the previous definition
uilang.h:362:1: warning: "UI_TEXT_RESET_MEASUREMENT" redefined
uilang.h:207:1: warning: this is the location of the previous definition
uilang.h:363:1: warning: "UI_TEXT_SET_MEASURED_ORIGIN" redefined
uilang.h:208:1: warning: this is the location of the previous definition
uilang.h:365:1: warning: "UI_TEXT_SET_P1" redefined
uilang.h:210:1: warning: this is the location of the previous definition
uilang.h:366:1: warning: "UI_TEXT_SET_P2" redefined
uilang.h:211:1: warning: this is the location of the previous definition
uilang.h:367:1: warning: "UI_TEXT_SET_P3" redefined
uilang.h:212:1: warning: this is the location of the previous definition
uilang.h:368:1: warning: "UI_TEXT_CALCULATE_LEVELING" redefined
uilang.h:213:1: warning: this is the location of the previous definition
uilang.h:370:1: warning: "UI_TEXT_EXTR_WAIT_RETRACT_TEMP" redefined
uilang.h:215:1: warning: this is the location of the previous definition
uilang.h:371:1: warning: "UI_TEXT_EXTR_WAIT_RETRACT_UNITS" redefined
uilang.h:216:1: warning: this is the location of the previous definition
uilang.h:372:1: warning: "UI_TEXT_SD_REMOVED" redefined
uilang.h:217:1: warning: this is the location of the previous definition
uilang.h:373:1: warning: "UI_TEXT_SD_INSERTED" redefined
uilang.h:218:1: warning: this is the location of the previous definition
uilang.h:374:1: warning: "UI_TEXT_PRINTER_READY" redefined
uilang.h:219:1: warning: this is the location of the previous definition
In file included from ui.h:634,
                 from ui.cpp:23:
uimenu.h:407:1: warning: "UI_MENU_ADV_CNT" redefined
uimenu.h:404:1: warning: this is the location of the previous definition
uimenu.h:408:1: warning: "UI_MENU_ADVANCE" redefined
uimenu.h:405:1: warning: this is the location of the previous definition
In file included from Reptier.h:227,
                 from ui.cpp:20:
gcode.h:39: error: ‘byte’ does not name a type
gcode.h:110: error: conflicting return type specified for ‘virtual void RFHardwareSerial::write(uint8_t)’
/home/peter/1Jan2013/arduino-1.0.3/hardware/Gen7/cores/arduino/Print.h:48: error:   overriding ‘virtual size_t Print::write(uint8_t)’
gcode.h:129: error: conflicting return type specified for ‘virtual void SerialOutput::write(uint8_t)’
/home/peter/1Jan2013/arduino-1.0.3/hardware/Gen7/cores/arduino/Print.h:48: error:   overriding ‘virtual size_t Print::write(uint8_t)’
gcode.h:168: error: ‘byte’ does not name a type
gcode.h:169: error: ‘byte’ has not been declared
gcode.h:192: error: ‘byte’ does not name a type
In file included from ui.cpp:20:
Reptier.h:292: error: ‘byte’ does not name a type
Reptier.h:293: error: ‘byte’ does not name a type
Reptier.h:294: error: ‘byte’ does not name a type
Reptier.h:303: error: ‘byte’ does not name a type
Reptier.h:304: error: ‘byte’ does not name a type
Reptier.h:308: error: ‘byte’ does not name a type
Reptier.h:311: error: ‘byte’ does not name a type
Reptier.h:321: error: ‘byte’ does not name a type
Reptier.h:325: error: ‘byte’ does not name a type
Reptier.h:328: error: ‘byte’ does not name a type
Reptier.h:353: error: ‘byte’ does not name a type
Reptier.h:368: warning: ‘extruder_select’ initialized and declared ‘extern’
Reptier.h:368: error: variable or field ‘extruder_select’ declared void
Reptier.h:368: error: ‘byte’ was not declared in this scope
Reptier.h:372: error: ‘byte’ has not been declared
Reptier.h:376: warning: ‘extruder_set_direction’ initialized and declared ‘extern’
Reptier.h:376: error: variable or field ‘extruder_set_direction’ declared void
Reptier.h:376: error: ‘byte’ was not declared in this scope
Reptier.h: In function ‘void extruder_step()’:
Reptier.h:392: error: ‘HIGH’ was not declared in this scope
Reptier.h: In function ‘void extruder_unstep()’:
Reptier.h:434: error: ‘LOW’ was not declared in this scope
Reptier.h: At global scope:
Reptier.h:471: error: variable or field ‘extruder_set_direction’ declared void
Reptier.h:471: error: ‘byte’ was not declared in this scope

Re: Cannot compile with SDSUPPORT
January 13, 2013 05:42AM
If I put back the original Arduino.h:

New errors

Looks like UI - checked uiconfig.h and beeper, display all set to 0

uilang.h:287:1: warning: "UI_TEXT_OPS_MOVE_AFTER" redefined
uilang.h:133:1: warning: this is the location of the previous definition
uilang.h:289:1: warning: "UI_TEXT_PRINT_FILE" redefined
uilang.h:135:1: warning: this is the location of the previous definition
uilang.h:290:1: warning: "UI_TEXT_PAUSE_PRINT" redefined
uilang.h:136:1: warning: this is the location of the previous definition
uilang.h:291:1: warning: "UI_TEXT_CONTINUE_PRINT" redefined
uilang.h:137:1: warning: this is the location of the previous definition
uilang.h:292:1: warning: "UI_TEXT_UNMOUNT_CARD" redefined
uilang.h:138:1: warning: this is the location of the previous definition
uilang.h:293:1: warning: "UI_TEXT_MOUNT_CARD" redefined
uilang.h:139:1: warning: this is the location of the previous definition
uilang.h:294:1: warning: "UI_TEXT_DELETE_FILE" redefined
uilang.h:140:1: warning: this is the location of the previous definition
uilang.h:301:1: warning: "UI_TEXT_ACTION_XPOSITION4" redefined
uilang.h:148:1: warning: this is the location of the previous definition
uilang.h:302:1: warning: "UI_TEXT_ACTION_YPOSITION4" redefined
uilang.h:149:1: warning: this is the location of the previous definition
uilang.h:303:1: warning: "UI_TEXT_ACTION_ZPOSITION4" redefined
uilang.h:150:1: warning: this is the location of the previous definition
uilang.h:304:1: warning: "UI_TEXT_ACTION_XPOSITION_FAST4" redefined
uilang.h:151:1: warning: this is the location of the previous definition
uilang.h:305:1: warning: "UI_TEXT_ACTION_YPOSITION_FAST4" redefined
uilang.h:152:1: warning: this is the location of the previous definition
uilang.h:306:1: warning: "UI_TEXT_ACTION_ZPOSITION_FAST4" redefined
uilang.h:153:1: warning: this is the location of the previous definition
uilang.h:307:1: warning: "UI_TEXT_ACTION_EPOSITION_FAST2" redefined
uilang.h:154:1: warning: this is the location of the previous definition
uilang.h:314:1: warning: "UI_TEXT_FANSPEED" redefined
uilang.h:161:1: warning: this is the location of the previous definition
uilang.h:315:1: warning: "UI_TEXT_FAN_OFF" redefined
uilang.h:162:1: warning: this is the location of the previous definition
uilang.h:316:1: warning: "UI_TEXT_FAN_25" redefined
uilang.h:163:1: warning: this is the location of the previous definition
uilang.h:317:1: warning: "UI_TEXT_FAN_50" redefined
uilang.h:164:1: warning: this is the location of the previous definition
uilang.h:318:1: warning: "UI_TEXT_FAN_75" redefined
uilang.h:165:1: warning: this is the location of the previous definition
uilang.h:319:1: warning: "UI_TEXT_FAN_FULL" redefined
uilang.h:166:1: warning: this is the location of the previous definition
uilang.h:320:1: warning: "UI_TEXT_STEPPER_INACTIVE" redefined
uilang.h:167:1: warning: this is the location of the previous definition
uilang.h:321:1: warning: "UI_TEXT_STEPPER_INACTIVE2" redefined
uilang.h:168:1: warning: this is the location of the previous definition
uilang.h:322:1: warning: "UI_TEXT_POWER_INACTIVE" redefined
uilang.h:169:1: warning: this is the location of the previous definition
uilang.h:323:1: warning: "UI_TEXT_POWER_INACTIVE2" redefined
uilang.h:170:1: warning: this is the location of the previous definition
uilang.h:324:1: warning: "UI_TEXT_GENERAL" redefined
uilang.h:171:1: warning: this is the location of the previous definition
uilang.h:326:1: warning: "UI_TEXT_EXTR_STEPS" redefined
uilang.h:173:1: warning: this is the location of the previous definition
uilang.h:329:1: warning: "UI_TEXT_EXTR_ACCEL" redefined
uilang.h:176:1: warning: this is the location of the previous definition
uilang.h:330:1: warning: "UI_TEXT_EXTR_WATCH" redefined
uilang.h:177:1: warning: this is the location of the previous definition
uilang.h:331:1: warning: "UI_TEXT_EXTR_ADVANCE_L" redefined
uilang.h:178:1: warning: this is the location of the previous definition
uilang.h:332:1: warning: "UI_TEXT_EXTR_ADVANCE_K" redefined
uilang.h:179:1: warning: this is the location of the previous definition
uilang.h:333:1: warning: "UI_TEXT_EXTR_MANAGER" redefined
uilang.h:180:1: warning: this is the location of the previous definition
uilang.h:344:1: warning: "UI_TEXT_STRING_ACTION" redefined
uilang.h:191:1: warning: this is the location of the previous definition
uilang.h:345:1: warning: "UI_TEXT_HEATING_EXTRUDER" redefined
uilang.h:192:1: warning: this is the location of the previous definition
uilang.h:346:1: warning: "UI_TEXT_HEATING_BED" redefined
uilang.h:193:1: warning: this is the location of the previous definition
uilang.h:347:1: warning: "UI_TEXT_KILLED" redefined
uilang.h:194:1: warning: this is the location of the previous definition
uilang.h:348:1: warning: "UI_TEXT_STEPPER_DISABLED" redefined
uilang.h:195:1: warning: this is the location of the previous definition
uilang.h:349:1: warning: "UI_TEXT_EEPROM_STORED" redefined
uilang.h:196:1: warning: this is the location of the previous definition
uilang.h:350:1: warning: "UI_TEXT_EEPROM_LOADED" redefined
uilang.h:197:1: warning: this is the location of the previous definition
uilang.h:351:1: warning: "UI_TEXT_UPLOADING" redefined
uilang.h:198:1: warning: this is the location of the previous definition
uilang.h:352:1: warning: "UI_TEXT_PAGE_BUFFER" redefined
uilang.h:199:1: warning: this is the location of the previous definition
uilang.h:357:1: warning: "UI_TEXT_SPEED_MULTIPLY" redefined
uilang.h:204:1: warning: this is the location of the previous definition
uilang.h:358:1: warning: "UI_TEXT_FLOW_MULTIPLY" redefined
uilang.h:205:1: warning: this is the location of the previous definition
uilang.h:361:1: warning: "UI_TEXT_SHOW_MEASUREMENT" redefined
uilang.h:206:1: warning: this is the location of the previous definition
uilang.h:362:1: warning: "UI_TEXT_RESET_MEASUREMENT" redefined
uilang.h:207:1: warning: this is the location of the previous definition
uilang.h:363:1: warning: "UI_TEXT_SET_MEASURED_ORIGIN" redefined
uilang.h:208:1: warning: this is the location of the previous definition
uilang.h:365:1: warning: "UI_TEXT_SET_P1" redefined
uilang.h:210:1: warning: this is the location of the previous definition
uilang.h:366:1: warning: "UI_TEXT_SET_P2" redefined
uilang.h:211:1: warning: this is the location of the previous definition
uilang.h:367:1: warning: "UI_TEXT_SET_P3" redefined
uilang.h:212:1: warning: this is the location of the previous definition
uilang.h:368:1: warning: "UI_TEXT_CALCULATE_LEVELING" redefined
uilang.h:213:1: warning: this is the location of the previous definition
uilang.h:370:1: warning: "UI_TEXT_EXTR_WAIT_RETRACT_TEMP" redefined
uilang.h:215:1: warning: this is the location of the previous definition
uilang.h:371:1: warning: "UI_TEXT_EXTR_WAIT_RETRACT_UNITS" redefined
uilang.h:216:1: warning: this is the location of the previous definition
uilang.h:372:1: warning: "UI_TEXT_SD_REMOVED" redefined
uilang.h:217:1: warning: this is the location of the previous definition
uilang.h:373:1: warning: "UI_TEXT_SD_INSERTED" redefined
uilang.h:218:1: warning: this is the location of the previous definition
uilang.h:374:1: warning: "UI_TEXT_PRINTER_READY" redefined
uilang.h:219:1: warning: this is the location of the previous definition
In file included from ui.h:634,
from ui.cpp:23:
uimenu.h:407:1: warning: "UI_MENU_ADV_CNT" redefined
uimenu.h:404:1: warning: this is the location of the previous definition
uimenu.h:408:1: warning: "UI_MENU_ADVANCE" redefined
uimenu.h:405:1: warning: this is the location of the previous definition
In file included from /home/peter/1Jan2013/arduino-1.0.3/hardware/Gen7/cores/arduino/Arduino.h:220,
from Reptier.h:222,
from ui.cpp:20:
/home/peter/1Jan2013/arduino-1.0.3/hardware/Gen7/cores/arduino/pins_arduino.h:42: error: conflicting declaration ‘const uint8_t port_to_mode_PGM []’
/home/peter/1Jan2013/arduino-1.0.3/hardware/Gen7/cores/arduino/Arduino.h:134: error: ‘port_to_mode_PGM’ has a previous declaration as ‘const uint16_t port_to_mode_PGM []’
/home/peter/1Jan2013/arduino-1.0.3/hardware/Gen7/cores/arduino/pins_arduino.h:43: error: conflicting declaration ‘const uint8_t port_to_input_PGM []’
/home/peter/1Jan2013/arduino-1.0.3/hardware/Gen7/cores/arduino/Arduino.h:135: error: ‘port_to_input_PGM’ has a previous declaration as ‘const uint16_t port_to_input_PGM []’
/home/peter/1Jan2013/arduino-1.0.3/hardware/Gen7/cores/arduino/pins_arduino.h:44: error: conflicting declaration ‘const uint8_t port_to_output_PGM []’
/home/peter/1Jan2013/arduino-1.0.3/hardware/Gen7/cores/arduino/Arduino.h:136: error: ‘port_to_output_PGM’ has a previous declaration as ‘const uint16_t port_to_output_PGM []’
In file included from ui.cpp:23:
ui.h: In function ‘void ui_init_keys()’:
ui.h:507: error: ‘DIO33_DDR’ was not declared in this scope
ui.h:507: error: ‘DIO33_PIN’ was not declared in this scope
ui.h:507: error: ‘DIO33_WPORT’ was not declared in this scope
ui.h:507: error: ‘DIO33_PIN’ was not declared in this scope
ui.h:507: error: ‘DIO33_WPORT’ was not declared in this scope
ui.h:507: error: ‘DIO33_PIN’ was not declared in this scope
ui.h:508: error: ‘DIO35_DDR’ was not declared in this scope
ui.h:508: error: ‘DIO35_PIN’ was not declared in this scope
ui.h:508: error: ‘DIO35_WPORT’ was not declared in this scope
ui.h:508: error: ‘DIO35_PIN’ was not declared in this scope
ui.h:508: error: ‘DIO35_WPORT’ was not declared in this scope
ui.h:508: error: ‘DIO35_PIN’ was not declared in this scope
ui.h:509: error: ‘DIO41_DDR’ was not declared in this scope
ui.h:509: error: ‘DIO41_PIN’ was not declared in this scope
ui.h:509: error: ‘DIO41_WPORT’ was not declared in this scope
ui.h:509: error: ‘DIO41_PIN’ was not declared in this scope
ui.h:509: error: ‘DIO41_WPORT’ was not declared in this scope
ui.h:509: error: ‘DIO41_PIN’ was not declared in this scope
ui.h: In function ‘void ui_check_keys(int&)’:
ui.h:512: error: ‘DIO33_RPORT’ was not declared in this scope
ui.h:512: error: ‘DIO33_PIN’ was not declared in this scope
ui.h:513: error: ‘DIO35_RPORT’ was not declared in this scope
ui.h:513: error: ‘DIO35_PIN’ was not declared in this scope
ui.h:514: error: ‘DIO41_RPORT’ was not declared in this scope
ui.h:514: error: ‘DIO41_PIN’ was not declared in this scope
In file included from ui.h:634,
from ui.cpp:23:
uimenu.h: At global scope:
uimenu.h:132: warning: only initialized variables can be placed into program memory area
uimenu.h:132: warning: only initialized variables can be placed into program memory area
uimenu.h:132: warning: only initialized variables can be placed into program memory area
uimenu.h:132: warning: only initialized variables can be placed into program memory area
uimenu.h:132: warning: only initialized variables can be placed into program memory area
uimenu.h:132: warning: only initialized variables can be placed into program memory area
uimenu.h:132: warning: only initialized variables can be placed into program memory area
uimenu.h:132: warning: only initialized variables can be placed into program memory area
uimenu.h:132: warning: only initialized variables can be placed into program memory area
uimenu.h:132: warning: only initialized variables can be placed into program memory area
uimenu.h:137: warning: only initialized variables can be placed into program memory area
uimenu.h:137: warning: only initialized variables can be placed into program memory area
uimenu.h:137: warning: only initialized variables can be placed into program memory area
uimenu.h:137: warning: only initialized variables can be placed into program memory area
uimenu.h:137: warning: only initialized variables can be placed into program memory area
uimenu.h:137: warning: only initialized variables can be placed into program memory area
uimenu.h:137: warning: only initialized variables can be placed into program memory area
uimenu.h:137: warning: only initialized variables can be placed into program memory area
uimenu.h:137: warning: only initialized variables can be placed into program memory area
uimenu.h:137: warning: only initialized variables can be placed into program memory area
uimenu.h:139: warning: only initialized variables can be placed into program memory area
uimenu.h:139: warning: only initialized variables can be placed into program memory area
uimenu.h:139: warning: only initialized variables can be placed into program memory area
uimenu.h:139: warning: only initialized variables can be placed into program memory area
uimenu.h:139: warning: only initialized variables can be placed into program memory area
uimenu.h:139: warning: only initialized variables can be placed into program memory area
uimenu.h:139: warning: only initialized variables can be placed into program memory area
uimenu.h:139: warning: only initialized variables can be placed into program memory area
uimenu.h:139: warning: only initialized variables can be placed into program memory area
uimenu.h:139: warning: only initialized variables can be placed into program memory area
uimenu.h:186: warning: only initialized variables can be placed into program memory area
uimenu.h:186: warning: only initialized variables can be placed into program memory area
uimenu.h:186: warning: only initialized variables can be placed into program memory area
uimenu.h:186: warning: only initialized variables can be placed into program memory area
uimenu.h:186: warning: only initialized variables can be placed into program memory area
uimenu.h:186: warning: only initialized variables can be placed into program memory area
uimenu.h:191: warning: only initialized variables can be placed into program memory area
uimenu.h:191: warning: only initialized variables can be placed into program memory area
uimenu.h:191: warning: only initialized variables can be placed into program memory area
uimenu.h:191: warning: only initialized variables can be placed into program memory area
uimenu.h:191: warning: only initialized variables can be placed into program memory area
uimenu.h:191: warning: only initialized variables can be placed into program memory area
uimenu.h:191: warning: only initialized variables can be placed into program memory area
uimenu.h:191: warning: only initialized variables can be placed into program memory area
uimenu.h:191: warning: only initialized variables can be placed into program memory area
uimenu.h:191: warning: only initialized variables can be placed into program memory area
uimenu.h:192: warning: only initialized variables can be placed into program memory area
uimenu.h:192: warning: only initialized variables can be placed into program memory area
uimenu.h:192: warning: only initialized variables can be placed into program memory area
uimenu.h:192: warning: only initialized variables can be placed into program memory area
uimenu.h:192: warning: only initialized variables can be placed into program memory area
uimenu.h:192: warning: only initialized variables can be placed into program memory area
uimenu.h:192: warning: only initialized variables can be placed into program memory area
uimenu.h:192: warning: only initialized variables can be placed into program memory area
uimenu.h:192: warning: only initialized variables can be placed into program memory area
uimenu.h:192: warning: only initialized variables can be placed into program memory area
uimenu.h:193: warning: only initialized variables can be placed into program memory area
uimenu.h:193: warning: only initialized variables can be placed into program memory area
uimenu.h:193: warning: only initialized variables can be placed into program memory area
uimenu.h:193: warning: only initialized variables can be placed into program memory area
uimenu.h:193: warning: only initialized variables can be placed into program memory area
uimenu.h:193: warning: only initialized variables can be placed into program memory area
uimenu.h:193: warning: only initialized variables can be placed into program memory area
uimenu.h:193: warning: only initialized variables can be placed into program memory area
uimenu.h:193: warning: only initialized variables can be placed into program memory area
uimenu.h:193: warning: only initialized variables can be placed into program memory area
uimenu.h:194: warning: only initialized variables can be placed into program memory area
uimenu.h:194: warning: only initialized variables can be placed into program memory area
uimenu.h:194: warning: only initialized variables can be placed into program memory area
uimenu.h:194: warning: only initialized variables can be placed into program memory area
uimenu.h:194: warning: only initialized variables can be placed into program memory area
uimenu.h:194: warning: only initialized variables can be placed into program memory area
uimenu.h:194: warning: only initialized variables can be placed into program memory area
uimenu.h:194: warning: only initialized variables can be placed into program memory area
uimenu.h:194: warning: only initialized variables can be placed into program memory area
uimenu.h:194: warning: only initialized variables can be placed into program memory area
uimenu.h:195: warning: only initialized variables can be placed into program memory area
uimenu.h:195: warning: only initialized variables can be placed into program memory area
uimenu.h:195: warning: only initialized variables can be placed into program memory area
uimenu.h:195: warning: only initialized variables can be placed into program memory area
uimenu.h:195: warning: only initialized variables can be placed into program memory area
uimenu.h:195: warning: only initialized variables can be placed into program memory area
uimenu.h:195: warning: only initialized variables can be placed into program memory area
uimenu.h:195: warning: only initialized variables can be placed into program memory area
uimenu.h:195: warning: only initialized variables can be placed into program memory area
uimenu.h:195: warning: only initialized variables can be placed into program memory area
uimenu.h:196: warning: only initialized variables can be placed into program memory area
uimenu.h:196: warning: only initialized variables can be placed into program memory area
uimenu.h:196: warning: only initialized variables can be placed into program memory area
uimenu.h:196: warning: only initialized variables can be placed into program memory area
uimenu.h:196: warning: only initialized variables can be placed into program memory area
uimenu.h:196: warning: only initialized variables can be placed into program memory area
uimenu.h:196: warning: only initialized variables can be placed into program memory area
uimenu.h:196: warning: only initialized variables can be placed into program memory area
uimenu.h:196: warning: only initialized variables can be placed into program memory area
uimenu.h:196: warning: only initialized variables can be placed into program memory area
uimenu.h:205: warning: only initialized variables can be placed into program memory area
uimenu.h:205: warning: only initialized variables can be placed into program memory area
uimenu.h:205: warning: only initialized variables can be placed into program memory area
uimenu.h:205: warning: only initialized variables can be placed into program memory area
uimenu.h:205: warning: only initialized variables can be placed into program memory area
uimenu.h:205: warning: only initialized variables can be placed into program memory area
uimenu.h:212: warning: only initialized variables can be placed into program memory area
uimenu.h:212: warning: only initialized variables can be placed into program memory area
uimenu.h:220: warning: only initialized variables can be placed into program memory area
uimenu.h:220: warning: only initialized variables can be placed into program memory area
uimenu.h:221: warning: only initialized variables can be placed into program memory area
uimenu.h:221: warning: only initialized variables can be placed into program memory area
uimenu.h:222: warning: only initialized variables can be placed into program memory area
uimenu.h:222: warning: only initialized variables can be placed into program memory area
uimenu.h:223: warning: only initialized variables can be placed into program memory area
uimenu.h:223: warning: only initialized variables can be placed into program memory area
uimenu.h:224: warning: only initialized variables can be placed into program memory area
uimenu.h:224: warning: only initialized variables can be placed into program memory area
uimenu.h:225: warning: only initialized variables can be placed into program memory area
uimenu.h:225: warning: only initialized variables can be placed into program memory area
uimenu.h:226: warning: only initialized variables can be placed into program memory area
uimenu.h:226: warning: only initialized variables can be placed into program memory area
uimenu.h:227: warning: only initialized variables can be placed into program memory area
uimenu.h:227: warning: only initialized variables can be placed into program memory area
uimenu.h:228: warning: only initialized variables can be placed into program memory area
uimenu.h:228: warning: only initialized variables can be placed into program memory area
uimenu.h:229: warning: only initialized variables can be placed into program memory area
uimenu.h:229: warning: only initialized variables can be placed into program memory area
uimenu.h:230: warning: only initialized variables can be placed into program memory area
uimenu.h:230: warning: only initialized variables can be placed into program memory area
uimenu.h:233: warning: only initialized variables can be placed into program memory area
uimenu.h:233: warning: only initialized variables can be placed into program memory area
uimenu.h:256: warning: only initialized variables can be placed into program memory area
uimenu.h:256: warning: only initialized variables can be placed into program memory area
uimenu.h:257: warning: only initialized variables can be placed into program memory area
uimenu.h:257: warning: only initialized variables can be placed into program memory area
uimenu.h:258: warning: only initialized variables can be placed into program memory area
uimenu.h:258: warning: only initialized variables can be placed into program memory area
uimenu.h:259: warning: only initialized variables can be placed into program memory area
uimenu.h:259: warning: only initialized variables can be placed into program memory area
uimenu.h:260: warning: only initialized variables can be placed into program memory area
uimenu.h:260: warning: only initialized variables can be placed into program memory area
uimenu.h:261: warning: only initialized variables can be placed into program memory area
uimenu.h:261: warning: only initialized variables can be placed into program memory area
uimenu.h:262: warning: only initialized variables can be placed into program memory area
uimenu.h:262: warning: only initialized variables can be placed into program memory area
uimenu.h:263: warning: only initialized variables can be placed into program memory area
uimenu.h:263: warning: only initialized variables can be placed into program memory area
uimenu.h:281: warning: only initialized variables can be placed into program memory area
uimenu.h:281: warning: only initialized variables can be placed into program memory area
uimenu.h:286: warning: only initialized variables can be placed into program memory area
uimenu.h:286: warning: only initialized variables can be placed into program memory area
uimenu.h:287: warning: only initialized variables can be placed into program memory area
uimenu.h:287: warning: only initialized variables can be placed into program memory area
uimenu.h:288: warning: only initialized variables can be placed into program memory area
uimenu.h:288: warning: only initialized variables can be placed into program memory area
uimenu.h:289: warning: only initialized variables can be placed into program memory area
uimenu.h:289: warning: only initialized variables can be placed into program memory area
uimenu.h:290: warning: only initialized variables can be placed into program memory area
uimenu.h:290: warning: only initialized variables can be placed into program memory area
uimenu.h:291: warning: only initialized variables can be placed into program memory area
uimenu.h:291: warning: only initialized variables can be placed into program memory area
uimenu.h:292: warning: only initialized variables can be placed into program memory area
uimenu.h:292: warning: only initialized variables can be placed into program memory area
uimenu.h:294: warning: only initialized variables can be placed into program memory area
uimenu.h:294: warning: only initialized variables can be placed into program memory area
uimenu.h:318: warning: non-local variable ‘const UIMenuEntry* ui_menu_sd_fileselector_entries []’ uses anonymous type
ui.h:203: warning: ‘typedef const struct UIMenuEntry’ does not refer to the unqualified type, so it is not used for linkage
uimenu.h:318: warning: only initialized variables can be placed into program memory area
uimenu.h:318: warning: only initialized variables can be placed into program memory area
uimenu.h:319: warning: only initialized variables can be placed into program memory area
uimenu.h:319: warning: only initialized variables can be placed into program memory area
uimenu.h:320: warning: only initialized variables can be placed into program memory area
uimenu.h:320: warning: only initialized variables can be placed into program memory area
uimenu.h:321: warning: only initialized variables can be placed into program memory area
uimenu.h:321: warning: only initialized variables can be placed into program memory area
uimenu.h:322: warning: only initialized variables can be placed into program memory area
uimenu.h:322: warning: only initialized variables can be placed into program memory area
uimenu.h:323: warning: only initialized variables can be placed into program memory area
uimenu.h:323: warning: only initialized variables can be placed into program memory area
uimenu.h:324: warning: only initialized variables can be placed into program memory area
uimenu.h:324: warning: only initialized variables can be placed into program memory area
uimenu.h:326: warning: only initialized variables can be placed into program memory area
uimenu.h:326: warning: only initialized variables can be placed into program memory area
uimenu.h:327: warning: only initialized variables can be placed into program memory area
uimenu.h:327: warning: only initialized variables can be placed into program memory area
uimenu.h:338: warning: only initialized variables can be placed into program memory area
uimenu.h:338: warning: only initialized variables can be placed into program memory area
uimenu.h:339: warning: only initialized variables can be placed into program memory area
uimenu.h:339: warning: only initialized variables can be placed into program memory area
uimenu.h:340: warning: only initialized variables can be placed into program memory area
uimenu.h:340: warning: only initialized variables can be placed into program memory area
uimenu.h:341: warning: only initialized variables can be placed into program memory area
uimenu.h:341: warning: only initialized variables can be placed into program memory area
uimenu.h:344: warning: only initialized variables can be placed into program memory area
uimenu.h:344: warning: only initialized variables can be placed into program memory area
uimenu.h:348: warning: only initialized variables can be placed into program memory area
uimenu.h:348: warning: only initialized variables can be placed into program memory area
uimenu.h:349: warning: only initialized variables can be placed into program memory area
uimenu.h:349: warning: only initialized variables can be placed into program memory area
uimenu.h:350: warning: only initialized variables can be placed into program memory area
uimenu.h:350: warning: only initialized variables can be placed into program memory area
uimenu.h:351: warning: only initialized variables can be placed into program memory area
uimenu.h:351: warning: only initialized variables can be placed into program memory area
uimenu.h:352: warning: only initialized variables can be placed into program memory area
uimenu.h:352: warning: only initialized variables can be placed into program memory area
uimenu.h:353: warning: only initialized variables can be placed into program memory area
uimenu.h:353: warning: only initialized variables can be placed into program memory area
uimenu.h:354: warning: only initialized variables can be placed into program memory area
uimenu.h:354: warning: only initialized variables can be placed into program memory area
uimenu.h:356: warning: only initialized variables can be placed into program memory area
uimenu.h:356: warning: only initialized variables can be placed into program memory area
uimenu.h:357: warning: only initialized variables can be placed into program memory area
uimenu.h:357: warning: only initialized variables can be placed into program memory area
uimenu.h:364: warning: only initialized variables can be placed into program memory area
uimenu.h:364: warning: only initialized variables can be placed into program memory area
uimenu.h:365: warning: only initialized variables can be placed into program memory area
uimenu.h:365: warning: only initialized variables can be placed into program memory area
uimenu.h:366: warning: only initialized variables can be placed into program memory area
uimenu.h:366: warning: only initialized variables can be placed into program memory area
uimenu.h:367: warning: only initialized variables can be placed into program memory area
uimenu.h:367: warning: only initialized variables can be placed into program memory area
uimenu.h:368: warning: only initialized variables can be placed into program memory area
uimenu.h:368: warning: only initialized variables can be placed into program memory area
uimenu.h:369: warning: only initialized variables can be placed into program memory area
uimenu.h:369: warning: only initialized variables can be placed into program memory area
uimenu.h:370: warning: only initialized variables can be placed into program memory area
uimenu.h:370: warning: only initialized variables can be placed into program memory area
uimenu.h:371: warning: only initialized variables can be placed into program memory area
uimenu.h:371: warning: only initialized variables can be placed into program memory area
uimenu.h:373: warning: only initialized variables can be placed into program memory area
uimenu.h:373: warning: only initialized variables can be placed into program memory area
uimenu.h:376: warning: only initialized variables can be placed into program memory area
uimenu.h:376: warning: only initialized variables can be placed into program memory area
uimenu.h:377: warning: only initialized variables can be placed into program memory area
uimenu.h:377: warning: only initialized variables can be placed into program memory area
uimenu.h:378: warning: only initialized variables can be placed into program memory area
uimenu.h:378: warning: only initialized variables can be placed into program memory area
uimenu.h:379: warning: only initialized variables can be placed into program memory area
uimenu.h:379: warning: only initialized variables can be placed into program memory area
uimenu.h:380: warning: only initialized variables can be placed into program memory area
uimenu.h:380: warning: only initialized variables can be placed into program memory area
uimenu.h:381: warning: only initialized variables can be placed into program memory area
uimenu.h:381: warning: only initialized variables can be placed into program memory area
uimenu.h:383: warning: only initialized variables can be placed into program memory area
uimenu.h:383: warning: only initialized variables can be placed into program memory area
uimenu.h:387: warning: only initialized variables can be placed into program memory area
uimenu.h:387: warning: only initialized variables can be placed into program memory area
uimenu.h:387: warning: only initialized variables can be placed into program memory area
uimenu.h:387: warning: only initialized variables can be placed into program memory area
uimenu.h:387: warning: only initialized variables can be placed into program memory area
uimenu.h:387: warning: only initialized variables can be placed into program memory area
uimenu.h:388: warning: only initialized variables can be placed into program memory area
uimenu.h:388: warning: only initialized variables can be placed into program memory area
uimenu.h:388: warning: only initialized variables can be placed into program memory area
uimenu.h:388: warning: only initialized variables can be placed into program memory area
uimenu.h:388: warning: only initialized variables can be placed into program memory area
uimenu.h:388: warning: only initialized variables can be placed into program memory area
uimenu.h:389: warning: only initialized variables can be placed into program memory area
uimenu.h:389: warning: only initialized variables can be placed into program memory area
uimenu.h:390: warning: only initialized variables can be placed into program memory area
uimenu.h:390: warning: only initialized variables can be placed into program memory area
uimenu.h:391: warning: only initialized variables can be placed into program memory area
uimenu.h:391: warning: only initialized variables can be placed into program memory area
uimenu.h:393: warning: only initialized variables can be placed into program memory area
uimenu.h:393: warning: only initialized variables can be placed into program memory area
uimenu.h:397: warning: only initialized variables can be placed into program memory area
uimenu.h:397: warning: only initialized variables can be placed into program memory area
uimenu.h:398: warning: only initialized variables can be placed into program memory area
uimenu.h:398: warning: only initialized variables can be placed into program memory area
uimenu.h:399: warning: only initialized variables can be placed into program memory area
uimenu.h:399: warning: only initialized variables can be placed into program memory area
uimenu.h:400: warning: only initialized variables can be placed into program memory area
uimenu.h:400: warning: only initialized variables can be placed into program memory area
uimenu.h:401: warning: only initialized variables can be placed into program memory area
uimenu.h:401: warning: only initialized variables can be placed into program memory area
uimenu.h:402: warning: only initialized variables can be placed into program memory area
uimenu.h:402: warning: only initialized variables can be placed into program memory area
uimenu.h:403: warning: only initialized variables can be placed into program memory area
uimenu.h:403: warning: only initialized variables can be placed into program memory area
uimenu.h:414: warning: only initialized variables can be placed into program memory area
uimenu.h:414: warning: only initialized variables can be placed into program memory area
uimenu.h:417: warning: only initialized variables can be placed into program memory area
uimenu.h:417: warning: only initialized variables can be placed into program memory area
uimenu.h:418: warning: only initialized variables can be placed into program memory area
uimenu.h:418: warning: only initialized variables can be placed into program memory area
uimenu.h:419: warning: only initialized variables can be placed into program memory area
uimenu.h:419: warning: only initialized variables can be placed into program memory area
uimenu.h:420: warning: only initialized variables can be placed into program memory area
uimenu.h:420: warning: only initialized variables can be placed into program memory area
uimenu.h:421: warning: only initialized variables can be placed into program memory area
uimenu.h:421: warning: only initialized variables can be placed into program memory area
uimenu.h:422: warning: only initialized variables can be placed into program memory area
uimenu.h:422: warning: only initialized variables can be placed into program memory area
uimenu.h:423: warning: only initialized variables can be placed into program memory area
uimenu.h:423: warning: only initialized variables can be placed into program memory area
uimenu.h:440: warning: only initialized variables can be placed into program memory area
uimenu.h:440: warning: only initialized variables can be placed into program memory area
uimenu.h:443: warning: only initialized variables can be placed into program memory area
uimenu.h:443: warning: only initialized variables can be placed into program memory area
uimenu.h:444: warning: only initialized variables can be placed into program memory area
uimenu.h:444: warning: only initialized variables can be placed into program memory area
uimenu.h:445: warning: only initialized variables can be placed into program memory area
uimenu.h:445: warning: only initialized variables can be placed into program memory area
uimenu.h:446: warning: only initialized variables can be placed into program memory area
uimenu.h:446: warning: only initialized variables can be placed into program memory area
uimenu.h:448: warning: only initialized variables can be placed into program memory area
uimenu.h:448: warning: only initialized variables can be placed into program memory area
uimenu.h:449: warning: only initialized variables can be placed into program memory area
uimenu.h:449: warning: only initialized variables can be placed into program memory area
uimenu.h:452: warning: only initialized variables can be placed into program memory area
uimenu.h:452: warning: only initialized variables can be placed into program memory area
uimenu.h:452: warning: only initialized variables can be placed into program memory area
uimenu.h:452: warning: only initialized variables can be placed into program memory area
uimenu.h:452: warning: only initialized variables can be placed into program memory area
uimenu.h:452: warning: only initialized variables can be placed into program memory area
uimenu.h:453: warning: only initialized variables can be placed into program memory area
uimenu.h:453: warning: only initialized variables can be placed into program memory area
uimenu.h:453: warning: only initialized variables can be placed into program memory area
uimenu.h:453: warning: only initialized variables can be placed into program memory area
uimenu.h:453: warning: only initialized variables can be placed into program memory area
uimenu.h:453: warning: only initialized variables can be placed into program memory area
uimenu.h:475: warning: only initialized variables can be placed into program memory area
uimenu.h:475: warning: only initialized variables can be placed into program memory area
uimenu.h:477: warning: only initialized variables can be placed into program memory area
uimenu.h:477: warning: only initialized variables can be placed into program memory area
uimenu.h:478: warning: only initialized variables can be placed into program memory area
uimenu.h:478: warning: only initialized variables can be placed into program memory area
uimenu.h:479: warning: only initialized variables can be placed into program memory area
uimenu.h:479: warning: only initialized variables can be placed into program memory area
uimenu.h:480: warning: only initialized variables can be placed into program memory area
uimenu.h:480: warning: only initialized variables can be placed into program memory area
uimenu.h:481: warning: only initialized variables can be placed into program memory area
uimenu.h:481: warning: only initialized variables can be placed into program memory area
uimenu.h:483: warning: only initialized variables can be placed into program memory area
uimenu.h:483: warning: only initialized variables can be placed into program memory area
ui.cpp:36: warning: only initialized variables can be placed into program memory area
ui.cpp: In function ‘void beep(byte, byte)’:
ui.cpp:59: error: ‘DIO37_DDR’ was not declared in this scope
ui.cpp:59: error: ‘DIO37_PIN’ was not declared in this scope
ui.cpp:69: error: ‘DIO37_WPORT’ was not declared in this scope
ui.cpp:69: error: ‘DIO37_PIN’ was not declared in this scope
ui.cpp:69: error: ‘DIO37_WPORT’ was not declared in this scope
ui.cpp:69: error: ‘DIO37_PIN’ was not declared in this scope
ui.cpp:85: error: ‘DIO37_WPORT’ was not declared in this scope
ui.cpp:85: error: ‘DIO37_PIN’ was not declared in this scope
ui.cpp:85: error: ‘DIO37_WPORT’ was not declared in this scope
ui.cpp:85: error: ‘DIO37_PIN’ was not declared in this scope
ui.cpp: At global scope:
ui.cpp:319: warning: only initialized variables can be placed into program memory area
ui.cpp:329: warning: only initialized variables can be placed into program memory area
ui.cpp:340: warning: only initialized variables can be placed into program memory area
ui.cpp:351: warning: only initialized variables can be placed into program memory area
ui.cpp:362: warning: only initialized variables can be placed into program memory area
ui.cpp:372: warning: only initialized variables can be placed into program memory area
ui.cpp:373: warning: only initialized variables can be placed into program memory area
ui.cpp:427: warning: only initialized variables can be placed into program memory area
ui.cpp:428: warning: only initialized variables can be placed into program memory area
ui.cpp:429: warning: only initialized variables can be placed into program memory area
ui.cpp: In constructor ‘UIDisplay::UIDisplay()’:
ui.cpp:711: warning: only initialized variables can be placed into program memory area
ui.cpp: At global scope:
ui.cpp:727: warning: ‘__progmem__’ attribute ignored
ui.cpp:826: warning: only initialized variables can be placed into program memory area
ui.cpp:867: warning: only initialized variables can be placed into program memory area
ui.cpp:868: warning: only initialized variables can be placed into program memory area
ui.cpp:869: warning: only initialized variables can be placed into program memory area
ui.cpp:870: warning: only initialized variables can be placed into program memory area
ui.cpp:871: warning: only initialized variables can be placed into program memory area
ui.cpp:872: warning: only initialized variables can be placed into program memory area
ui.cpp:873: warning: only initialized variables can be placed into program memory area
ui.cpp:874: warning: only initialized variables can be placed into program memory area
ui.cpp:875: warning: only initialized variables can be placed into program memory area
ui.cpp: In member function ‘void UIDisplay::parse(char*, bool)’:
ui.cpp:919: warning: only initialized variables can be placed into program memory area
ui.cpp:972: warning: only initialized variables can be placed into program memory area
ui.cpp:1001: warning: suggest explicit braces to avoid ambiguous ‘else’
ui.cpp:1036: warning: only initialized variables can be placed into program memory area
ui.cpp:1036: warning: only initialized variables can be placed into program memory area
ui.cpp: At global scope:
ui.cpp:1115: warning: only initialized variables can be placed into program memory area
ui.cpp: In member function ‘void UIDisplay::updateSDFileCount()’:
ui.cpp:1121: warning: unused variable ‘offset’
ui.cpp: In member function ‘void UIDisplayeye popping smileykAction()’:
ui.cpp:1350: warning: only initialized variables can be placed into program memory area
ui.cpp:1352: warning: only initialized variables can be placed into program memory area
ui.cpp:1356: warning: only initialized variables can be placed into program memory area
ui.cpp:1362: warning: only initialized variables can be placed into program memory area
ui.cpp:1371: warning: only initialized variables can be placed into program memory area
ui.cpp:1374: warning: only initialized variables can be placed into program memory area
ui.cpp: In member function ‘void UIDisplay::nextPreviousAction(char)’:
ui.cpp:1544: warning: only initialized variables can be placed into program memory area
ui.cpp:1619: warning: array subscript has type ‘char’
ui.cpp:1626: warning: array subscript has type ‘char’
ui.cpp:1628: warning: array subscript has type ‘char’
ui.cpp:1415: warning: unused variable ‘entType’
ui.cpp: In member function ‘void UIDisplay::executeAction(int)’:
ui.cpp:1793: warning: only initialized variables can be placed into program memory area
ui.cpp:1803: warning: only initialized variables can be placed into program memory area
ui.cpp:1813: warning: only initialized variables can be placed into program memory area
ui.cpp:1880: warning: only initialized variables can be placed into program memory area
ui.cpp:2131: warning: only initialized variables can be placed into program memory area
ui.cpp:2135: warning: only initialized variables can be placed into program memory area
ui.cpp:2161: warning: only initialized variables can be placed into program memory area
ui.cpp: In member function ‘void UIDisplay::slowAction()’:
ui.cpp:2188: warning: comparison between signed and unsigned integer expressions
ui.cpp:2239: warning: comparison between signed and unsigned integer expressions
ui.cpp: In member function ‘void UIDisplay::fastAction()’:
ui.cpp:2275: warning: comparison between signed and unsigned integer expressions
Re: Cannot compile with SDSUPPORT
January 13, 2013 05:45AM
Ahh found the new FEATURE_CONTROLLER

Set to 0, now just left with

/home/peter/1Jan2013/arduino-1.0.3/hardware/tools/avr/bin/avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega1284p -DF_CPU=20000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=103 -I/home/peter/1Jan2013/arduino-1.0.3/hardware/Gen7/cores/arduino -I/home/peter/1Jan2013/arduino-1.0.3/hardware/Gen7/variants/gen7 -I/home/peter/1Jan2013/arduino-1.0.3/libraries/SPI /tmp/build4456353150391492064.tmp/ui.cpp -o /tmp/build4456353150391492064.tmp/ui.cpp.o 
In file included from ui.cpp:20:
Reptier.h:124:1: warning: "KOMMA" redefined
Reptier.h:119:1: warning: this is the location of the previous definition
In file included from /home/peter/1Jan2013/arduino-1.0.3/hardware/Gen7/cores/arduino/Arduino.h:220,
                 from Reptier.h:222,
                 from ui.cpp:20:
/home/peter/1Jan2013/arduino-1.0.3/hardware/Gen7/cores/arduino/pins_arduino.h:61:1: warning: "portOutputRegister" redefined
In file included from Reptier.h:222,
                 from ui.cpp:20:
/home/peter/1Jan2013/arduino-1.0.3/hardware/Gen7/cores/arduino/Arduino.h:152:1: warning: this is the location of the previous definition
In file included from /home/peter/1Jan2013/arduino-1.0.3/hardware/Gen7/cores/arduino/Arduino.h:220,
                 from Reptier.h:222,
                 from ui.cpp:20:
/home/peter/1Jan2013/arduino-1.0.3/hardware/Gen7/cores/arduino/pins_arduino.h:62:1: warning: "portInputRegister" redefined
In file included from Reptier.h:222,
                 from ui.cpp:20:
/home/peter/1Jan2013/arduino-1.0.3/hardware/Gen7/cores/arduino/Arduino.h:153:1: warning: this is the location of the previous definition
In file included from /home/peter/1Jan2013/arduino-1.0.3/hardware/Gen7/cores/arduino/Arduino.h:220,
                 from Reptier.h:222,
                 from ui.cpp:20:
/home/peter/1Jan2013/arduino-1.0.3/hardware/Gen7/cores/arduino/pins_arduino.h:63:1: warning: "portModeRegister" redefined
In file included from Reptier.h:222,
                 from ui.cpp:20:
/home/peter/1Jan2013/arduino-1.0.3/hardware/Gen7/cores/arduino/Arduino.h:154:1: warning: this is the location of the previous definition
In file included from /home/peter/1Jan2013/arduino-1.0.3/hardware/Gen7/cores/arduino/Arduino.h:220,
                 from Reptier.h:222,
                 from ui.cpp:20:
/home/peter/1Jan2013/arduino-1.0.3/hardware/Gen7/cores/arduino/pins_arduino.h:42: error: conflicting declaration ‘const uint8_t port_to_mode_PGM []’
/home/peter/1Jan2013/arduino-1.0.3/hardware/Gen7/cores/arduino/Arduino.h:134: error: ‘port_to_mode_PGM’ has a previous declaration as ‘const uint16_t port_to_mode_PGM []’
/home/peter/1Jan2013/arduino-1.0.3/hardware/Gen7/cores/arduino/pins_arduino.h:43: error: conflicting declaration ‘const uint8_t port_to_input_PGM []’
/home/peter/1Jan2013/arduino-1.0.3/hardware/Gen7/cores/arduino/Arduino.h:135: error: ‘port_to_input_PGM’ has a previous declaration as ‘const uint16_t port_to_input_PGM []’
/home/peter/1Jan2013/arduino-1.0.3/hardware/Gen7/cores/arduino/pins_arduino.h:44: error: conflicting declaration ‘const uint8_t port_to_output_PGM []’
/home/peter/1Jan2013/arduino-1.0.3/hardware/Gen7/cores/arduino/Arduino.h:136: error: ‘port_to_output_PGM’ has a previous declaration as ‘const uint16_t port_to_output_PGM []’
ui.cpp:36: warning: only initialized variables can be placed into program memory area

Re: Cannot compile with SDSUPPORT
January 13, 2013 06:20AM
I'm currently trying to compile it. The main problem is then Gen7 is not compatible with Arduino 1.0 and above while the sd library requires 1.0 or above.

I already added some fixes where incompatibilities are simple to fix. Will upload the fixes as soon as I get it compiled. What pin number is needed or free for ss?


Repetier-Software - the home of Repetier-Host (Windows, Linux and Mac OS X) and Repetier-Firmware.
Repetier-Server - the solution to control your printer from everywhere.
Visit us on Facebook and Twitter!
Re: Cannot compile with SDSUPPORT
January 13, 2013 06:23AM
I made a little set of Gen 7 Shield, I2C LCD backpack : [forums.reprap.org]

Using D14 for SS

SPI on standard SPI pins

Peter
Re: Cannot compile with SDSUPPORT
January 13, 2013 07:30AM
Ok, got it compiling. Please use the latest development version. You need the following changes:

In Configuration.h
#define MOTHERBOARD 71
#include "pins.h"

// Uncomment the following line if oyu are using arduino compatible firmware made for Arduino version earlier then 1.0
// If it is incompatible you will get compiler errors about write functions not beeing compatible!
#define COMPAT_PRE1

The COMPAT_PRE1 tells repetier that the board driver uses the pre 1.0 version of write which gen7 does.

Use the latest version of gen7-dist and edit pins_arduino.h add the following lines:
if defined(ARDUINO) && ARDUINO >= 100
static const uint8_t SS   = 14;
static const uint8_t MOSI = 5;
static const uint8_t MISO = 6;
static const uint8_t SCK  = 7;
#endif

That adds the missing definitions needed for SPI library.


Repetier-Software - the home of Repetier-Host (Windows, Linux and Mac OS X) and Repetier-Firmware.
Repetier-Server - the solution to control your printer from everywhere.
Visit us on Facebook and Twitter!
Re: Cannot compile with SDSUPPORT
January 13, 2013 09:00AM
Quote
repetier
The main problem is then Gen7 is not compatible with Arduino 1.0

Obviously you use an older version of this package. The Gen7 Arduino IDE Support 2.0 package is explicitely made for Arduino 1.0 & 1.0.1. Maybe it needs a review for 1.1 and 1.5.

Quote

I already added some fixes where incompatibilities are simple to fix.

Great! Can you please point me to the Gihub "issues" or patches? Undoubtly other users of this Arduino IDE compatibility package want these enhancements, too, not only those running Repetier firmware on a Gen7. So they should be integrated, but I can't find them.

Perhaps it isn't obvious, but this package is for all RepRap electronics and made to overcome Marlins and Sprinters insistance on Arduino IDE 0023 or earlier, not only for Gen7 users.


Generation 7 Electronics Teacup Firmware RepRap DIY
     
Re: Cannot compile with SDSUPPORT
January 13, 2013 10:31AM
@traumflug Check your gen7 issues. I added the SPI issue and the second incompatibility (Print class, write method changed) there. There may be more but these are the one I know about. WIth these fixed there shoud be no special cases needed if the firmware relies on the new Print class methods.


Repetier-Software - the home of Repetier-Host (Windows, Linux and Mac OS X) and Repetier-Firmware.
Repetier-Server - the solution to control your printer from everywhere.
Visit us on Facebook and Twitter!
Re: Cannot compile with SDSUPPORT
January 13, 2013 10:34AM
Thanks Repetier!

Checked out the changed dev branch - and added the section to pins_arduino.h as per instructions above.
Uncommented the PRE1

Still compile error
In file included from Reptier.h:234,
                 from ui.cpp:20:
gcode.h:110: error: conflicting return type specified for ‘virtual void RFHardwareSerial::write(uint8_t)’
/home/peter/1Jan2013/arduino-1.0.3/hardware/Gen7/cores/arduino/Print.h:48: error:   overriding ‘virtual size_t Print::write(uint8_t)’
gcode.h:129: error: conflicting return type specified for ‘virtual void SerialOutput::write(uint8_t)’
/home/peter/1Jan2013/arduino-1.0.3/hardware/Gen7/cores/arduino/Print.h:48: error:   overriding ‘virtual size_t Print::write(uint8_t)’
In file included from Reptier.h:247,
                 from ui.cpp:20:
SdFat.h:2064: error: conflicting return type specified for ‘virtual void SdFile::write(uint8_t)’
/home/peter/1Jan2013/arduino-1.0.3/hardware/Gen7/cores/arduino/Print.h:48: error:   overriding ‘virtual size_t Print::write(uint8_t)’
ui.cpp:36: warning: only initialized variables can be placed into program memory area


Still one issue with writes it seems...
Re: Cannot compile with SDSUPPORT
January 13, 2013 10:52AM
I already wrote it as you should use it. If you write
#define COMPAT_PRE1

it works, if you write

//#define COMPAT_PRE1

I get exactly your errors. So i guess you read uncomment and added comments instead.


Repetier-Software - the home of Repetier-Host (Windows, Linux and Mac OS X) and Repetier-Firmware.
Repetier-Server - the solution to control your printer from everywhere.
Visit us on Facebook and Twitter!
Re: Cannot compile with SDSUPPORT
January 13, 2013 10:55AM
Nope, copy and paste off my open Arduino below...

#define MOTHERBOARD 71
#include "pins.h"

// Uncomment the following line if oyu are using arduino compatible firmware made for Arduino version earlier then 1.0
// If it is incompatible you will get compiler errors about write functions not beeing compatible!
#define COMPAT_PRE1

Tried changing some of the size_t to voids in Print.h's Print function, hoping Traumflug can patch that if it needs to be


Latest errors

/home/peter/1Jan2013/arduino-1.0.3/hardware/Gen7/cores/arduino/pins_arduino.h:46: error: conflicting declaration ‘const uint8_t digital_pin_to_port_PGM []’
/home/peter/1Jan2013/arduino-1.0.3/hardware/Gen7/cores/arduino/Arduino.h:138: error: ‘digital_pin_to_port_PGM’ has a previous declaration as ‘const uint16_t digital_pin_to_port_PGM []’
/home/peter/1Jan2013/arduino-1.0.3/hardware/Gen7/cores/arduino/pins_arduino.h:48: error: conflicting declaration ‘const uint8_t digital_pin_to_bit_mask_PGM []’
/home/peter/1Jan2013/arduino-1.0.3/hardware/Gen7/cores/arduino/Arduino.h:140: error: ‘digital_pin_to_bit_mask_PGM’ has a previous declaration as ‘const uint16_t digital_pin_to_bit_mask_PGM []’
/home/peter/1Jan2013/arduino-1.0.3/hardware/Gen7/cores/arduino/pins_arduino.h:50: error: conflicting declaration ‘const uint8_t digital_pin_to_timer_PGM []’
/home/peter/1Jan2013/arduino-1.0.3/hardware/Gen7/cores/arduino/Arduino.h:141: error: ‘digital_pin_to_timer_PGM’ has a previous declaration as ‘const uint16_t digital_pin_to_timer_PGM []’
ui.cpp:36: warning: only initialized variables can be placed into program memory area
Re: Cannot compile with SDSUPPORT
January 13, 2013 11:01AM
Any chance I can bug you for a copy of your working Arduino directory and Repetier in a ZIP?
Re: Cannot compile with SDSUPPORT
January 13, 2013 11:14AM
Ok, here is the zipped Repetier directory that compiles. As you didn't have any MISO/MOSI errors I assume your Arduino version is ok and it is to large anyway for the 6 lines changed. Hope it works now. No idea what you did different.


Repetier-Software - the home of Repetier-Host (Windows, Linux and Mac OS X) and Repetier-Firmware.
Repetier-Server - the solution to control your printer from everywhere.
Visit us on Facebook and Twitter!
Attachments:
open | download - Repetier.zip (226.8 KB)
Re: Cannot compile with SDSUPPORT
January 13, 2013 02:30PM
Awesome thank you!

Clean install of 1.0.3 on Windows
Gen7-Dist from Github (NB NOT 2.0 from Wiki that was what was causing my issues)
Your zipped copy

Compiled!

Started configuring, fell into EEPROM trap! Lol. Turned off eeprom, running nice test print now...

In between battled weird brownouts too - faulty PSU now in the trash (after soldering up another Gen 7 and still browning out lol)

Thanks Repetier, really appreciate the help! Do you have a Donation link somewhere? Your support is world class!
Seriously everyone, if you use Repetier, you owe this guy! Same goes for Traumflug! Gen 7 electronics Rocks!

Back to SD: Not reading any files from SD, but will play with pinouts tomorrow - perhaps it doesn't like D14 for SS
Know the SD Converter works, and is FAT16 - Cardinfo/ArduinoSD played nicely with it

Peter
Re: Cannot compile with SDSUPPORT
January 13, 2013 02:44PM
peter6960 Wrote:
-------------------------------------------------------
> Awesome thank you!
>
> Clean install of 1.0.3 on Windows
> Gen7-Dist from Github (NB NOT 2.0 from Wiki that
> was what was causing my issues)
> Your zipped copy
>
> Compiled!
>
Super

> Started configuring, fell into EEPROM trap! Lol.
> Turned off eeprom, running nice test print now...
>
>
> Thanks Repetier, really appreciate the help! Do
> you have a Donation link somewhere? Your support
> is world class!

On my homepage

> Seriously everyone, if you use Repetier, you owe
> this guy! Same goes for Traumflug! Gen 7
> electronics Rocks!

Indeed best controller for DIY :-)

>
> Back to SD: Not reading any files from SD, but
> will play with pinouts tomorrow - perhaps it
> doesn't like D14 for SS
> Know the SD Converter works, and is FAT16 -
> Cardinfo/ArduinoSD played nicely with it

Check the pins.h if I set the MISO/MOSI/SCK/SDSS (that is -1 i think, set it to what you need) are set correct for your case.

You can redefine the values in Configuration.h after including the pins.h. That way you don't have to change the pins.h on every update.


Repetier-Software - the home of Repetier-Host (Windows, Linux and Mac OS X) and Repetier-Firmware.
Repetier-Server - the solution to control your printer from everywhere.
Visit us on Facebook and Twitter!
Re: Cannot compile with SDSUPPORT
January 14, 2013 02:23AM
Thanks! Edited pins.h for Motherboard 71, I changed the SS to 12, also changed it in Gen7's pins_arduino.h to 12 (instead of 14 - so it matches MCPs SD expansion plans too (using 12 instead of 14 as 14 is a PWM pin)

Now Init works!

Edit: Only with if(!fat.begin(SDSS,SPI_HALF_SPEED)) {
OUT_P_LN("SD init failed at SDINIT");
return;
- I think my Card does not support full speed... can the change to HALF break SD Read and Write?
/Edit

But reading from SD nothing.
Print to SD gives an Init failed, which is weird because M21 does not error out..


Connecting...
start
Printer is now online.
External Reset
SD init
ok 0
SD init: Card was Initialised Succesfully with no error
ok 0
Begin file list
End file list
wait
wait
wait
wait
wait
wait
wait
wait
wait
wait
wait
wait
wait
Disconnected.

Edited 1 time(s). Last edit at 01/14/2013 02:26AM by peter6960.
Re: Cannot compile with SDSUPPORT
January 14, 2013 11:20AM
You may want to set
#define SD_ALLOW_LONG_NAMES false

to true. If it is false all files with name snot matching max. 8.3 get a tilde ~ and get removed from output. The reason is the sd library does not support long names. It can show them with ~but if you delete them there remain structures allocated for the long names.


Repetier-Software - the home of Repetier-Host (Windows, Linux and Mac OS X) and Repetier-Firmware.
Repetier-Server - the solution to control your printer from everywhere.
Visit us on Facebook and Twitter!
Re: Cannot compile with SDSUPPORT
January 14, 2013 01:31PM
You sir, deserve a Medal!

Done and dusted! Working 100%

Anyway never delete from printer

Next - lay out single PCB with SD and I2C LCD to Gen 7 shield
Sorry, only registered users may post in this forum.

Click here to login