Proffie 6 compilation errors

Hello,
I’ve spent a total of around 10 agonizing and terribly confusing hours trying to update my Proffieboard to OS6.7.
I followed Megatooths 1 hour video, and ended up with a config file that kept having errors. I’ve tried everything I could think of as someone with no coding experience (besides adding fonts to my config file.) I’m sorry to ask you all for help, but I couldn’t figure it out on my own.

Here is my config file:
(#ifdef CONFIG_TOP#include "proffieboard_v2_config.h"#define NUM_BLADES 1#d - Pastebin.com)

Here are the Arduino errors:
Arduino: 1.8.19 (Windows 10), Board: "Proffieboard V2, Serial, SDCARD (SPI), 80 - Pastebin.com

note: I originally had added the names of the fonts at the bottom of the blade style, as Megatooth instructed
(ex “Bank 02”},) but they kept having errors that I didn’t understand, so I ended up removing them. This didn’t help, and now I believe there are even more errors.

Any explanation of what I did wrong or what the errors simply mean would be very appreciated.

You’re missing the closing bracket “},” on many of your presets.

1 Like

Presets open and close with { and }
So

{ "font", "track",
StylePtr.........which ends with >(), "presetName"},

Personally, I like to put the “name” argument and the preset closing bracket on the next line, so it’s easy to see all presets complete, like

{ "font", "track",
StylePtr.........which ends with >(), 
"presetName"},
1 Like

Continuing the discussion from Proffie 6 compilation errors:

Thank you both of you. I am adding “presetName”}, to all of the presets now, I’ll let you know how it goes.
I am also wondering if I can delete this part and sections just like it from the config as they take many lines:

/* copyright Fett263 KyloRen (Primary Blade) OS6 Style

OS6.7 v4.017
Single Style
Base Style: Kylo Ren Unstable (Film Based)

Base Color: Rgb<255,0,0> (0)

–Effects Included–
Ignition Effect: Standard Ignition
Retraction Effect: Standard Retraction
Lockup Effect: Intensity Lockup V1, Begin Effect: Real Clash, End Effect: Full Blade Absorb
LightningBlock Effect: Responsive Lightning Block
Drag Effect: Intensity Sparking Drag
Melt Effect: Intensity Melt
Stab Effect: AudioFlicker Stab
Blast Effect: Blast Wave (Random)
Clash Effect: Real Clash V1
*/

Megatooth said to keep it, but it is in slashes (which is called commented out I think? or is that only if there is two slashes?) and I don’t see how it’s necessary.

Lastly, can I name the “presetName”}, whatever I want? Or does it have to match the font name?

You can name it whatever you want. Typically, if the font name isn’t boring like Bank06, it makes sense to name it Obi-Wan or whatever. It’s what we’ll be displayed in the ProffieOS workbench online, in serial monitor, and on and OLED display if you have one. So it’s your choice.
I’m sure as I type this fett263 will chime in about how the copyright should remain and why.

1 Like

The copyright section contains all of the selections and options you’ve selected in library for use in Edit Mode or ProffieOS Workbench in addition to other information related to the style. Such as effects and any interactive controls enabled. The comments don’t take up any additional memory. It is highly recommended you include with the style but not a requirement.
If you share, post or send the style code to anyone else or if you need troubleshooting from me the copyright should be kept intact. Without the information in that section I cannot troubleshoot if you have issues.

1 Like

Ah ok, thank you guys again. I’ll be sure to keep the copyright section. I would name the fonts something else, but I recall there is some reason to have them numbered that I found out when making the config the first time. Maybe to keep them in order?

Presets will be in whatever order you have them in your config. There’s no numbering

I did as instructed, and I do believe there are fewer errors, but it’s still not compiling.
Here is the error message now.
errors - Pastebin.com

Just go through all presets one at a time. Looks like a problem with Bank 20 or maybe 21. or post your config with the error next time

It appears the community flagged my post and replies as advertisements and spam, so I’m not sure if this will post or not. I wish this didn’t happen as this was really helpful.

I’m sorry, I tried going through and fixing it, but I don’t know what the errors mean. One bit of progress I made, however, was finding out I was saving my config to the Proffie os5 folder instead of the os6 folder. So Arduino was compiling the wrong configuration. Anyway, I guess I cannot post here anymore, which is such a shame. It wouldn’t let me post links or post the number of characters that my config is. If this is the case then thank you two for what you helped with, I wish I could’ve sorted this out.

Could someone tell me what this error means? I have it seemingly on every preset.

