KR ECO-HERO config, huge list of errors in ProffieOS

Asked KR for a config of the ECO-HERO basic chassis, was sent ECO_Hero.h (4.9 KB)

After plugging into my config files folder in ProffieOS, flashing my saber (still WIP but is functional enough to run on battery power and have sound) and trying to install on ProffieOS got a HUGE list of errors. Here’s the list. I have no clue what’s wrong, I’m still pretty new to doing serious editing on ProffieOS, and I’ve never done accent LEDS before.

Arduino: 1.8.13 (Windows 10), Board: "Proffieboard V2, Serial, SDCARD (SPI), 80 MHz, Smallest Code"

In file included from C:\Users\orang\Desktop\ProffieOS\ProffieOS.ino:52:

sketch\config/ECOHERO_config.h:74:1: error: 'StylePtr' does not name a type

   74 | StylePtr<Layers<Blinking<Green,Black,500,500>,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>,InOutTrL<TrFade<500>,TrFade<500>,Blinking<Green,Black,500,500>>>>()

      | ^~~~~~~~

In file included from C:\Users\orang\Desktop\ProffieOS\ProffieOS.ino:592:

sketch\config/ECOHERO_config.h:74:1: error: specializing member '::StylePtr<Layers<Layers<Rgb<0, 255, 0>, AlphaL<Rgb<0, 0, 0>, BlinkingF<Int<500>, Int<500> > > >, TransitionEffectL<TrConcat<TrInstant, Rgb<255, 255, 255>, TrFadeX<Int<400> > >, EffectType::EFFECT_BLAST>, LockupTrL<AlphaL<Rgb<255, 255, 255>, NoisySoundLevelCompat>, TrInstant, TrFadeX<Int<500> >, SaberBase::LOCKUP_NORMAL>, LockupTrL<AlphaL<Rgb<255, 255, 255>, NoisySoundLevelCompat>, TrInstant, TrFadeX<Int<500> >, SaberBase::LOCKUP_LIGHTNING_BLOCK>, TransitionEffectL<TrConcat<TrInstant, Rgb<255, 255, 255>, TrFadeX<Int<400> > >, EffectType::EFFECT_CLASH>, InOutTrL<TrFadeX<Int<500> >, TrFadeX<Int<500> >, Layers<Rgb<0, 255, 0>, AlphaL<Rgb<0, 0, 0>, BlinkingF<Int<500>, Int<500> > > >, true> > >' requires 'template<>' syntax

   74 | StylePtr<Layers<Blinking<Green,Black,500,500>,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>,InOutTrL<TrFade<500>,TrFade<500>,Blinking<Green,Black,500,500>>>>()

      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from c:\users\orang\appdata\local\temp\arduino_build_515855\sketch\props\saber_sa22c_buttons.h:82,

                 from sketch\config/ECOHERO_config.h:23,

                 from C:\Users\orang\Desktop\ProffieOS\ProffieOS.ino:596:

c:\users\orang\appdata\local\temp\arduino_build_515855\sketch\props\prop_base.h:443:3: error: 'SaveGlobalStateFile' does not name a type; did you mean 'SavePresetStateFile'?

  443 |   SaveGlobalStateFile saved_global_state;

      |   ^~~~~~~~~~~~~~~~~~~

      |   SavePresetStateFile

c:\users\orang\appdata\local\temp\arduino_build_515855\sketch\props\prop_base.h: In member function 'void PropBase::SaveVolumeIfNeeded()':

