Problem Compiling most games

The problem you are having here is that if you try to take “ArduboyLife.ino” and run it like that, arduino only moves the sketch (the .ino file) into it’s own subfolder. What you will want to do is actually rename the folder itself to make sure all of the other files are straight away included. It might help if you take a screen shot of the associated folders to confirm what got moved where.

2 Likes

I have not had any success. I haven’t tried, either, until today. This is the error I’m getting when trying to load the games that came in the library itself.
Arduino: 1.6.8 (Linux), Board: “Arduino Leonardo”

[CODE]
Arduino/Arduboy/examples/ArduBreakout/ArduBreakout.ino:12:21: fatal error: Arduboy.h: No such file or directory
#include “Arduboy.h”
^
compilation terminated.
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.
[/CODE]

None of the games work for me either in the library. See above.

Here is the error for Glove:

[CODE]
Arduino: 1.6.8 (Linux), Board: “Arduino Leonardo”

In file included from Arduino/Arduboy/examples/glove/glove.ino:1:0:
sketch/globals.h:4:21: fatal error: Arduboy.h: No such file or directory
#include “Arduboy.h”
^
compilation terminated.
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.
[/CODE]

Also he might need to set Arduino as ISP.
Otherwise that can happen too.
It doesn’t make too much sense since it shouldn’t affect the include files, but it has for me.

This wasn’t to me, but my problem is exactly the same, and yes the library was installed.

I figured that out the renaming thing on my own, but still cannot get anything outside of TEAM A.R.G. to work, including Glove. Looks like a cool came, sucks I can’t try it.

Again, this comment was not to me; However, I’ve placed the glove folder for instance in every folder/subfolder within the “Adruino” and “Arduboy” folder to see if that mattered. I’ve placed all TEAM A.R.G. games in the “examples” folder and run them from there without a problem.

Ahhhh! I’ve got it… just got glove loaded. It appears the arduboy zip was not loaded properly in the library. I ended up loading it manually and it is not loading just fine. Feeling a little foolish I didn’t catch this earlier.

Thanks for the help everyone. It is appreciated.

Kevin, this think kicks butt!

Go back to the quick start guide and make sure you add the arduino zip. I had to do it manually after downloading it from the quick start page link: Sketch > Include Library > add .ZIP library and then find where you saved the zip and load it.

Using the .zip file is no longer necessary. You should use the Library Manager as the Quick Start Guide instructs in Step 2.