C:\Users\Loren\OneDrive\Desktop\ProffieOS 6.7\ProffieOS\config\fallen_config6.h:104:4: error: expected unqualified-id before '{' token
  104 |    { "Bank05;common", "common/tracks/Ascension.wav",
      |    ^

Here is line 104 and two lines above it.

   { "Bank04;common", "common/tracks/Boba_Din.wav",
    StylePtr<Layers<StyleFire<BrownNoiseFlicker<RotateColorsX<Variation,DeepSkyBlue>,RandomPerLEDFlicker<RotateColorsX<Variation,Rgb<0,0,25>>,RotateColorsX<Variation,Rgb<0,0,60>>>,300>,RotateColorsX<Variation,Rgb<0,0,80>>,0,6,FireConfig<10,1000,2>,FireConfig<10,1000,2>,FireConfig<10,1000,2>,FireConfig<10,1000,2>>,LockupTrL<Layers<AlphaL<AudioFlickerL<White>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<10000>,Int<30000>>,Int<10000>>,Scale<SwingSpeed<100>,Int<14000>,Int<18000>>>>,AlphaL<White,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<10000>,Int<30000>>,Int<10000>>,Int<10000>>>>,TrConcat<TrInstant,White,TrFade<400>>,TrConcat<TrInstant,White,TrFade<400>>,SaberBase::LOCKUP_NORMAL>,ResponsiveLightningBlockL<Strobe<White,AudioFlicker<White,Blue>,50,1>,TrConcat<TrInstant,AlphaL<White,Bump<Int<12000>,Int<18000>>>,TrFade<200>>,TrConcat<TrInstant,HumpFlickerL<AlphaL<White,Int<16000>>,30>,TrSmoothFade<600>>>,ResponsiveStabL<Red,TrWipeIn<600>,TrWipe<600>>,ResponsiveBlastL<Green,Int<400>,Scale<SwingSpeed<200>,Int<100>,Int<400>>,Int<400>>,ResponsiveClashL<White,TrInstant,TrFade<400>,Scale<BladeAngle<0,16000>,Int<10000>,Int<30000>>,Int<10000>,Int<20000>>,TransitionEffectL<TrConcat<TrInstant,Stripes<3000,-3500,White,RandomPerLEDFlicker<Rgb<60,60,60>,Black>,BrownNoiseFlicker<White,Rgb<30,30,30>,200>,RandomPerLEDFlicker<Rgb<80,80,80>,Rgb<30,30,30>>>,TrFade<800>>,EFFECT_IGNITION>,LockupTrL<AlphaL<BrownNoiseFlickerL<White,Int<300>>,SmoothStep<Int<30000>,Int<5000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL<AlphaL<Mix<TwistAngle<>,Red,Orange>,SmoothStep<Int<28000>,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,InOutTrL<TrWipeSparkTip<White,300>,TrWipeIn<6500>,Black>,TransitionEffectL<TrConcat<TrFade<2000>,AlphaL<HumpFlickerL<RotateColorsX<Variation,DeepSkyBlue>,10>,Bump<Int<0>,Int<4000>>>,TrFade<2950>,AlphaL<HumpFlickerL<RotateColorsX<Variation,DeepSkyBlue>,15>,Bump<Int<0>,Int<5000>>>,TrFade<3000>,AlphaL<HumpFlickerL<RotateColorsX<Variation,DeepSkyBlue>,20>,Bump<Int<0>,Int<6000>>>,TrBoing<1000,3>>,EFFECT_PREON>>>()},
"n1"},
   { "Bank05;common", "common/tracks/Ascension.wav",
/* copyright Fett263 Rotoscope (Primary Blade) OS6 Style
https://fett263.com/fett263-proffieOS6-style-library.html#Rotoscope
OS6.7 v4.017
Single Style
Base Style: Hyper Responsive Rotoscope (Prequels)

Base Color: Rgb<0,255,0> (0)

--Effects Included--
Ignition Effect: Standard Ignition
Retraction Effect: Standard Retraction
Lockup Effect: Intensity Lockup V1, Begin Effect: Real Clash, End Effect: Full Blade Absorb
LightningBlock Effect: Responsive Lightning Block
Drag Effect: Intensity Sparking Drag
Melt Effect: Intensity Melt
Blast Effect: Blast Wave (Random)
Clash Effect: Real Clash V1
*/
StylePtr<Layers<Mix<HoldPeakF<SwingSpeed<250>,Scale<SwingAcceleration<100>,Int<50>,Int<500>>,Scale<SwingAcceleration<>,Int<20000>,Int<10000>>>,RandomFlicker<StripesX<Int<24000>,Scale<HoldPeakF<SwingSpeed<200>,Scale<SwingAcceleration<100>,Int<50>,Int<300>>,Scale<SwingAcceleration<100>,Int<24000>,Int<16000>>>,Int<-1400>,Int<-100>>,RgbArg<BASE_COLOR_ARG,Rgb<0,255,0>>,RgbArg<BASE_COLOR_ARG,Rgb<0,255,0>>,Mix<Int<7710>,Black,RgbArg<BASE_COLOR_ARG,Rgb<0,255,0>>>,RgbArg<BASE_COLOR_ARG,Rgb<0,255,0>>,Mix<Int<19276>,Black,RgbArg<BASE_COLOR_ARG,Rgb<0,255,0>>>>,RgbArg<BASE_COLOR_ARG,Rgb<0,255,0>>>,RgbArg<BASE_COLOR_ARG,Rgb<0,255,0>>>,TransitionEffectL<TrWaveX<RgbArg<BLAST_COLOR_ARG,Rgb<255,255,255>>,Scale<EffectRandomF<EFFECT_BLAST>,Int<100>,Int<400>>,Int<100>,Scale<EffectPosition<EFFECT_BLAST>,Int<100>,Int<400>>,Scale<EffectPosition<EFFECT_BLAST>,Int<28000>,Int<8000>>>,EFFECT_BLAST>,Mix<IsLessThan<ClashImpactF<>,Int<26000>>,TransitionEffectL<TrConcat<TrInstant,AlphaL<RgbArg<CLASH_COLOR_ARG,Rgb<255,255,255>>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<-10000>>>,Scale<ClashImpactF<>,Int<12000>,Int<60000>>>>,TrFadeX<Scale<ClashImpactF<>,Int<200>,Int<400>>>>,EFFECT_CLASH>,TransitionEffectL<TrWaveX<RgbArg<CLASH_COLOR_ARG,Rgb<255,255,255>>,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,16000>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<-10000>>>>,EFFECT_CLASH>>,LockupTrL<TransitionEffect<AlphaMixL<Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<-10000>>>,Scale<SwingSpeed<100>,Int<14000>,Int<18000>>>,BrownNoiseFlickerL<RgbArg<LOCKUP_COLOR_ARG,Rgb<255,255,255>>,Int<200>>,StripesX<Int<1800>,Scale<NoisySoundLevel,Int<-3500>,Int<-5000>>,Mix<Int<6425>,Black,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,255,255>>>,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,255,255>>,Mix<Int<12850>,Black,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,255,255>>>>>,AlphaL<AudioFlicker<RgbArg<LOCKUP_COLOR_ARG,Rgb<255,255,255>>,Mix<Int<10280>,Black,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,255,255>>>>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,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<255,255,255>>,AlphaL<RgbArg<LOCKUP_COLOR_ARG,Rgb<255,255,255>>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<-10000>>>,Scale<ClashImpactF<>,Int<20000>,Int<60000>>>>>,TrFade<300>>,TrConcat<TrInstant,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,255,255>>,TrFade<400>>,SaberBase::LOCKUP_NORMAL>,ResponsiveLightningBlockL<Strobe<RgbArg<LB_COLOR_ARG,Rgb<255,255,255>>,AudioFlicker<RgbArg<LB_COLOR_ARG,Rgb<255,255,255>>,Blue>,50,1>,TrConcat<TrInstant,AlphaL<RgbArg<LB_COLOR_ARG,Rgb<255,255,255>>,Bump<Int<12000>,Int<18000>>>,TrFade<200>>,TrConcat<TrInstant,HumpFlickerL<AlphaL<RgbArg<LB_COLOR_ARG,Rgb<255,255,255>>,Int<16000>>,30>,TrSmoothFade<600>>>,LockupTrL<AlphaL<RandomPerLEDFlickerL<RgbArg<DRAG_COLOR_ARG,Rgb<255,255,255>>>,SmoothStep<IntArg<DRAG_SIZE_ARG,28000>,Int<3000>>>,TrConcat<TrJoin<TrDelay<4000>,TrWipeIn<200>>,AlphaL<BrownNoiseFlickerL<RgbArg<DRAG_COLOR_ARG,Rgb<255,255,255>>,Int<300>>,SmoothStep<IntArg<DRAG_SIZE_ARG,28000>,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,28000>,Int<4000>>>,TrConcat<TrWipeIn<100>,AlphaL<RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>,SmoothStep<IntArg<MELT_SIZE_ARG,28000>,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,28000>,Int<4000>>>,TrFade<4000>>,TrWipe<200>,SaberBase::LOCKUP_MELT>,InOutTrL<TrWipeX<IgnitionTime<300>>,TrWipeInX<RetractionTime<0>>,Black>>>(),
"ascenion"},

The only other error besides "expected unqualified-id before ’ ’ token is this at the end:

C:\Users\Loren\OneDrive\Desktop\ProffieOS 6.7\ProffieOS\config\fallen_config6.h:457:1: error: expected declaration before '}' token
  457 | };
      | ^

Thank you all.

Post your config.

Most likely you’re missing closing bracket on your presets. Each “{” needs “}” and each preset should be separated with a comma but really need to see actual config.

The key word being BEFORE.

You have a closing brace twice on the previous preset, one after the last style and another after the “n1” name part.
Should just end like

. . . . . . .,EFFECT_PREON>>>(),
"n1"},
1 Like

Ah ok, I didn’t want to post the entire config if it wasn’t needed, here it is.

Like I said, extra closing brace on line 102.
Also, end of the style on 215 is missing a comma before the next line “crispity”},
Same thing at the end of the style on 252 before next line
“mace”},

1 Like

YEAHOOOOOOOO
Ah it finally compiled lads, thank you for all your help.
I forgot about commas on all of those three because they were os5 styles and I had been leaving them alone. I am so excited to try out OS6!! You two made my day!

1 Like

The important part is hopefully now you know what to look for if/when you get errors like that.

1 Like