[SOLVED]Need Help Please?

I don’t understand how to add Arduboy 2 library and tones to make a game that needs Arduboy 2 and tones library for it load onto my Arduboy.

Can somebody explain how to do this please?


Step 2 in the Quick Start Guide.

As I’ve previously told you I’m not from this environment. I’ve no experience.

I can load games on via the sketch or via a loader, but just putting in a link I’m afraid doesn’t help me. You might understand it but I don’t.

I watched a video last night I wasn’t aware I needed a master file. There’s nothing in the guide about that.

I need it explaining how I add arduboy 2 and tones library to get games to that only work on Arduboy 2 library.

This might sound like a bit of a rant but it’s not. I’m just frustrated.

Have you downloaded and installed the Arduino IDE?

Yes I installed the Arduino IDE.

I go into libraries then select Arduboy 2 then, tones, then go to master, close the Arduino IDE,

Go into games open the folder select the ino file the Arduino ide opens and hit upload

OK so go to the top of the Arduino IDE and click


Then click

Include Library


Manage Libraries…

This will open the Library Manager.

In the search box at the top enter Arduboy. A whole load of libraries will become available.

Make sure you install:


Once you have installed all of the above your IDE is now ready to upload any games and they will work with the Arduboy or Arduboy2 library.

Let me know if you have any further problems.


1 Like

I’m getting this error message.

Arduino: 1.8.1 (Windows 10), Board: “Arduino Leonardo”

libraries\ArduboyTones\ArduboyTones.cpp.o (symbol from plugin): In function `ArduboyTones::getNext()’:

(.text+0x0): multiple definition of `__vector_32’

sketch\audio.cpp.o (symbol from plugin):(.text+0x0): first defined here

collect2.exe: error: ld returned 1 exit status

Multiple libraries were found for "ArduboyTones.h"
Used: C:\Program Files (x86)\Arduino\libraries\ArduboyTones
Not used: C:\Users\philg\OneDrive\Documents\Arduino\libraries\Arduboy\libraries\ArduboyTones-master
Multiple libraries were found for "Arduboy2.h"
Used: C:\Program Files (x86)\Arduino\libraries\Arduboy2
Not used: C:\Users\philg\OneDrive\Documents\Arduino\libraries\Arduboy\libraries\Arduboy2-master
exit status 1
Error compiling for board Arduino Leonardo.

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

Remove the libraries you have put in your OneDrive. This is the worst place you can keep them:


I didn’t realise the Arduino folder went into OneDrive.

Thanks for pointing it out to me.

I’ve put into the Arduboy folder on c drive.

OK so now try uploading a game again.

1 Like

Also you have chosen Arduino Leonardo as your board instead of Arduboy.

yes I did

Arduino: 1.8.1 (Windows 10), Board: “Arduino Leonardo”

In file included from sketch\Arduboy.h:8:0,

             from C:\Users\philg\Desktop\Arduboy\Arduboy Games\BlockStacker\BlockStacker.ino:18:

audio.h:14: error: redefinition of ‘class ArduboyAudio’

class ArduboyAudio


In file included from C:\Users\philg\Desktop\Arduboy\Arduino\libraries\Arduboy2\libraries\Arduboy2\src/Arduboy2.h:25:0,

             from C:\Users\philg\Desktop\Arduboy\Arduboy Games\BlockStacker\BlockStacker.ino:4:

C:\Users\philg\Desktop\Arduboy\Arduino\libraries\Arduboy2\libraries\Arduboy2\src/ArduboyAudio.h:7:7: error: previous definition of ‘class ArduboyAudio’

class ArduboyAudio


Multiple libraries were found for "ArduboyTones.h"
Used: C:\Program Files (x86)\Arduino\libraries\ArduboyTones
Not used: C:\Users\philg\Desktop\Arduboy\Arduino\libraries\Arduboy2\libraries\ArduboyTones-master
Multiple libraries were found for "Arduboy2.h"
Used: C:\Users\philg\Desktop\Arduboy\Arduino\libraries\Arduboy2\libraries\Arduboy2
Not used: C:\Users\philg\Desktop\Arduboy\Arduino\libraries\Arduboy2\libraries\Arduboy2-master
Not used: C:\Program Files (x86)\Arduino\libraries\Arduboy2
exit status 1
redefinition of ‘class ArduboyAudio’

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


Libraries should be installed using the Arduino Library Manager, the way Mike gave in the steps above.

You should not be trying to download and install any Arduboy libraries yourself. Please delete the
folder and everything in it.

Next, in the IDE click on


Then click on


then copy what’s in the Sketchbook location box and paste it here in a reply.

1 Like

I’m sorry I don’t understand.

Then don’t bother with the libraries or deleting anything for now.

Open the Arduino IDE.
In the menu at the top of the IDE window click on


Then click on


A Preferences window will open. At the top of this window there will be a heading:

Sketchbook location:

Under the Sketchbook location heading will be an entry field with text giving the path to your sketchbook folder. Please tell me what’s in that field.


Have you changed the Sketchbook location field?
I would expect it to be:



This what I have edited it to.

Do you wish see the contents of the Arduino folder?

Try to upload your game now.

In future ALWAYS use the Library manager to install new libraries. NEVER do it by hand.

1 Like

OK, good.

Now use whatever it is in Windows (I’m a Linux person) that you use to open the Arduino folder in your Documents folder. Reply when you’ve done this.

In this Arduino folder there should be a libraries folder.

In this libraries folder you should see folders for all the Arudboy related libraries: Arduboy, Arduboy2, ArduboyTones, etc.

If not, follow Mike’s steps above to install all the libraries. Their folders should then appear in this libraries folder.