Hello. I’m trying to upload my config on a new saber but am getting an error message (see below) and need assistance resolving the issue. Thanks!
Arduino: 1.8.19 (Mac OS X), Board: "Proffieboard V2, Serial + Mass Storage, SDCARD (SPI), 80 MHz, Smallest Code"
In file included from /Volumes/Personal/Lightsaber/1. Proffie/Proffie OS/BENJI MHS/ProffieOS/ProffieOS.ino:563:
/Volumes/Personal/Lightsaber/1. Proffie/Proffie OS/BENJI MHS/ProffieOS/config/Benji_Renzo_mod1.h:37:266: error: cannot convert 'const char*' to 'StyleFactory*' in initialization
37 | StylePtr<Layers<Stripes<16000,-1000,RgbArg<BASE_COLOR_ARG,Rgb<255,255,0>>,Pulsing<Mix<Int<11565>,Black,RgbArg<BASE_COLOR_ARG,Rgb<255,255,0>>>,RgbArg<BASE_COLOR_ARG,Rgb<255,255,0>>,800>,RgbArg<BASE_COLOR_ARG,Rgb<255,255,0>>>,InOutTrL<TrInstant,TrInstant,Black>>>(), "0"},
| ^~~
| |
| const char*
In file included from /Volumes/Personal/Lightsaber/1. Proffie/Proffie OS/BENJI MHS/ProffieOS/ProffieOS.ino:563:
/Volumes/Personal/Lightsaber/1. Proffie/Proffie OS/BENJI MHS/ProffieOS/config/Benji_Renzo_mod1.h:38:727: error: cannot convert 'StyleFactory*' to 'const char*' in initialization
38 | StylePtr<Layers<TransitionLoop<Black,TrConcat<TrWipeIn<200>,RotateColorsX<Variation,DeepSkyBlue>,TrWipeIn<200>>>,TransitionEffectL<TrConcat<TrInstant,White,TrFade<400>>,EFFECT_BLAST>,LockupTrL<AudioFlickerL<White>,TrInstant,TrFade<500>,SaberBase::LOCKUP_NORMAL>,LockupTrL<AudioFlickerL<White>,TrInstant,TrFade<500>,SaberBase::LOCKUP_LIGHTNING_BLOCK>,TransitionEffectL<TrConcat<TrInstant,White,TrFade<400>>,EFFECT_CLASH>,TransitionEffectL<TrConcat<TrInstant,AudioFlickerL<White>,TrFade<1200>>,EFFECT_IGNITION>,InOutTrL<TrFade<500>,TrFade<500>,TransitionLoop<Black,TrConcat<TrWipeIn<1000>,RotateColorsX<Variation,Red>,TrWipeIn<1000>>>>,TransitionEffectL<TrConcat<TrInstant,AudioFlickerL<White>,TrFade<1200>>,EFFECT_RETRACTION>>>(), "blue"},
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
| |
| StyleFactory*
In file included from /Volumes/Personal/Lightsaber/1. Proffie/Proffie OS/BENJI MHS/ProffieOS/ProffieOS.ino:563:
/Volumes/Personal/Lightsaber/1. Proffie/Proffie OS/BENJI MHS/ProffieOS/config/Benji_Renzo_mod1.h:40:1: error: expected unqualified-id before '{' token
40 | { "Vengeance;common", "tracks/MalgusTheme.wav",
| ^
In file included from /Volumes/Personal/Lightsaber/1. Proffie/Proffie OS/BENJI MHS/ProffieOS/ProffieOS.ino:563:
/Volumes/Personal/Lightsaber/1. Proffie/Proffie OS/BENJI MHS/ProffieOS/config/Benji_Renzo_mod1.h:42:544: error: expected unqualified-id before ',' token
42 | StylePtr<Layers<Stripes<16000,-1000,RotateColorsX<Variation,Red>,Pulsing<RotateColorsX<Variation,Rgb<90,0,0>>,RotateColorsX<Variation,Red>,800>,RotateColorsX<Variation,Red>>,TransitionEffectL<TrConcat<TrFade<600>,RandomFlicker<RotateColorsX<Variation,Red>,RotateColorsX<Variation,Rgb<160,0,0>>>,TrDelay<30000>,RotateColorsX<Variation,Red>,TrFade<800>>,EFFECT_FORCE>,InOutTrL<TrInstant,TrFade<300>,Mix<IsLessThan<SlowNoise<Int<3000>>,Int<10000>>,RandomFlicker<RotateColorsX<Variation,Red>,RotateColorsX<Variation,Rgb<90,0,0>>>,Black>>>>(), "0"},
| ^
In file included from /Volumes/Personal/Lightsaber/1. Proffie/Proffie OS/BENJI MHS/ProffieOS/ProffieOS.ino:563:
/Volumes/Personal/Lightsaber/1. Proffie/Proffie OS/BENJI MHS/ProffieOS/config/Benji_Renzo_mod1.h:43:1: error: specializing member '::StylePtr<Layers<Layers<Rgb<0, 0, 0>, TransitionLoopL<TrConcat<TrWipeInX<SingleValueAdapter<IntSVF<200> > >, RotateColorsX<SingleValueAdapter<VariationSVF>, Rgb<0, 135, 255> >, TrWipeInX<SingleValueAdapter<IntSVF<200> > > > > >, TransitionEffectL<TrConcat<TrInstant, Rgb<255, 255, 255>, TrFadeX<SingleValueAdapter<IntSVF<400> > > >, EffectType::EFFECT_BLAST>, LockupTrL<AlphaL<Rgb<255, 255, 255>, SingleValueAdapter<NoisySoundLevelCompatSVF> >, TrInstant, TrFadeX<SingleValueAdapter<IntSVF<500> > >, SaberBase::LOCKUP_NORMAL>, LockupTrL<AlphaL<Rgb<255, 255, 255>, SingleValueAdapter<NoisySoundLevelCompatSVF> >, TrInstant, TrFadeX<SingleValueAdapter<IntSVF<500> > >, SaberBase::LOCKUP_LIGHTNING_BLOCK>, TransitionEffectL<TrConcat<TrInstant, Rgb<255, 255, 255>, TrFadeX<SingleValueAdapter<IntSVF<400> > > >, EffectType::EFFECT_CLASH>, TransitionEffectL<TrConcat<TrInstant, AlphaL<Rgb<255, 255, 255>, SingleValueAdapter<NoisySoundLevelCompatSVF> >, TrFadeX<SingleValueAdapter<IntSVF<1200> > > >, EffectType::EFFECT_IGNITION>, InOutTrL<TrFadeX<SingleValueAdapter<IntSVF<500> > >, TrFadeX<SingleValueAdapter<IntSVF<500> > >, Layers<Rgb<0, 0, 0>, TransitionLoopL<TrConcat<TrWipeInX<SingleValueAdapter<IntSVF<1000> > >, RotateColorsX<SingleValueAdapter<VariationSVF>, Rgb<255, 0, 0> >, TrWipeInX<SingleValueAdapter<IntSVF<1000> > > > > >, true>, TransitionEffectL<TrConcat<TrInstant, AlphaL<Rgb<255, 255, 255>, SingleValueAdapter<NoisySoundLevelCompatSVF> >, TrFadeX<SingleValueAdapter<IntSVF<1200> > > >, EffectType::EFFECT_RETRACTION> > >' requires 'template<>' syntax
43 | StylePtr<Layers<TransitionLoop<Black,TrConcat<TrWipeIn<200>,RotateColorsX<Variation,DeepSkyBlue>,TrWipeIn<200>>>,TransitionEffectL<TrConcat<TrInstant,White,TrFade<400>>,EFFECT_BLAST>,LockupTrL<AudioFlickerL<White>,TrInstant,TrFade<500>,SaberBase::LOCKUP_NORMAL>,LockupTrL<AudioFlickerL<White>,TrInstant,TrFade<500>,SaberBase::LOCKUP_LIGHTNING_BLOCK>,TransitionEffectL<TrConcat<TrInstant,White,TrFade<400>>,EFFECT_CLASH>,TransitionEffectL<TrConcat<TrInstant,AudioFlickerL<White>,TrFade<1200>>,EFFECT_IGNITION>,InOutTrL<TrFade<500>,TrFade<500>,TransitionLoop<Black,TrConcat<TrWipeIn<1000>,RotateColorsX<Variation,Red>,TrWipeIn<1000>>>>,TransitionEffectL<TrConcat<TrInstant,AudioFlickerL<White>,TrFade<1200>>,EFFECT_RETRACTION>>>(), "blue"},
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Personal/Lightsaber/1. Proffie/Proffie OS/BENJI MHS/ProffieOS/config/Benji_Renzo_mod1.h:43:731: error: expected unqualified-id before string constant
43 | StylePtr<Layers<TransitionLoop<Black,TrConcat<TrWipeIn<200>,RotateColorsX<Variation,DeepSkyBlue>,TrWipeIn<200>>>,TransitionEffectL<TrConcat<TrInstant,White,TrFade<400>>,EFFECT_BLAST>,LockupTrL<AudioFlickerL<White>,TrInstant,TrFade<500>,SaberBase::LOCKUP_NORMAL>,LockupTrL<AudioFlickerL<White>,TrInstant,TrFade<500>,SaberBase::LOCKUP_LIGHTNING_BLOCK>,TransitionEffectL<TrConcat<TrInstant,White,TrFade<400>>,EFFECT_CLASH>,TransitionEffectL<TrConcat<TrInstant,AudioFlickerL<White>,TrFade<1200>>,EFFECT_IGNITION>,InOutTrL<TrFade<500>,TrFade<500>,TransitionLoop<Black,TrConcat<TrWipeIn<1000>,RotateColorsX<Variation,Red>,TrWipeIn<1000>>>>,TransitionEffectL<TrConcat<TrInstant,AudioFlickerL<White>,TrFade<1200>>,EFFECT_RETRACTION>>>(), "blue"},
| ^~~~~~
/Volumes/Personal/Lightsaber/1. Proffie/Proffie OS/BENJI MHS/ProffieOS/config/Benji_Renzo_mod1.h:43:737: error: expected declaration before '}' token
43 | StylePtr<Layers<TransitionLoop<Black,TrConcat<TrWipeIn<200>,RotateColorsX<Variation,DeepSkyBlue>,TrWipeIn<200>>>,TransitionEffectL<TrConcat<TrInstant,White,TrFade<400>>,EFFECT_BLAST>,LockupTrL<AudioFlickerL<White>,TrInstant,TrFade<500>,SaberBase::LOCKUP_NORMAL>,LockupTrL<AudioFlickerL<White>,TrInstant,TrFade<500>,SaberBase::LOCKUP_LIGHTNING_BLOCK>,TransitionEffectL<TrConcat<TrInstant,White,TrFade<400>>,EFFECT_CLASH>,TransitionEffectL<TrConcat<TrInstant,AudioFlickerL<White>,TrFade<1200>>,EFFECT_IGNITION>,InOutTrL<TrFade<500>,TrFade<500>,TransitionLoop<Black,TrConcat<TrWipeIn<1000>,RotateColorsX<Variation,Red>,TrWipeIn<1000>>>>,TransitionEffectL<TrConcat<TrInstant,AudioFlickerL<White>,TrFade<1200>>,EFFECT_RETRACTION>>>(), "blue"},
| ^
/Volumes/Personal/Lightsaber/1. Proffie/Proffie OS/BENJI MHS/ProffieOS/config/Benji_Renzo_mod1.h:43:738: error: expected unqualified-id before ',' token
43 | StylePtr<Layers<TransitionLoop<Black,TrConcat<TrWipeIn<200>,RotateColorsX<Variation,DeepSkyBlue>,TrWipeIn<200>>>,TransitionEffectL<TrConcat<TrInstant,White,TrFade<400>>,EFFECT_BLAST>,LockupTrL<AudioFlickerL<White>,TrInstant,TrFade<500>,SaberBase::LOCKUP_NORMAL>,LockupTrL<AudioFlickerL<White>,TrInstant,TrFade<500>,SaberBase::LOCKUP_LIGHTNING_BLOCK>,TransitionEffectL<TrConcat<TrInstant,White,TrFade<400>>,EFFECT_CLASH>,TransitionEffectL<TrConcat<TrInstant,AudioFlickerL<White>,TrFade<1200>>,EFFECT_IGNITION>,InOutTrL<TrFade<500>,TrFade<500>,TransitionLoop<Black,TrConcat<TrWipeIn<1000>,RotateColorsX<Variation,Red>,TrWipeIn<1000>>>>,TransitionEffectL<TrConcat<TrInstant,AudioFlickerL<White>,TrFade<1200>>,EFFECT_RETRACTION>>>(), "blue"},
| ^
In file included from /Volumes/Personal/Lightsaber/1. Proffie/Proffie OS/BENJI MHS/ProffieOS/ProffieOS.ino:563:
/Volumes/Personal/Lightsaber/1. Proffie/Proffie OS/BENJI MHS/ProffieOS/config/Benji_Renzo_mod1.h:46:1: error: expected unqualified-id before '}' token
46 | };
| ^
/Volumes/Personal/Lightsaber/1. Proffie/Proffie OS/BENJI MHS/ProffieOS/config/Benji_Renzo_mod1.h:46:1: error: expected declaration before '}' token
exit status 1
Error compiling for board Proffieboard V2.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.