Help needed with ProffieOS 6.7

Help

Earlier today I noticed there was a new(er) update available for Proffie and decided to do the update. Now when I try to compile the code I'm getting this error in Arduino:

Arduino: 1.8.19 (Windows 10), TD: 1.56, Board: "Proffieboard V2, Serial + Mass Storage + WebUSB, SDCARD (SPI), 80 MHz, Smallest Code"


In file included from C:\Users\achia\Documents\Arduino\ProffieOS\styles\fire.h:4,

             from C:\Users\achia\Documents\Arduino\ProffieOS\ProffieOS.ino:428:

C:\Users\achia\Documents\Arduino\ProffieOS\styles\style_ptr.h: In instantiation of 'OverDriveColor StyleHelper<RetType>::getColor(int) [with RetType = RGBA_nod]':

C:\Users\achia\Documents\Arduino\ProffieOS\styles\style_ptr.h:35:18:   required from here

C:\Users\achia\Documents\Arduino\ProffieOS\styles\style_ptr.h:35:63: error: could not convert '((StyleHelper<RGBA_nod>*)this)->StyleHelper<RGBA_nod>::getColor2(i)' from 'RGBA_nod' to 'OverDriveColor'

   35 |   OverDriveColor getColor(int i) override { return getColor2(i); }

       |                                                               ^

       |                                                               |

       |                                                               RGBA_nod

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.

I've been trying to fix this issue all day with no success and would really appreciate any help I can get. Until today I've been using OS 6.6 without a single problem and I've even tried going back to 6.6 but I'm getting the same exact error message with that now too. I'm not super familiar with this type of code so (I hope) maybe I'm overlooking something really simple. All the searching I've done today only turned up one other person with the same problem, but no solutions. I'm more than happy to answer any questions that might further diagnose and resolve this issue. Thanks!

Posted Apr 25, 2022, 1:46 AM UTC · edited

03
FurinexSaber Installer•

Hey,

This is likely syntax error, can you post your config?

1
dark45954OP•

Sure thing. I was trying to update a blade style earlier today and I already thought of that causing the problem so I tried reverting back to the default blade style but I was still getting that same error message. Here's the config I've been using. I've only included the one blade style I was trying to update as all the others have been working perfectly fine.

#ifdef CONFIG_TOP
#include "proffieboard_v2_config.h"
#define NUM_BLADES 1
#define NUM_BUTTONS 1
#define VOLUME 1500
const unsigned int maxLedsPerStrip = 144;
#define CLASH_THRESHOLD_G 3.0
#define ENABLE_AUDIO
#define ENABLE_MOTION
#define ENABLE_WS2811
#define ENABLE_SD
#define ENABLE_SERIAL
#define COLOR_CHANGE_DIRECT
#define DISABLE_DIAGNOSTIC_COMMANDS
#define SA22C_TWIST_ON
#define SA22C_TWIST_OFF
#define IDLE_OFF_TIME 60*5*1000
#define SAVE_STATE
#endif


#ifdef CONFIG_PROP
#include "../props/saber_sa22c_buttons.h"
#endif


