# Compilation Error Message

**URL:** <https://crucible.hubbe.net/t/compilation-error-message/3330>\
**Category:** ProffieOS\
**Created:** [May 3, 2023, 10:05am UTC](https://crucible.hubbe.net/t/compilation-error-message/3330 "2023-05-03T10:05:10Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Scottieboi](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/scottieboi/32/3642_2.png) [@Scottieboi](https://crucible.hubbe.net/u/Scottieboi)\
**Post date:** [May 3, 2023, 10:05am UTC](https://crucible.hubbe.net/t/compilation-error-message/3330/1 "2023-05-03T10:05:11Z")

</div>

In file included from /Users/Scottie/Desktop/ProffieOS/config/mysaber\_config.h:34,  
from /Users/Scottie/Desktop/ProffieOS/ProffieOS.ino:565:  
/Users/Scottie/Desktop/ProffieOS/props/saber\_fett263\_buttons.h:539:2: error: #error /props/saber\_fett263\_buttons.h requires 1, 2 or 3 Buttons for operation  
539 | #error /props/saber\_fett263\_buttons.h requires 1, 2 or 3 Buttons for operation  
| ^ ~~~~

exit status 1

Compilation error: #error /props/saber\_fett263\_buttons.h requires 1, 2 or 3 Buttons for operation.

Not really sure why I keep getting this error. I am new to this any help is greatly appreciated!

---

<div class="post-metadata">

**Author:** ![Fett263](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/fett263/32/214_2.png) [@Fett263](https://crucible.hubbe.net/u/Fett263)\
**Post date:** [May 3, 2023, 10:35am UTC](https://crucible.hubbe.net/t/compilation-error-message/3330/2 "2023-05-03T10:35:08Z")

</div>

Post your config, best guess is you don’t have any buttons defined, my prop requires 1, 2 or 3 buttons as the error says.

---

<div class="post-metadata">

**Author:** ![Scottieboi](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/scottieboi/32/3642_2.png) [@Scottieboi](https://crucible.hubbe.net/u/Scottieboi)\
**Post date:** [May 3, 2023, 4:32pm UTC](https://crucible.hubbe.net/t/compilation-error-message/3330/3 "2023-05-03T16:32:27Z")

</div>

[mysaber\_config.h](https://crucible.hubbe.net/uploads/short-url/3S4fRBHWyPb8LgWLZBa36WHFYtG.h) (131.3 KB)

---

<div class="post-metadata">

**Author:** ![Scottieboi](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/scottieboi/32/3642_2.png) [@Scottieboi](https://crucible.hubbe.net/u/Scottieboi)\
**Post date:** [May 3, 2023, 4:32pm UTC](https://crucible.hubbe.net/t/compilation-error-message/3330/4 "2023-05-03T16:32:59Z")

</div>

This is my config any help is greatly appreciated!

---

<div class="post-metadata">

**Author:** ![baldusi](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/baldusi/32/70_2.png) [@baldusi](https://crucible.hubbe.net/u/baldusi)\
**Post date:** [May 3, 2023, 4:36pm UTC](https://crucible.hubbe.net/t/compilation-error-message/3330/5 "2023-05-03T16:36:39Z")

</div>

You have a typo:

```auto
#define NUM_BUTTONS 2
Iconst unsigned int maxLedsPerStrip = 144;
#define CLASH_THRESHOLD_G 6.0

```

Delete the `I` before `const`. Probably messing the line before.

---

<div class="post-metadata">

**Author:** ![Scottieboi](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/scottieboi/32/3642_2.png) [@Scottieboi](https://crucible.hubbe.net/u/Scottieboi)\
**Post date:** [May 3, 2023, 4:45pm UTC](https://crucible.hubbe.net/t/compilation-error-message/3330/6 "2023-05-03T16:45:39Z")

</div>

Thanks for the response! I just tried it and am still getting the same error.

---

<div class="post-metadata">

**Author:** ![Fett263](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/fett263/32/214_2.png) [@Fett263](https://crucible.hubbe.net/u/Fett263)\
**Post date:** [May 3, 2023, 4:58pm UTC](https://crucible.hubbe.net/t/compilation-error-message/3330/7 "2023-05-03T16:58:53Z")

</div>

I don’t think you’re uploading the config you think you are, that config would have a very different error message. You should close Arduino, navigate to the ProffieOS folder where extracted it and then double-click the ProffieOS.ino file to launch. Double check your #define CONFIG\_FILE is actually the file you want and that it is in the /config folder of ProffieOS.

---

<div class="post-metadata">

**Author:** ![Scottieboi](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/scottieboi/32/3642_2.png) [@Scottieboi](https://crucible.hubbe.net/u/Scottieboi)\
**Post date:** [May 3, 2023, 5:46pm UTC](https://crucible.hubbe.net/t/compilation-error-message/3330/8 "2023-05-03T17:46:39Z")

</div>

Thanks for the response. I just retried that as well. Should I re-download the ProffieOS folder. I triple checked that the #define CONFIG\_FILE is the file I wanted. I renamed the config file to just "mysaber’ in the ProffieOS config folder to be sure but still no dice. It is the only file I have with that name on my computer right now.

---

<div class="post-metadata">

**Author:** ![Fett263](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/fett263/32/214_2.png) [@Fett263](https://crucible.hubbe.net/u/Fett263)\
**Post date:** [May 3, 2023, 5:51pm UTC](https://crucible.hubbe.net/t/compilation-error-message/3330/9 "2023-05-03T17:51:43Z")

</div>

If you renamed the config and still get an error post the config and the full error message (use [pastebin.com](http://pastebin.com) and share the URL as it’s easier for us to see without having to download files).

---

<div class="post-metadata">

**Author:** ![Scottieboi](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/scottieboi/32/3642_2.png) [@Scottieboi](https://crucible.hubbe.net/u/Scottieboi)\
**Post date:** [May 3, 2023, 6:13pm UTC](https://crucible.hubbe.net/t/compilation-error-message/3330/10 "2023-05-03T18:13:42Z")

</div>

This is the pastebin URL. I put the error message as the first comment [Mysaber](https://pastebin.com/rw955Y6n#b28KKah9)

---

<div class="post-metadata">

**Author:** ![Fett263](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/fett263/32/214_2.png) [@Fett263](https://crucible.hubbe.net/u/Fett263)\
**Post date:** [May 3, 2023, 6:32pm UTC](https://crucible.hubbe.net/t/compilation-error-message/3330/11 "2023-05-03T18:32:48Z")

</div>

That config produces a bunch of errors but not the error you’re showing, so you’re still trying to upload a different config than the one you’re sharing and the one you’re sharing is missing some required defines like VOLUME, etc. I would reach out to @Sabertrio_Support to get a config that works and then make sure you’re uploading the config you think you are.

---

<div class="post-metadata">

**Author:** ![Scottieboi](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/scottieboi/32/3642_2.png) [@Scottieboi](https://crucible.hubbe.net/u/Scottieboi)\
**Post date:** [May 3, 2023, 8:07pm UTC](https://crucible.hubbe.net/t/compilation-error-message/3330/12 "2023-05-03T20:07:27Z")

</div>

I am not sure how that code got all jacked up. I guess thats the nature of the beast. So I restarted everything from scratch the middle part with the sound fonts were the same. I just restarted the top part and made sure the DEFINES were correct. I also was sure to only open Arduino from the new proffieOS that I downloaded and made sure to only work from that config file. The code I had before is gone but now I am getting an error about display sound volume. I am uploading the pastebin now [my config new](https://pastebin.com/VX4GGkKP#tV5sNC7A). I feel like i’m getting warmer.

---

<div class="post-metadata">

**Author:** ![Scottieboi](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/scottieboi/32/3642_2.png) [@Scottieboi](https://crucible.hubbe.net/u/Scottieboi)\
**Post date:** [May 3, 2023, 8:09pm UTC](https://crucible.hubbe.net/t/compilation-error-message/3330/13 "2023-05-03T20:09:59Z")

</div>

If it helps I am following these instructions[ProffieBoard setup](https://www.youtube.com/watch?v=yGY5-rFT0yg)

---

<div class="post-metadata">

**Author:** ![Fett263](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/fett263/32/214_2.png) [@Fett263](https://crucible.hubbe.net/u/Fett263)\
**Post date:** [May 3, 2023, 8:10pm UTC](https://crucible.hubbe.net/t/compilation-error-message/3330/14 "2023-05-03T20:10:56Z")

</div>

Yeah, you can’t use the styles from SaberTrio in the main OS, they made them incompatible. You will need to regenerate in my library, the links in the copyright section will guide you to correct base style, then the lusted options will help you recreate.

> **[Fett263's ProffieOS6 Style Library](https://www.fett263.com/fett263-proffieOS6-style-library.html#fett263)**
>
> Fett263 Style Library for ProffieOS6 for use with Proffieboard lightsaber control board. Lightsaber effects and styles developed by Fett263.

You can also try this tool, it will walk you through setting up your config correctly.

> **[Fett263 Proffieboard ProffieOS Config Helper](https://fett263.com/fett263-os7-config-helper.html)**
>
> This tool is designed to make building and updating your config for ProffieOS easier. Available for the Proffieboard Open Source Lightsaber Community from Fett263

---

<div class="post-metadata">

**Author:** ![Scottieboi](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/scottieboi/32/3642_2.png) [@Scottieboi](https://crucible.hubbe.net/u/Scottieboi)\
**Post date:** [May 3, 2023, 8:20pm UTC](https://crucible.hubbe.net/t/compilation-error-message/3330/15 "2023-05-03T20:20:42Z")

</div>

If I am reading this right you are saying I need to change the blade styles on my SD card from all of the Sabertrio to make them compatible with Arduino or regenerate them in my library if I want the same ones?

---

<div class="post-metadata">

**Author:** ![Fett263](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/fett263/32/214_2.png) [@Fett263](https://crucible.hubbe.net/u/Fett263)\
**Post date:** [May 3, 2023, 8:36pm UTC](https://crucible.hubbe.net/t/compilation-error-message/3330/16 "2023-05-03T20:36:07Z")

</div>

The styles that SaberTrio provided in your config will not work with the main OS. You can reach out to them for an updated config - or- you can regenerate the styles in my Style Library to do it yourself. The styles in your config will not compile.

> [@Scottieboi](#):
>
> my SD card

The config on your SD card is a backup copy, when you’re making edits you’re saving to the /config folder inside ProffieOS on your computer, correct?  
You can’t upload the config from the SD, it needs to reside in the ProffieOS/config folder for Arduino to compile & upload. This may be part of the problem you’re experiencing.  
You may want to use this page and read through everything to familiarize yourself with updating your Proffieboard.

> **[Instructions for Updating and Uploading to Your Proffieboard](https://www.fett263.com/updating-your-proffieboard.html)**
>
> Instructions for Updating and Uploading to Your Proffieboard

---

<div class="post-metadata">

**Author:** ![Scottieboi](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/scottieboi/32/3642_2.png) [@Scottieboi](https://crucible.hubbe.net/u/Scottieboi)\
**Post date:** [May 3, 2023, 8:53pm UTC](https://crucible.hubbe.net/t/compilation-error-message/3330/17 "2023-05-03T20:53:58Z")

</div>

Yes I am uploading from from inside the Proffie OS. I appreciate your help. I getting the hang of it all more and more. Thanks for the sources. Ill read up on everything

---

<div class="post-metadata">

**Author:** ![Sabertrio\_Support](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/sabertrio_support/32/3929_2.png) [@Sabertrio\_Support](https://crucible.hubbe.net/u/Sabertrio_Support)\
**Post date:** [May 5, 2023, 4:06am UTC](https://crucible.hubbe.net/t/compilation-error-message/3330/18 "2023-05-05T04:06:30Z")

</div>

Hey Scottie. Just saw this thread and just wanted to chime in with some additional details! From what we see of your config, it seems like the config file you were using as your base was from our 3.01 preconfig which, as Fett explained, was incompatible with the main OS.

The release of our 3.02 preconfig makes it so that the saber is compatible with Fett’s prop files. You can download the update from our [support page](https://sabertrio.com/pages/support) under the Proffie Firmware section. Hope this helps!

---

<div class="post-metadata">

**Author:** ![A\_Rogue\_Child](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/a_rogue_child/32/4449_2.png) [@A\_Rogue\_Child](https://crucible.hubbe.net/u/A_Rogue_Child)\
**Post date:** [May 6, 2023, 3:22am UTC](https://crucible.hubbe.net/t/compilation-error-message/3330/19 "2023-05-06T03:22:35Z")

</div>

@Sabertrio_Support We cannot open the download zip without a password. DM me via FB.

---

<div class="post-metadata">

**Author:** ![Sabertrio\_Support](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/sabertrio_support/32/3929_2.png) [@Sabertrio\_Support](https://crucible.hubbe.net/u/Sabertrio_Support)\
**Post date:** [May 6, 2023, 6:46am UTC](https://crucible.hubbe.net/t/compilation-error-message/3330/20 "2023-05-06T06:46:16Z")

</div>

@A_Rogue_Child Replied to you! We password-protected the files due to the distribution rights of the included sound fonts. If anyone is looking to get the config files without the sound fonts, just drop us a message. 🙂

[Next page](https://crucible.hubbe.net/t/compilation-error-message/3330.md?page=2)