c:\users\orang\appdata\local\temp\arduino_build_515855\sketch\props\prop_base.h:247:39: error: 'saved_global_state' was not declared in this scope; did you mean 'SaveGlobalState'?

  247 |     if (dynamic_mixer.get_volume() != saved_global_state.volume) {

      |                                       ^~~~~~~~~~~~~~~~~~

      |                                       SaveGlobalState

c:\users\orang\appdata\local\temp\arduino_build_515855\sketch\props\prop_base.h: In member function 'void PropBase::RestoreGlobalState()':

c:\users\orang\appdata\local\temp\arduino_build_515855\sketch\props\prop_base.h:446:5: error: 'saved_global_state' was not declared in this scope; did you mean 'SaveGlobalState'?

  446 |     saved_global_state.ReadINIFromDir(NULL, "global");

      |     ^~~~~~~~~~~~~~~~~~

      |     SaveGlobalState

c:\users\orang\appdata\local\temp\arduino_build_515855\sketch\props\prop_base.h: In member function 'void PropBase::SaveGlobalState()':

c:\users\orang\appdata\local\temp\arduino_build_515855\sketch\props\prop_base.h:472:5: error: 'saved_global_state' was not declared in this scope; did you mean 'SaveGlobalState'?

  472 |     saved_global_state.volume = dynamic_mixer.get_volume();

      |     ^~~~~~~~~~~~~~~~~~

      |     SaveGlobalState

In file included from C:\Users\orang\Desktop\ProffieOS\ProffieOS.ino:596:

sketch\config/ECOHERO_config.h: At global scope:

sketch\config/ECOHERO_config.h:74:1: error: specializing member '::StylePtr<Layers<Layers<Rgb<0, 255, 0>, AlphaL<Rgb<0, 0, 0>, BlinkingF<Int<500>, Int<500> > > >, TransitionEffectL<TrConcat<TrInstant, Rgb<255, 255, 255>, TrFadeX<Int<400> > >, EffectType::EFFECT_BLAST>, LockupTrL<AlphaL<Rgb<255, 255, 255>, NoisySoundLevelCompat>, TrInstant, TrFadeX<Int<500> >, SaberBase::LOCKUP_NORMAL>, LockupTrL<AlphaL<Rgb<255, 255, 255>, NoisySoundLevelCompat>, TrInstant, TrFadeX<Int<500> >, SaberBase::LOCKUP_LIGHTNING_BLOCK>, TransitionEffectL<TrConcat<TrInstant, Rgb<255, 255, 255>, TrFadeX<Int<400> > >, EffectType::EFFECT_CLASH>, InOutTrL<TrFadeX<Int<500> >, TrFadeX<Int<500> >, Layers<Rgb<0, 255, 0>, AlphaL<Rgb<0, 0, 0>, BlinkingF<Int<500>, Int<500> > > >, true> > >' requires 'template<>' syntax

   74 | StylePtr<Layers<Blinking<Green,Black,500,500>,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>,InOutTrL<TrFade<500>,TrFade<500>,Blinking<Green,Black,500,500>>>>()

      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from C:\Users\orang\Desktop\ProffieOS\ProffieOS.ino:621:

sketch\buttons/latching_button.h: In member function 'void LatchingButtonTemplate<BASE>::Loop()':

sketch\buttons/latching_button.h:33:7: error: 'prop' was not declared in this scope

   33 |       prop.Event(button_, EVENT_LATCH_ON);

      |       ^~~~

sketch\buttons/latching_button.h: In member function 'bool LatchingButtonTemplate<BASE>::Parse(const char*, const char*)':

sketch\buttons/latching_button.h:43:9: error: 'prop' was not declared in this scope

   43 |         prop.Event(button_, EVENT_LATCH_ON);

      |         ^~~~

sketch\buttons/latching_button.h:45:9: error: 'prop' was not declared in this scope

   45 |         prop.Event(button_, EVENT_LATCH_OFF);

      |         ^~~~

In file included from sketch\buttons/button.h:4,

                 from C:\Users\orang\Desktop\ProffieOS\ProffieOS.ino:622:

sketch\buttons/button_base.h: In member function 'bool ButtonBase::Send(uint32_t)':

sketch\buttons/button_base.h:51:10: error: 'prop' was not declared in this scope

   51 |     if (!prop.Event(button_, (EVENT)(event + (EVENT_SECOND_PRESSED - EVENT_FIRST_PRESSED) * press_count_))) {

      |          ^~~~

In file included from C:\Users\orang\Desktop\ProffieOS\ProffieOS.ino:650:

sketch\config/ECOHERO_config.h: At global scope:

sketch\config/ECOHERO_config.h:74:1: error: specializing member '::StylePtr<Layers<Layers<Rgb<0, 255, 0>, AlphaL<Rgb<0, 0, 0>, BlinkingF<Int<500>, Int<500> > > >, TransitionEffectL<TrConcat<TrInstant, Rgb<255, 255, 255>, TrFadeX<Int<400> > >, EffectType::EFFECT_BLAST>, LockupTrL<AlphaL<Rgb<255, 255, 255>, NoisySoundLevelCompat>, TrInstant, TrFadeX<Int<500> >, SaberBase::LOCKUP_NORMAL>, LockupTrL<AlphaL<Rgb<255, 255, 255>, NoisySoundLevelCompat>, TrInstant, TrFadeX<Int<500> >, SaberBase::LOCKUP_LIGHTNING_BLOCK>, TransitionEffectL<TrConcat<TrInstant, Rgb<255, 255, 255>, TrFadeX<Int<400> > >, EffectType::EFFECT_CLASH>, InOutTrL<TrFadeX<Int<500> >, TrFadeX<Int<500> >, Layers<Rgb<0, 255, 0>, AlphaL<Rgb<0, 0, 0>, BlinkingF<Int<500>, Int<500> > > >, true> > >' requires 'template<>' syntax

   74 | StylePtr<Layers<Blinking<Green,Black,500,500>,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>,InOutTrL<TrFade<500>,TrFade<500>,Blinking<Green,Black,500,500>>>>()

      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from C:\Users\orang\Desktop\ProffieOS\ProffieOS.ino:658:

sketch\common/sd_test.h:144:3: error: 'SDTestHistogram' does not name a type

  144 |   SDTestHistogram histogram;

      |   ^~~~~~~~~~~~~~~

sketch\common/sd_test.h:145:3: error: 'SDTestHistogram' does not name a type

  145 |   SDTestHistogram open_histogram;

      |   ^~~~~~~~~~~~~~~

sketch\common/sd_test.h: In member function 'void SDTestHelper::Print()':

sketch\common/sd_test.h:58:5: error: 'open_histogram' was not declared in this scope

   58 |     open_histogram.print_averages();

      |     ^~~~~~~~~~~~~~

sketch\common/sd_test.h:61:5: error: 'histogram' was not declared in this scope

   61 |     histogram.print_speed();

      |     ^~~~~~~~~

sketch\common/sd_test.h: In member function 'void SDTestHelper::TestFile(const char*)':

sketch\common/sd_test.h:72:5: error: 'open_histogram' was not declared in this scope

   72 |     open_histogram.count(micros() - start_open);

      |     ^~~~~~~~~~~~~~

sketch\common/sd_test.h:80:7: error: 'histogram' was not declared in this scope

   80 |       histogram.count(end - start);

      |       ^~~~~~~~~

In file included from C:\Users\orang\Desktop\ProffieOS\ProffieOS.ino:1660:

sketch\motion/mpu6050.h: In member function 'virtual void MPU6050::Loop()':

sketch\motion/mpu6050.h:243:13: error: 'prop' was not declared in this scope

  243 |             prop.DoAccel(

      |             ^~~~

sketch\motion/mpu6050.h:251:13: error: 'prop' was not declared in this scope

  251 |             prop.DoMotion(

      |             ^~~~

In file included from C:\Users\orang\Desktop\ProffieOS\ProffieOS.ino:1661:

sketch\motion/lsm6ds3h.h: In member function 'virtual void LSM6DS3H::Loop()':

sketch\motion/lsm6ds3h.h:149:2: error: 'prop' was not declared in this scope

  149 |  prop.DoAccel(

      |  ^~~~

In file included from C:\Users\orang\Desktop\ProffieOS\ProffieOS.ino:1662:

sketch\motion/fxos8700.h: In member function 'virtual void FXOS8700::Loop()':

sketch\motion/fxos8700.h:169:6: error: 'prop' was not declared in this scope

  169 |      prop.DoAccel(

      |      ^~~~

In file included from C:\Users\orang\Desktop\ProffieOS\ProffieOS.ino:1663:

sketch\motion/fxas21002.h: In member function 'virtual void FXAS21002::Loop()':

sketch\motion/fxas21002.h:72:6: error: 'prop' was not declared in this scope

   72 |      prop.DoMotion(MotionUtil::FromData(databuffer,

      |      ^~~~

In file included from C:\Users\orang\Desktop\ProffieOS\ProffieOS.ino:1683:

sketch\common/booster.h: In member function 'bool Booster::Active()':

sketch\common/booster.h:20:9: error: 'prop' was not declared in this scope

   20 |     if (prop.NeedsPower()) return true;

      |         ^~~~

C:\Users\orang\Desktop\ProffieOS\ProffieOS.ino: In function 'void setup()':

ProffieOS:1779:3: error: 'prop' was not declared in this scope

 1779 |   prop.FindBlade();

      |   ^~~~

In file included from C:\Users\orang\Desktop\ProffieOS\ProffieOS.ino:1811:

sketch\common/clock_control.h: In member function 'virtual void ClockControl::Loop()':

sketch\common/clock_control.h:17:5: error: 'prop' was not declared in this scope

   17 |  || prop.NeedsPower()

      |     ^~~~

exit status 1

'prop' was not declared in this scope



This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Also, apologies for the unconventional formatting. I’m new to this place, and this seemed like one of the only places I could get help with this.

You seem to have an extra blade style at the end of your config file (line 74) try removing that and see if it works better.

removed extra blade style, unfortunately still a huge block of errors. I’m noticing a lot of ‘prop’ not defined in this scope?

Please post the errors you’re seeing now, as they tend to change a lot every time you make changes.
The recommended way to post errors is basically what you did at the top post, but with three backticks (`) on a separate line before and after the paste. (I edited your top post to do that, doesn’t it look better now?)

This actually looks pretty nice


Arduino: 1.8.13 (Windows 10), Board: "Proffieboard V2, Serial, SDCARD (SPI), 80 MHz, Smallest Code"


In file included from C:\Users\orang\Desktop\ProffieOS\ProffieOS.ino:52:

sketch\config/ECOHERO_config.h:74:1: error: 'StylePtr' does not name a type

   74 | StylePtr<Layers<Blinking<Green,Black,500,500>,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>,InOutTrL<TrFade<500>,TrFade<500>,Blinking<Green,Black,500,500>>>>()

      | ^~~~~~~~

In file included from C:\Users\orang\Desktop\ProffieOS\ProffieOS.ino:592:

sketch\config/ECOHERO_config.h:74:1: error: specializing member '::StylePtr<Layers<Layers<Rgb<0, 255, 0>, AlphaL<Rgb<0, 0, 0>, BlinkingF<Int<500>, Int<500> > > >, TransitionEffectL<TrConcat<TrInstant, Rgb<255, 255, 255>, TrFadeX<Int<400> > >, EffectType::EFFECT_BLAST>, LockupTrL<AlphaL<Rgb<255, 255, 255>, NoisySoundLevelCompat>, TrInstant, TrFadeX<Int<500> >, SaberBase::LOCKUP_NORMAL>, LockupTrL<AlphaL<Rgb<255, 255, 255>, NoisySoundLevelCompat>, TrInstant, TrFadeX<Int<500> >, SaberBase::LOCKUP_LIGHTNING_BLOCK>, TransitionEffectL<TrConcat<TrInstant, Rgb<255, 255, 255>, TrFadeX<Int<400> > >, EffectType::EFFECT_CLASH>, InOutTrL<TrFadeX<Int<500> >, TrFadeX<Int<500> >, Layers<Rgb<0, 255, 0>, AlphaL<Rgb<0, 0, 0>, BlinkingF<Int<500>, Int<500> > > >, true> > >' requires 'template<>' syntax

   74 | StylePtr<Layers<Blinking<Green,Black,500,500>,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>,InOutTrL<TrFade<500>,TrFade<500>,Blinking<Green,Black,500,500>>>>()

      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from c:\users\orang\appdata\local\temp\arduino_build_351624\sketch\props\saber_sa22c_buttons.h:82,

                 from sketch\config/ECOHERO_config.h:23,

                 from C:\Users\orang\Desktop\ProffieOS\ProffieOS.ino:596:

c:\users\orang\appdata\local\temp\arduino_build_351624\sketch\props\prop_base.h:443:3: error: 'SaveGlobalStateFile' does not name a type; did you mean 'SavePresetStateFile'?

  443 |   SaveGlobalStateFile saved_global_state;

      |   ^~~~~~~~~~~~~~~~~~~

      |   SavePresetStateFile

c:\users\orang\appdata\local\temp\arduino_build_351624\sketch\props\prop_base.h: In member function 'void PropBase::SaveVolumeIfNeeded()':

c:\users\orang\appdata\local\temp\arduino_build_351624\sketch\props\prop_base.h:247:39: error: 'saved_global_state' was not declared in this scope; did you mean 'SaveGlobalState'?

  247 |     if (dynamic_mixer.get_volume() != saved_global_state.volume) {

      |                                       ^~~~~~~~~~~~~~~~~~

      |                                       SaveGlobalState

c:\users\orang\appdata\local\temp\arduino_build_351624\sketch\props\prop_base.h: In member function 'void PropBase::RestoreGlobalState()':

c:\users\orang\appdata\local\temp\arduino_build_351624\sketch\props\prop_base.h:446:5: error: 'saved_global_state' was not declared in this scope; did you mean 'SaveGlobalState'?

  446 |     saved_global_state.ReadINIFromDir(NULL, "global");

      |     ^~~~~~~~~~~~~~~~~~

      |     SaveGlobalState

c:\users\orang\appdata\local\temp\arduino_build_351624\sketch\props\prop_base.h: In member function 'void PropBase::SaveGlobalState()':

c:\users\orang\appdata\local\temp\arduino_build_351624\sketch\props\prop_base.h:472:5: error: 'saved_global_state' was not declared in this scope; did you mean 'SaveGlobalState'?

  472 |     saved_global_state.volume = dynamic_mixer.get_volume();

      |     ^~~~~~~~~~~~~~~~~~

      |     SaveGlobalState

In file included from C:\Users\orang\Desktop\ProffieOS\ProffieOS.ino:596:

sketch\config/ECOHERO_config.h: At global scope:

sketch\config/ECOHERO_config.h:74:1: error: specializing member '::StylePtr<Layers<Layers<Rgb<0, 255, 0>, AlphaL<Rgb<0, 0, 0>, BlinkingF<Int<500>, Int<500> > > >, TransitionEffectL<TrConcat<TrInstant, Rgb<255, 255, 255>, TrFadeX<Int<400> > >, EffectType::EFFECT_BLAST>, LockupTrL<AlphaL<Rgb<255, 255, 255>, NoisySoundLevelCompat>, TrInstant, TrFadeX<Int<500> >, SaberBase::LOCKUP_NORMAL>, LockupTrL<AlphaL<Rgb<255, 255, 255>, NoisySoundLevelCompat>, TrInstant, TrFadeX<Int<500> >, SaberBase::LOCKUP_LIGHTNING_BLOCK>, TransitionEffectL<TrConcat<TrInstant, Rgb<255, 255, 255>, TrFadeX<Int<400> > >, EffectType::EFFECT_CLASH>, InOutTrL<TrFadeX<Int<500> >, TrFadeX<Int<500> >, Layers<Rgb<0, 255, 0>, AlphaL<Rgb<0, 0, 0>, BlinkingF<Int<500>, Int<500> > > >, true> > >' requires 'template<>' syntax

   74 | StylePtr<Layers<Blinking<Green,Black,500,500>,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>,InOutTrL<TrFade<500>,TrFade<500>,Blinking<Green,Black,500,500>>>>()

      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from C:\Users\orang\Desktop\ProffieOS\ProffieOS.ino:621:

sketch\buttons/latching_button.h: In member function 'void LatchingButtonTemplate<BASE>::Loop()':

sketch\buttons/latching_button.h:33:7: error: 'prop' was not declared in this scope

   33 |       prop.Event(button_, EVENT_LATCH_ON);

      |       ^~~~

sketch\buttons/latching_button.h: In member function 'bool LatchingButtonTemplate<BASE>::Parse(const char*, const char*)':

sketch\buttons/latching_button.h:43:9: error: 'prop' was not declared in this scope

   43 |         prop.Event(button_, EVENT_LATCH_ON);

      |         ^~~~

sketch\buttons/latching_button.h:45:9: error: 'prop' was not declared in this scope

   45 |         prop.Event(button_, EVENT_LATCH_OFF);

      |         ^~~~

In file included from sketch\buttons/button.h:4,

                 from C:\Users\orang\Desktop\ProffieOS\ProffieOS.ino:622:

sketch\buttons/button_base.h: In member function 'bool ButtonBase::Send(uint32_t)':

sketch\buttons/button_base.h:51:10: error: 'prop' was not declared in this scope

   51 |     if (!prop.Event(button_, (EVENT)(event + (EVENT_SECOND_PRESSED - EVENT_FIRST_PRESSED) * press_count_))) {

      |          ^~~~

In file included from C:\Users\orang\Desktop\ProffieOS\ProffieOS.ino:650:

sketch\config/ECOHERO_config.h: At global scope:

sketch\config/ECOHERO_config.h:74:1: error: specializing member '::StylePtr<Layers<Layers<Rgb<0, 255, 0>, AlphaL<Rgb<0, 0, 0>, BlinkingF<Int<500>, Int<500> > > >, TransitionEffectL<TrConcat<TrInstant, Rgb<255, 255, 255>, TrFadeX<Int<400> > >, EffectType::EFFECT_BLAST>, LockupTrL<AlphaL<Rgb<255, 255, 255>, NoisySoundLevelCompat>, TrInstant, TrFadeX<Int<500> >, SaberBase::LOCKUP_NORMAL>, LockupTrL<AlphaL<Rgb<255, 255, 255>, NoisySoundLevelCompat>, TrInstant, TrFadeX<Int<500> >, SaberBase::LOCKUP_LIGHTNING_BLOCK>, TransitionEffectL<TrConcat<TrInstant, Rgb<255, 255, 255>, TrFadeX<Int<400> > >, EffectType::EFFECT_CLASH>, InOutTrL<TrFadeX<Int<500> >, TrFadeX<Int<500> >, Layers<Rgb<0, 255, 0>, AlphaL<Rgb<0, 0, 0>, BlinkingF<Int<500>, Int<500> > > >, true> > >' requires 'template<>' syntax

   74 | StylePtr<Layers<Blinking<Green,Black,500,500>,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>,InOutTrL<TrFade<500>,TrFade<500>,Blinking<Green,Black,500,500>>>>()

      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from C:\Users\orang\Desktop\ProffieOS\ProffieOS.ino:658:

sketch\common/sd_test.h:144:3: error: 'SDTestHistogram' does not name a type

  144 |   SDTestHistogram histogram;

      |   ^~~~~~~~~~~~~~~

sketch\common/sd_test.h:145:3: error: 'SDTestHistogram' does not name a type

  145 |   SDTestHistogram open_histogram;

      |   ^~~~~~~~~~~~~~~

sketch\common/sd_test.h: In member function 'void SDTestHelper::Print()':

sketch\common/sd_test.h:58:5: error: 'open_histogram' was not declared in this scope

   58 |     open_histogram.print_averages();

      |     ^~~~~~~~~~~~~~

sketch\common/sd_test.h:61:5: error: 'histogram' was not declared in this scope

   61 |     histogram.print_speed();

      |     ^~~~~~~~~

sketch\common/sd_test.h: In member function 'void SDTestHelper::TestFile(const char*)':

sketch\common/sd_test.h:72:5: error: 'open_histogram' was not declared in this scope

   72 |     open_histogram.count(micros() - start_open);

      |     ^~~~~~~~~~~~~~

sketch\common/sd_test.h:80:7: error: 'histogram' was not declared in this scope

   80 |       histogram.count(end - start);

      |       ^~~~~~~~~

In file included from C:\Users\orang\Desktop\ProffieOS\ProffieOS.ino:1660:

sketch\motion/mpu6050.h: In member function 'virtual void MPU6050::Loop()':

sketch\motion/mpu6050.h:243:13: error: 'prop' was not declared in this scope

  243 |             prop.DoAccel(

      |             ^~~~

sketch\motion/mpu6050.h:251:13: error: 'prop' was not declared in this scope

  251 |             prop.DoMotion(

      |             ^~~~

In file included from C:\Users\orang\Desktop\ProffieOS\ProffieOS.ino:1661:

sketch\motion/lsm6ds3h.h: In member function 'virtual void LSM6DS3H::Loop()':

sketch\motion/lsm6ds3h.h:149:2: error: 'prop' was not declared in this scope

  149 |  prop.DoAccel(

      |  ^~~~

In file included from C:\Users\orang\Desktop\ProffieOS\ProffieOS.ino:1662:

sketch\motion/fxos8700.h: In member function 'virtual void FXOS8700::Loop()':

sketch\motion/fxos8700.h:169:6: error: 'prop' was not declared in this scope

  169 |      prop.DoAccel(

      |      ^~~~

In file included from C:\Users\orang\Desktop\ProffieOS\ProffieOS.ino:1663:

sketch\motion/fxas21002.h: In member function 'virtual void FXAS21002::Loop()':

sketch\motion/fxas21002.h:72:6: error: 'prop' was not declared in this scope

   72 |      prop.DoMotion(MotionUtil::FromData(databuffer,

      |      ^~~~

In file included from C:\Users\orang\Desktop\ProffieOS\ProffieOS.ino:1683:

sketch\common/booster.h: In member function 'bool Booster::Active()':

sketch\common/booster.h:20:9: error: 'prop' was not declared in this scope

   20 |     if (prop.NeedsPower()) return true;

      |         ^~~~

C:\Users\orang\Desktop\ProffieOS\ProffieOS.ino: In function 'void setup()':

ProffieOS:1779:3: error: 'prop' was not declared in this scope

 1779 |   prop.FindBlade();

      |   ^~~~

In file included from C:\Users\orang\Desktop\ProffieOS\ProffieOS.ino:1811:

sketch\common/clock_control.h: In member function 'virtual void ClockControl::Loop()':

sketch\common/clock_control.h:17:5: error: 'prop' was not declared in this scope

   17 |  || prop.NeedsPower()

      |     ^~~~

exit status 1

'prop' was not declared in this scope



This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

This is the same error as before though. It’s still showing that you have a StylePtr on line 74 of your config file.

Oh, I misunderstood. I’m check it out

It’s working!!! Thanks man

2 Likes