#ifdef CONFIG_PRESETS
Preset presets[] = {

{ "Bank16", "tracks/revan.wav",
StylePtr<Layers<Mix<HoldPeakF<SwingSpeed<250>,Scale<SwingAcceleration<100>,Int<50>,Int<500>>,Scale<SwingAcceleration<>,Int<20000>,Int<10000>>>,Mix<PulsingF<Sin<Int<30>,Int<4000>,Int<10000>>>,RgbArg<BASE_COLOR_ARG,Rgb<118,0,194>>,Stripes<12000,-400,RgbArg<BASE_COLOR_ARG,Rgb<118,0,194>>,RgbArg<BASE_COLOR_ARG,Rgb<118,0,194>>,Mix<Int<7710>,Black,RgbArg<BASE_COLOR_ARG,Rgb<118,0,194>>>,RgbArg<BASE_COLOR_ARG,Rgb<118,0,194>>,Mix<Int<16448>,Black,RgbArg<BASE_COLOR_ARG,Rgb<118,0,194>>>>>,TransitionEffectL<TrConcat<TrFade<400>,StyleFire<Stripes<2500,-5000,BrownNoiseFlicker<Red,Black,20>,Rgb<10,0,0>,BrownNoiseFlicker<Black,Rgb<255,25,25>,70>,Rgb<128,0,0>>,Rgb<80,0,0>,0,5,FireConfig<2,3000,0>,FireConfig<2,3000,0>,FireConfig<2,3000,0>,FireConfig<2,3000,0>>,TrDelay<1500>,StyleFire<Stripes<2500,-5000,BrownNoiseFlicker<Red,Black,20>,Rgb<10,0,0>,BrownNoiseFlicker<Black,Rgb<255,25,25>,70>,Rgb<128,0,0>>,Rgb<80,0,0>,0,5,FireConfig<2,3000,0>,FireConfig<2,3000,0>,FireConfig<2,3000,0>,FireConfig<2,3000,0>>,TrFade<800>>,EFFECT_FORCE>,RgbArg<BASE_COLOR_ARG,Rgb<118,0,194>>>,AlphaL<AlphaL<AudioFlickerL<RgbArg<SWING_COLOR_ARG,Rgb<255,0,255>>>,Scale<IsLessThan<SwingSpeed<600>,Int<13600>>,Scale<SwingSpeed<600>,Int<-19300>,Int<32768>>,Int<0>>>,SmoothStep<Scale<Scale<IsLessThan<SwingSpeed<600>,Int<13600>>,Scale<SwingSpeed<600>,Int<-19300>,Int<32768>>,Int<0>>,Int<28000>,Int<14000>>,Int<16000>>>,TransitionEffectL<TrConcat<TrJoin<TrDelayX<RetractionTime<600>>,TrInstant>,RgbArg<RETRACTION_COLOR_ARG,Rgb<118,0,194>>,TrFade<1000>>,EFFECT_RETRACTION>,TransitionEffectL<TrConcat<TrJoin<TrDelayX<WavLen<>>,TrWipeIn<200>>,AlphaL<RandomPerLEDFlickerL<RgbArg<STAB_COLOR_ARG,Rgb<255,0,255>>>,SmoothStep<IntArg<MELT_SIZE_ARG,29004>,Int<2000>>>,TrWipe<200>>,EFFECT_STAB>,MultiTransitionEffectL<TrWaveX<RgbArg<BLAST_COLOR_ARG,Rgb<100,100,150>>,Scale<EffectRandomF<EFFECT_BLAST>,Int<100>,Int<400>>,Int<100>,Scale<EffectRandomF<EFFECT_BLAST>,Int<100>,Int<400>>,Scale<EffectRandomF<EFFECT_BLAST>,Int<28000>,Int<8000>>>,EFFECT_BLAST>,Mix<IsLessThan<ClashImpactF<>,Int<26000>>,TransitionEffectL<TrConcat<TrInstant,AlphaL<RgbArg<CLASH_COLOR_ARG,Rgb<100,100,150>>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,19112>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,19112>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,19112>,Int<-10000>>>,Scale<ClashImpactF<>,Int<12000>,Int<60000>>>>,TrFadeX<Scale<ClashImpactF<>,Int<200>,Int<400>>>>,EFFECT_CLASH>,TransitionEffectL<TrWaveX<RgbArg<CLASH_COLOR_ARG,Rgb<100,100,150>>,Scale<ClashImpactF<>,Int<100>,Int<400>>,Int<100>,Scale<ClashImpactF<>,Int<100>,Int<400>>,Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,19112>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,19112>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,19112>,Int<-10000>>>>,EFFECT_CLASH>>,LockupTrL<TransitionEffect<AlphaMixL<Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,19112>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,19112>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,19112>,Int<-10000>>>,Scale<SwingSpeed<100>,Int<14000>,Int<18000>>>,BrownNoiseFlickerL<RgbArg<LOCKUP_COLOR_ARG,Rgb<100,100,150>>,Int<200>>,StripesX<Int<1800>,Scale<NoisySoundLevel,Int<-3500>,Int<-5000>>,Mix<Int<6425>,Black,RgbArg<LOCKUP_COLOR_ARG,Rgb<100,100,150>>>,RgbArg<LOCKUP_COLOR_ARG,Rgb<100,100,150>>,Mix<Int<12850>,Black,RgbArg<LOCKUP_COLOR_ARG,Rgb<100,100,150>>>>>,AlphaL<AudioFlicker<RgbArg<LOCKUP_COLOR_ARG,Rgb<100,100,150>>,Mix<Int<10280>,Black,RgbArg<LOCKUP_COLOR_ARG,Rgb<100,100,150>>>>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,19112>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,19112>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,19112>,Int<-10000>>>,Int<13000>>>,TrJoin<TrDelay<8000>,TrInstant>,TrFade<3000>,EFFECT_LOCKUP_BEGIN>,TrConcat<TrJoin<TrDelay<50>,TrInstant>,Mix<IsLessThan<ClashImpactF<>,Int<26000>>,RgbArg<LOCKUP_COLOR_ARG,Rgb<100,100,150>>,AlphaL<RgbArg<LOCKUP_COLOR_ARG,Rgb<100,100,150>>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,19112>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,19112>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,19112>,Int<-10000>>>,Scale<ClashImpactF<>,Int<20000>,Int<60000>>>>>,TrFade<300>>,TrConcat<TrInstant,RgbArg<LOCKUP_COLOR_ARG,Rgb<100,100,150>>,TrFade<400>>,SaberBase::LOCKUP_NORMAL>,ResponsiveLightningBlockL<Strobe<RgbArg<LB_COLOR_ARG,Rgb<100,100,150>>,AudioFlicker<RgbArg<LB_COLOR_ARG,Rgb<100,100,150>>,Blue>,50,1>,TrConcat<TrInstant,AlphaL<RgbArg<LB_COLOR_ARG,Rgb<100,100,150>>,Bump<Int<12000>,Int<18000>>>,TrFade<200>>,TrConcat<TrInstant,HumpFlickerL<AlphaL<RgbArg<LB_COLOR_ARG,Rgb<100,100,150>>,Int<16000>>,30>,TrSmoothFade<600>>>,LockupTrL<AlphaL<RandomPerLEDFlickerL<RgbArg<DRAG_COLOR_ARG,Rgb<100,100,150>>>,SmoothStep<IntArg<DRAG_SIZE_ARG,29347>,Int<3000>>>,TrConcat<TrJoin<TrDelay<4000>,TrWipeIn<200>>,AlphaL<BrownNoiseFlickerL<RgbArg<DRAG_COLOR_ARG,Rgb<100,100,150>>,Int<300>>,SmoothStep<IntArg<DRAG_SIZE_ARG,29347>,Int<3000>>>,TrFade<4000>>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL<AlphaL<Remap<Scale<RampF,Int<65536>,Int<0>>,StaticFire<Mix<TwistAngle<>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>,RotateColorsX<Int<3000>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>>>,Mix<TwistAngle<>,RotateColorsX<Int<3000>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>>,RotateColorsX<Int<3000>,Mix<Int<12000>,Black,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>>>>,0,3,5,3000,10>>,SmoothStep<IntArg<MELT_SIZE_ARG,29004>,Int<4000>>>,TrConcat<TrWipeIn<100>,AlphaL<RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>,SmoothStep<IntArg<MELT_SIZE_ARG,29004>,Int<4000>>>,TrJoin<TrDelay<4000>,TrFade<300>>,AlphaL<Mix<TwistAngle<>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>,RotateColorsX<Int<3000>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>>>,SmoothStep<IntArg<MELT_SIZE_ARG,29004>,Int<4000>>>,TrFade<4000>>,TrWipe<200>,SaberBase::LOCKUP_MELT>,InOutTrL<TrWipeX<IgnitionTime<300>>,TrWipeInX<RetractionTime<600>>,Black>,TransitionEffectL<TrConcat<TrFadeX<Mult<Int<4096>,WavLen<EFFECT_PREON>>>,AlphaL<PulsingL<RgbArg<BASE_COLOR_ARG,Rgb<118,0,194>>,Int<800>>,SmoothStep<IntArg<PREON_SIZE_ARG,2000>,Int<-4000>>>,TrDelayX<Mult<Int<28672>,WavLen<EFFECT_PREON>>>>,EFFECT_PREON>>>()},
1
FurinexSaber Installer•

Dark,

This is not a complete configuration for a proffieboard, if you can you hit me up on a DM I can help you sort this out quicker.

1