Open xnlfgh opened 10 years ago
Please check if you have selected the right board in the IDE and if this does not help remove all libraries (Arduino IDE fresh install) and only include the libraries from the Ghettostation project in your IDE before trying again (I had a similar issue and only using the Ghettostation included libs solved it)
_FLASH_STRING(const prog_char arr); ^ D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:68:3: note: no known conversion for argument 1 from 'const char [8]' to 'const int' D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:65:7: note: _FLASH_STRING::_FLASH_STRING(const _FLASH_STRING&) class _FLASH_STRING : public _Printable ^ D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:65:7: note: no known conversion for argument 1 from 'const char [8]' to 'const _FLASH_STRING&' D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:34:34: error: no matching function for call to '_FLASH_STRING::_FLASH_STRING(const char [8])' _FLASH_STRING name(name##_flash); ^ GhettoStation.h:151:1: note: in expansion of macro 'FLASH_STRING' FLASH_STRING(string_bank2, BANK2); ^ D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:34:34: note: candidates are: _FLASH_STRING name(name##_flash); ^ GhettoStation.h:151:1: note: in expansion of macro 'FLASH_STRING' FLASH_STRING(string_bank2, BANK2); ^ D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:68:3: note: _FLASH_STRING::_FLASHSTRING(const int) _FLASH_STRING(const progchar *arr); ^ D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:68:3: note: no known conversion for argument 1 from 'const char [8]' to 'const int' D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:65:7: note: _FLASH_STRING::_FLASH_STRING(const _FLASH_STRING&) class _FLASH_STRING : public _Printable ^ D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:65:7: note: no known conversion for argument 1 from 'const char [8]' to 'const _FLASH_STRING&' D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:34:34: error: no matching function for call to '_FLASH_STRING::_FLASH_STRING(const char [7])' _FLASH_STRING name(name##_flash); ^ GhettoStation.h:152:1: note: in expansion of macro 'FLASH_STRING' FLASH_STRING(string_bank3, BANK3); ^ D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:34:34: note: candidates are: _FLASH_STRING name(name##_flash); ^ GhettoStation.h:152:1: note: in expansion of macro 'FLASH_STRING' FLASH_STRING(string_bank3, BANK3); ^ D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:68:3: note: _FLASH_STRING::_FLASHSTRING(const int) _FLASH_STRING(const progchar *arr); ^ D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:68:3: note: no known conversion for argument 1 from 'const char [7]' to 'const int' D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:65:7: note: _FLASH_STRING::_FLASH_STRING(const _FLASH_STRING&) class _FLASH_STRING : public _Printable ^ D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:65:7: note: no known conversion for argument 1 from 'const char [7]' to 'const _FLASH_STRING&' D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:34:34: error: no matching function for call to '_FLASH_STRING::_FLASH_STRING(const char [7])' _FLASH_STRING name(name##_flash); ^ GhettoStation.h:153:1: note: in expansion of macro 'FLASH_STRING' FLASH_STRING(string_bank4, BANK4); ^ D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:34:34: note: candidates are: _FLASH_STRING name(name##_flash); ^ GhettoStation.h:153:1: note: in expansion of macro 'FLASH_STRING' FLASH_STRING(string_bank4, BANK4); ^ D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:68:3: note: _FLASH_STRING::_FLASHSTRING(const int) _FLASH_STRING(const progchar *arr); ^ D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:68:3: note: no known conversion for argument 1 from 'const char [7]' to 'const int' D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:65:7: note: _FLASH_STRING::_FLASH_STRING(const _FLASH_STRING&) class _FLASH_STRING : public _Printable ^ D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:65:7: note: no known conversion for argument 1 from 'const char [7]' to 'const _FLASH_STRING&' D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:34:34: error: no matching function for call to '_FLASH_STRING::_FLASH_STRING(const char [21])' _FLASH_STRING name(name##_flash); ^ GhettoStation.h:154:1: note: in expansion of macro 'FLASH_STRING' FLASH_STRING(string_osd1, " ENABLE OSD "); ^ D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:34:34: note: candidates are: _FLASH_STRING name(name##_flash); ^ GhettoStation.h:154:1: note: in expansion of macro 'FLASH_STRING' FLASH_STRING(string_osd1, " ENABLE OSD "); ^ D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:68:3: note: _FLASH_STRING::_FLASHSTRING(const int) _FLASH_STRING(const progchar *arr); ^ D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:68:3: note: no known conversion for argument 1 from 'const char [21]' to 'const int' D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:65:7: note: _FLASH_STRING::_FLASH_STRING(const _FLASH_STRING&) class _FLASH_STRING : public _Printable ^ D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:65:7: note: no known conversion for argument 1 from 'const char [21]' to 'const _FLASH_STRING&' D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:34:34: error: no matching function for call to '_FLASH_STRING::_FLASH_STRING(const char [21])' _FLASH_STRING name(name##_flash); ^ GhettoStation.h:155:1: note: in expansion of macro 'FLASH_STRING' FLASH_STRING(string_osd2, "<< YES >>"); ^ D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:34:34: note: candidates are: _FLASH_STRING name(name##_flash); ^ GhettoStation.h:155:1: note: in expansion of macro 'FLASH_STRING' FLASH_STRING(string_osd2, "<< YES >>"); ^ D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:68:3: note: _FLASH_STRING::_FLASHSTRING(const int) _FLASH_STRING(const progchar *arr); ^ D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:68:3: note: no known conversion for argument 1 from 'const char [21]' to 'const int' D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:65:7: note: _FLASH_STRING::_FLASH_STRING(const _FLASH_STRING&) class _FLASH_STRING : public _Printable ^ D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:65:7: note: no known conversion for argument 1 from 'const char [21]' to 'const _FLASH_STRING&' D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:34:34: error: no matching function for call to '_FLASH_STRING::_FLASH_STRING(const char [21])' _FLASH_STRING name(name##_flash); ^ GhettoStation.h:156:1: note: in expansion of macro 'FLASH_STRING' FLASH_STRING(string_osd3, "<< NO >>"); ^ D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:34:34: note: candidates are: _FLASH_STRING name(name##_flash); ^ GhettoStation.h:156:1: note: in expansion of macro 'FLASH_STRING' FLASH_STRING(string_osd3, "<< NO >>"); ^ D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:68:3: note: _FLASH_STRING::_FLASHSTRING(const int) _FLASH_STRING(const progchar *arr); ^ D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:68:3: note: no known conversion for argument 1 from 'const char [21]' to 'const int' D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:65:7: note: _FLASH_STRING::_FLASH_STRING(const _FLASH_STRING&) class _FLASH_STRING : public _Printable ^ D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:65:7: note: no known conversion for argument 1 from 'const char [21]' to 'const _FLASH_STRING&' D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:34:34: error: no matching function for call to '_FLASH_STRING::_FLASH_STRING(const char [21])' _FLASH_STRING name(name##_flash); ^ GhettoStation.h:157:1: note: in expansion of macro 'FLASH_STRING' FLASH_STRING(string_bearing0, " BEARING METHOD "); ^ D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:34:34: note: candidates are: _FLASH_STRING name(name##_flash); ^ GhettoStation.h:157:1: note: in expansion of macro 'FLASH_STRING' FLASH_STRING(string_bearing0, " BEARING METHOD "); ^ D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:68:3: note: _FLASH_STRING::_FLASHSTRING(const int) _FLASH_STRING(const progchar *arr); ^ D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:68:3: note: no known conversion for argument 1 from 'const char [21]' to 'const int' D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:65:7: note: _FLASH_STRING::_FLASH_STRING(const _FLASH_STRING&) class _FLASH_STRING : public _Printable ^ D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:65:7: note: no known conversion for argument 1 from 'const char [21]' to 'const _FLASH_STRING&' D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:34:34: error: no matching function for call to '_FLASH_STRING::_FLASH_STRING(const char [21])' _FLASH_STRING name(name##_flash); ^ GhettoStation.h:158:1: note: in expansion of macro 'FLASH_STRING' FLASH_STRING(string_bearing1, "1: Put UAV 20m away "); ^ D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:34:34: note: candidates are: _FLASH_STRING name(name##_flash); ^ GhettoStation.h:158:1: note: in expansion of macro 'FLASH_STRING' FLASH_STRING(string_bearing1, "1: Put UAV 20m away "); ^ D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:68:3: note: _FLASH_STRING::_FLASHSTRING(const int) _FLASH_STRING(const progchar *arr); ^ D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:68:3: note: no known conversion for argument 1 from 'const char [21]' to 'const int' D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:65:7: note: _FLASH_STRING::_FLASH_STRING(const _FLASH_STRING&) class _FLASH_STRING : public _Printable ^ D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:65:7: note: no known conversion for argument 1 from 'const char [21]' to 'const _FLASH_STRING&' D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:34:34: error: no matching function for call to '_FLASH_STRING::_FLASH_STRING(const char [21])' _FLASH_STRING name(name##_flash); ^ GhettoStation.h:159:1: note: in expansion of macro 'FLASH_STRING' FLASH_STRING(string_bearing2, "2: Manual "); ^ D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:34:34: note: candidates are: _FLASH_STRING name(name##_flash); ^ GhettoStation.h:159:1: note: in expansion of macro 'FLASH_STRING' FLASH_STRING(string_bearing2, "2: Manual "); ^ D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:68:3: note: _FLASH_STRING::_FLASHSTRING(const int) _FLASH_STRING(const progchar *arr); ^ D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:68:3: note: no known conversion for argument 1 from 'const char [21]' to 'const int' D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:65:7: note: _FLASH_STRING::_FLASH_STRING(const _FLASH_STRING&) class _FLASH_STRING : public _Printable ^ D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:65:7: note: no known conversion for argument 1 from 'const char [21]' to 'const _FLASH_STRING&' D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:34:34: error: no matching function for call to '_FLASH_STRING::_FLASH_STRING(const char [21])' _FLASH_STRING name(name##_flash); ^ GhettoStation.h:160:1: note: in expansion of macro 'FLASH_STRING' FLASH_STRING(string_bearing3, "3: FC Compass "); ^ D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:34:34: note: candidates are: _FLASH_STRING name(name##_flash); ^ GhettoStation.h:160:1: note: in expansion of macro 'FLASH_STRING' FLASH_STRING(string_bearing3, "3: FC Compass "); ^ D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:68:3: note: _FLASH_STRING::_FLASHSTRING(const int) _FLASH_STRING(const progchar *arr); ^ D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:68:3: note: no known conversion for argument 1 from 'const char [21]' to 'const int' D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:65:7: note: _FLASH_STRING::_FLASH_STRING(const _FLASH_STRING&) class _FLASH_STRING : public _Printable ^ D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:65:7: note: no known conversion for argument 1 from 'const char [21]' to 'const _FLASH_STRING&' D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:34:34: error: no matching function for call to '_FLASH_STRING::_FLASH_STRING(const char [21])' _FLASH_STRING name(name##_flash); ^ GhettoStation.h:161:1: note: in expansion of macro 'FLASH_STRING' FLASH_STRING(string_bearing4, "4: GS Compass "); ^ D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:34:34: note: candidates are: _FLASH_STRING name(name##_flash); ^ GhettoStation.h:161:1: note: in expansion of macro 'FLASH_STRING' FLASH_STRING(string_bearing4, "4: GS Compass "); ^ D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:68:3: note: _FLASH_STRING::_FLASHSTRING(const int) _FLASH_STRING(const progchar *arr); ^ D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:68:3: note: no known conversion for argument 1 from 'const char [21]' to 'const int' D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:65:7: note: _FLASH_STRING::_FLASH_STRING(const _FLASH_STRING&) class _FLASH_STRING : public _Printable ^ D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:65:7: note: no known conversion for argument 1 from 'const char [21]' to 'const _FLASH_STRING&' D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:34:34: error: no matching function for call to '_FLASH_STRING::_FLASH_STRING(const char [21])' _FLASH_STRING name(name##_flash); ^ GhettoStation.h:162:1: note: in expansion of macro 'FLASH_STRING' FLASH_STRING(string_voltage0, "ADJUST VOLTAGE RATIO"); ^ D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:34:34: note: candidates are: _FLASH_STRING name(name##_flash); ^ GhettoStation.h:162:1: note: in expansion of macro 'FLASH_STRING' FLASH_STRING(string_voltage0, "ADJUST VOLTAGE RATIO"); ^ D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:68:3: note: _FLASH_STRING::_FLASHSTRING(const int) _FLASH_STRING(const progchar *arr); ^ D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:68:3: note: no known conversion for argument 1 from 'const char [21]' to 'const int' D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:65:7: note: _FLASH_STRING::_FLASH_STRING(const _FLASH_STRING&) class _FLASH_STRING : public _Printable ^ D:\arduino-1.6.3-windows\arduino-1.6.3\libraries\Flash/Flash.h:65:7: note: no known conversion for argument 1 from 'const char [21]' to 'const _FLASH_STRING&'
I compiled a lot of mistakes, I do not know what the reason is.
i cant seem to get Ghettostation to go on my arduino mega, here is the error
H:\Arduino\libraries\Robot_Control\ArduinoRobot.cpp: In constructor 'RobotControl::RobotControl()': H:\Arduino\libraries\Robot_Control\ArduinoRobot.cpp:8: error: 'LCD_CS' was not declared in this scope H:\Arduino\libraries\Robot_Control\ArduinoRobot.cpp:8: error: 'DC_LCD' was not declared in this scope H:\Arduino\libraries\Robot_Control\ArduinoRobot.cpp:8: error: 'RST_LCD' was not declared in this scope H:\Arduino\libraries\Robot_Control\ArduinoRobot.cpp: In member function 'void RobotControl::begin()': H:\Arduino\libraries\Robot_Control\ArduinoRobot.cpp:18: error: 'MUXA' was not declared in this scope H:\Arduino\libraries\Robot_Control\ArduinoRobot.cpp:18: error: 'MUXB' was not declared in this scope H:\Arduino\libraries\Robot_Control\ArduinoRobot.cpp:18: error: 'MUXC' was not declared in this scope H:\Arduino\libraries\Robot_Control\ArduinoRobot.cpp:18: error: 'MUXD' was not declared in this scope H:\Arduino\libraries\Robot_Control\ArduinoRobot.cpp:19: error: 'MUX_IN' was not declared in this scope H:\Arduino\libraries\Robot_Control\ArduinoRobot.cpp:22: error: 'BUZZ' was not declared in this scope