Error message help: sketch "the_synth - MIDI_Synth"

Hi all,
I'm trying to load up this synthesizer sketch but I'm getting an error msg. (Shown below).
Anybody know how to fix this? I'd love to check this out!
Thanks in advance
Rob

Arduino: 1.6.7 (Windows 10), TD: 1.27, Board: "Arduino/Genuino Uno"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware "C:\Program Files (x86)\Arduino\hardware" -hardware "C:\Users\Rob\AppData\Local\Arduino15\packages" -tools "C:\Program Files (x86)\Arduino\tools-builder" -tools "C:\Program Files (x86)\Arduino\hardware\tools\avr" -tools "C:\Users\Rob\AppData\Local\Arduino15\packages" -built-in-libraries "C:\Program Files (x86)\Arduino\libraries" -libraries "C:\Users\Rob\Documents\Arduino\libraries" -fqbn=arduino:avr:uno -ide-version=10607 -build-path "C:\Users\Rob\AppData\Local\Temp\build1e3e27f8dbda92ead9de64c833e7c84f.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "C:\Users\Rob\Documents\Arduino\libraries\the_synth\examples\MIDI_synth\MIDI_synth.ino"
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware "C:\Program Files (x86)\Arduino\hardware" -hardware "C:\Users\Rob\AppData\Local\Arduino15\packages" -tools "C:\Program Files (x86)\Arduino\tools-builder" -tools "C:\Program Files (x86)\Arduino\hardware\tools\avr" -tools "C:\Users\Rob\AppData\Local\Arduino15\packages" -built-in-libraries "C:\Program Files (x86)\Arduino\libraries" -libraries "C:\Users\Rob\Documents\Arduino\libraries" -fqbn=arduino:avr:uno -ide-version=10607 -build-path "C:\Users\Rob\AppData\Local\Temp\build1e3e27f8dbda92ead9de64c833e7c84f.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "C:\Users\Rob\Documents\Arduino\libraries\the_synth\examples\MIDI_synth\MIDI_synth.ino"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Users\Rob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.10\cores\arduino" "-IC:\Users\Rob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.10\variants\standard" "C:\Users\Rob\AppData\Local\Temp\build1e3e27f8dbda92ead9de64c833e7c84f.tmp\sketch\MIDI_synth.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Users\Rob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.10\cores\arduino" "-IC:\Users\Rob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.10\variants\standard" "-IC:\Users\Rob\Documents\Arduino\libraries\the_synth" "C:\Users\Rob\AppData\Local\Temp\build1e3e27f8dbda92ead9de64c833e7c84f.tmp\sketch\MIDI_synth.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Users\Rob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.10\cores\arduino" "-IC:\Users\Rob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.10\variants\standard" "-IC:\Users\Rob\Documents\Arduino\libraries\the_synth" "C:\Users\Rob\AppData\Local\Temp\build1e3e27f8dbda92ead9de64c833e7c84f.tmp\sketch\MIDI_synth.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Users\Rob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.10\cores\arduino" "-IC:\Users\Rob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.10\variants\standard" "-IC:\Users\Rob\Documents\Arduino\libraries\the_synth" "C:\Users\Rob\AppData\Local\Temp\build1e3e27f8dbda92ead9de64c833e7c84f.tmp\sketch\MIDI_synth.ino.cpp" -o "C:\Users\Rob\AppData\Local\Temp\build1e3e27f8dbda92ead9de64c833e7c84f.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
"C:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino5/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\Rob\AppData\Local\Temp\build1e3e27f8dbda92ead9de64c833e7c84f.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Users\Rob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.10\cores\arduino" "-IC:\Users\Rob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.10\variants\standard" "-IC:\Users\Rob\Documents\Arduino\libraries\the_synth" "C:\Users\Rob\AppData\Local\Temp\build1e3e27f8dbda92ead9de64c833e7c84f.tmp\sketch\MIDI_synth.ino.cpp" -o "C:\Users\Rob\AppData\Local\Temp\build1e3e27f8dbda92ead9de64c833e7c84f.tmp\sketch\MIDI_synth.ino.cpp.o"
In file included from C:\Users\Rob\Documents\Arduino\libraries\the_synth/synth.h:12:0,

                 from C:\Users\Rob\Documents\Arduino\libraries\the_synth\examples\MIDI_synth\MIDI_synth.ino:28:

tables.h:57: error: variable 'SinTable' must be const in order to be put into read-only section by means of '__attribute__((progmem))'

 PROGMEM char SinTable[]=

                       ^

tables.h:317: error: variable 'TriangleTable' must be const in order to be put into read-only section by means of '__attribute__((progmem))'

 PROGMEM char TriangleTable[]=

                            ^

tables.h:577: error: variable 'SquareTable' must be const in order to be put into read-only section by means of '__attribute__((progmem))'

 PROGMEM char  SquareTable[]=

                           ^

tables.h:836: error: variable 'SawTable' must be const in order to be put into read-only section by means of '__attribute__((progmem))'

 PROGMEM char SawTable[]=

                       ^

tables.h:1095: error: variable 'RampTable' must be const in order to be put into read-only section by means of '__attribute__((progmem))'

 PROGMEM char RampTable[]=

                        ^

tables.h:1354: error: variable 'NoiseTable' must be const in order to be put into read-only section by means of '__attribute__((progmem))'

 PROGMEM char NoiseTable[]=

                         ^

tables.h:1613: error: variable 'Env0' must be const in order to be put into read-only section by means of '__attribute__((progmem))'

 PROGMEM char Env0[]=

                   ^

tables.h:1746: error: variable 'Env1' must be const in order to be put into read-only section by means of '__attribute__((progmem))'

 PROGMEM char Env1[]=

                   ^

tables.h:1880: error: variable 'Env2' must be const in order to be put into read-only section by means of '__attribute__((progmem))'

 PROGMEM char Env2[]=

                   ^

tables.h:2014: error: variable 'Env3' must be const in order to be put into read-only section by means of '__attribute__((progmem))'

 PROGMEM char Env3[]=

                   ^

Using library the_synth in folder: C:\Users\Rob\Documents\Arduino\libraries\the_synth (legacy)
exit status 1
variable 'SinTable' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
const char Env0[] PROGMEM

Amazingly, it's set out here

AWOL:

const char Env0[] PROGMEM

Amazingly, it's set out here

Thanks. I'm learning. :confused:

OK, so... "const" is already in the code. It's just not working. I decided to try it in 1.06 and BAM! Bob's my uncle. :wink: