Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trying to upload Ghettostation to Arduino Mega #17

Open
xnlfgh opened this issue Oct 11, 2014 · 2 comments
Open

trying to upload Ghettostation to Arduino Mega #17

xnlfgh opened this issue Oct 11, 2014 · 2 comments

Comments

@xnlfgh
Copy link

xnlfgh commented Oct 11, 2014

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

@IdefixRC
Copy link

IdefixRC commented Jan 8, 2015

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)

@lv333ming
Copy link

_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::FLASH_STRING(const int)
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 [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::FLASH_STRING(const int)
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 [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::FLASH_STRING(const int)
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 [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::FLASH_STRING(const int)
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 [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::FLASH_STRING(const int)
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 [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::FLASH_STRING(const int)
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 [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::FLASH_STRING(const int)
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 [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::FLASH_STRING(const int)
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 [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::FLASH_STRING(const int)
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 [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::FLASH_STRING(const int)
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 [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::FLASH_STRING(const int)
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 [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::FLASH_STRING(const int)
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 [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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants