Hello,
I try to use the FFT library from Open Music Labs but I have trouble at compilation:
In file included from fht_adc.pde:14:0:
/home/guillaume/sketchbook/libraries/FHT/FHT.h:72:38: error: variable ‘_cas_constants’ must be const in order to be put into read-only section by means of ‘attribute((progmem))’
PROGMEM prog_int16_t _cas_constants[] = {
- ^*
In file included from fht_adc.pde:14:0:
/home/guillaume/sketchbook/libraries/FHT/FHT.h:87:40: error: variable ‘_reorder_table’ must be const in order to be put into read-only section by means of ‘attribute((progmem))’ - PROGMEM prog_uint8_t _reorder_table = {*
- ^*
In file included from fht_adc.pde:14:0:
/home/guillaume/sketchbook/libraries/FHT/FHT.h:103:36: error: variable ‘_log_table’ must be const in order to be put into read-only section by means of ‘attribute((progmem))’ - PROGMEM prog_uint8_t _log_table = {*
- ^*
In file included from fht_adc.pde:14:0:
/home/guillaume/sketchbook/libraries/FHT/FHT.h:131:38: error: variable ‘_window_func’ must be const in order to be put into read-only section by means of ‘attribute((progmem))’ - PROGMEM prog_int16_t _window_func = {*
- ^*
So I tried adding const a each of these but I get other problems :
/home/guillaume/sketchbook/libraries/FHT/FHT.h:1246: référence indéfinie vers « _window_func »
Does anybody had these problem ?
Thanks for the help