borges2003xx / rush-osd-development

Automatically exported from code.google.com/p/rush-osd-development
0 stars 0 forks source link

Compile Error #21

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Compile v2.3
2. Get Error:
Arduino: 1.5.7 (Windows 7), Board: "Arduino Pro or Pro Mini, ATmega328 (5V, 16 
MHz)"

In file included from KV_Team_OSD.ino:28:0:
GlobalVariables.h:681:32: error: variable 'item_table' must be const in order 
to be put into read-only section by means of '__attribute__((progmem))'
 PROGMEM const char *item_table[] =
                                ^

  This report would have more information with
  "Show verbose output during compilation"
  enabled in File > Preferences.

3.
4.

What is the exact brand and model of hardware you´r using?

What is the expected output? What do you see instead?

What official version of the product are you using?
2.3

Have it been modified in any way?
No

Please provide any additional information below.

Original issue reported on code.google.com by DHDo...@gmail.com on 18 Sep 2014 at 5:52

GoogleCodeExporter commented 9 years ago
I get a similar error. Also v2.3 but with Arduino 1.0.5 on a OpenSuse Linux

  In file included from Max7456.cpp:2:0:
  KV_Team_OSD.h:180:40: error: variable 'item_table' must be const in order to be
  put into read-only section by means of '__attribute__((progmem))'
  extern PROGMEM const char *item_table[];

Original comment by bejo5...@googlemail.com on 26 Sep 2014 at 4:06

GoogleCodeExporter commented 9 years ago
I could solve the problem with the use of an older Arduino version 1.0.1.
I guess the error depends on the integrated gcc compiler which also has changed 
the version. But it would be quite nice if the code would be adapted to the new 
compiler version.

Original comment by bejo5...@googlemail.com on 29 Sep 2014 at 1:49

GoogleCodeExporter commented 9 years ago
Has anyone figured our how to fix this?

Original comment by ajb...@gmail.com on 2 Apr 2015 at 4:26

GoogleCodeExporter commented 9 years ago
Same Problem here, 
Arduino: 1.6.3 (Windows 7), Board: "Arduino Pro or Pro Mini, ATmega328 (5V, 16 
MHz)"

Build options changed, rebuilding all

In file included from EEPROM.cpp:5:0:

KV_Team_OSD.h:180:40: error: variable 'item_table' must be const in order to be 
put into read-only section by means of '__attribute__((progmem))'

  extern PROGMEM const char *item_table[];

                                        ^

Error compiling.

  This report would have more information with
  "Show verbose output during compilation"
  enabled in File > Preferences.

Original comment by rens.toe...@gmail.com on 4 Apr 2015 at 1:58