Hi all,
I wanted to update my Atmegatron (SN below120). However when I use the SSAtmAtmegatron.ino I get a compiling error for the BiquadFilter.h. Atcyclotron and Delayertron are compiling without error and running on the hardware. I used the latest files from the website.
Error message:
\Arduino\libraries\BiquadFilter/BiquadFilter.h:50:35: error: 'constexpr' needed for in-class initialization of static data member 'const float BiquadFilter::MAX_ENV_LFO' of non-integral type [-fpermissive]
static const float MAX_ENV_LFO = 1.386294361119891;
^
\Arduino\libraries\BiquadFilter/BiquadFilter.h:53:29: error: 'constexpr' needed for in-class initialization of static data member 'const float BiquadFilter::MIN_Q' of non-integral type [-fpermissive]
static const float MIN_Q = 0.5;
^
\Arduino\libraries\BiquadFilter/BiquadFilter.h:54:30: error: 'constexpr' needed for in-class initialization of static data member 'const float BiquadFilter::MULT_Q' of non-integral type [-fpermissive]
static const float MULT_Q = 0.076470588235294;
^
exit status 1
I wanted to update my Atmegatron (SN below120). However when I use the SSAtmAtmegatron.ino I get a compiling error for the BiquadFilter.h. Atcyclotron and Delayertron are compiling without error and running on the hardware. I used the latest files from the website.
Error message:
\Arduino\libraries\BiquadFilter/BiquadFilter.h:50:35: error: 'constexpr' needed for in-class initialization of static data member 'const float BiquadFilter::MAX_ENV_LFO' of non-integral type [-fpermissive]
static const float MAX_ENV_LFO = 1.386294361119891;
^
\Arduino\libraries\BiquadFilter/BiquadFilter.h:53:29: error: 'constexpr' needed for in-class initialization of static data member 'const float BiquadFilter::MIN_Q' of non-integral type [-fpermissive]
static const float MIN_Q = 0.5;
^
\Arduino\libraries\BiquadFilter/BiquadFilter.h:54:30: error: 'constexpr' needed for in-class initialization of static data member 'const float BiquadFilter::MULT_Q' of non-integral type [-fpermissive]
static const float MULT_Q = 0.076470588235294;
^
exit status 1