Error While Complinig Code

Arduino: 1.8.1 (Windows 10), Board: “Arduino/Genuino Uno”

TVB:13: error: expected initializer before ‘extern’

extern PGM_P *NApowerCodes PROGMEM;

^

In file included from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28:0,

from sketch\BigTime.ino.cpp:1:

TVB:14: error: variable ‘EUpowerCodes’ must be const in order to be put into read-only section by means of ‘attribute((progmem))’

extern PGM_P *EUpowerCodes PROGMEM;

^

C:\Users\Sreeram A J\Downloads\BigTime-master\BigTime-master\Firmware\BigTime\TVB.ino: In function ‘void sendAllCodes()’:

TVB:169: error: ‘NApowerCodes’ was not declared in this scope

data_ptr = (PGM_P)pgm_read_word(NApowerCodes+i);

^

exit status 1
expected initializer before ‘extern’

This report would have more information with
“Show verbose output during compilation”
option enabled in File → Preferences.

:slight_smile: :frowning:

Any Help Would Be Greatful …

which code did you try to compile ? how are we supposed to figure this out ?

Please post a link to where you downloaded the code from.

If it comes from here (Arduino TV B Gone), then it seems to have been fixed. Download it from this source and try again.