Problem Compiling most games

Yep it does say 1 of 10000 but to be fair lots of art also says things like 3 of 300 without a #.

Haha, its just an unordered set. Take one element from 10 thousand, any element, regardless of order, and it is 1/40k. If you order the set of of 40k arduboys, and then pick the first one in that ordered set, it is also 1/40k.

The only games that I can get to work are the TEAMa.r.g. games. Anyone know of a fix? The games that come pre-loaded when I downloaded the Arduboy Library do not work. If they load it is just a black screen, most have a compiling error.

You get anywhere with this @stewa2jm? The search function in toolbar () is pretty handy.

You may also find the new classifieds section handy and open a “help wanted” post for your specific problem.

http://community.arduboy.com/c/classifieds

[QUOTE=ekem]The only games that I can get to work are the TEAMa.r.g. games. Anyone know of a fix?
The games that come pre-loaded when I downloaded the Arduboy Library do
not work. If they load it is just a black screen, most have a compiling
error.[/QUOTE]

I’ve done some searching, though not much recently. Haven’t tried any games recently either. What I did find was some of the problems are clearly due to some library coding issues between Kickstarter editions and developer boards. The other stuff I found I had figured out on my own (excluding -Master in file names for instance).

I still get compiling errors. And sometimes the compile but only get a black screen.

The ArduBreakout that come with the main ArduBoy library gets this error:
ArduBreakout.ino:12:21: fatal error: Arduboy.h: No such file or directory
Compilation Terminated

Other games get a long list of “declaration” and conflicts with declarations errors involving C and C++.

And various other erros. Since Arduino IDE won’t let me copy and paste the errors and some of them are 10’s of lines long, I’m not going to retype them here.

I’ll need to download some newer games to see if they’ve been fixed by the original developers and see what happens.

I also have no idea how to quote on this forum… every other forum I’m in there is a “quote” button. I had to actually type the code for this…

Do you have a Kickstarter Arduboy or a DevKit?

What version of the Arduino IDE are you trying to use (look in the window title bar)?

The latest version of the Arduino IDE gives you a Copy error messages button.

Just use the mouse to highlight the text you want to quote, then click on the
" quote reply box that pops up.

Thanks!

Just downloaded and installed the latest on my Ubuntu machine. I was on 1.0 something from the Software Center… Lame. I see the copy code now.

I have a Kickstarter edition.

@stewa2jm Did you get this resolved, I see we still have SOLVED in the title but that appears to be from another user. Let us know if we can help!

I’m having the same problem as stewa2jm.Team ARG games work with no fuss but any other game will not work. I’m using Windows 10 and the most recent Arduino 1.6.8. I do have it set to Arduino Leonardo board and the correct COM port it is connected to.

Example:

I download the Puzzle Pack zip file and extract it.

I then go into the folder and select the .ino file.

Then I get a message telling me:

The file “ArduboyLife.ino” needs to be inside a sketch folder named “ArduboyLife”. Create this folder, move the file, and continue?

I click okay and it brings me to the sketch. I then try to compile and it gives me this error message:

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

C:\Users\user\Downloads\puzzle_pack-master\puzzle_pack-master\puzzle_pack\puzzle_pack.ino:9:21: fatal error: Ardumod.h: No such file or directory

#include “Ardumod.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.

It happens with every game except Team ARG games. If I say no to creating a new sketch folder for the .ino file, it won’t work either.

Mmm there are a couple of things going on with your approach. Have you installed the library in the IDE per the guides?

In the case of github downloads, when you click the download zip button you get a zip file with a “GAMENAME_master” folder in it. Just delete the “_master” off the end of the extracted folder name. Out of curiosity, have you tried my game, Glove? I recently updated it but would like to know of there are any compilation issues that may have come up.

1 Like

Have you tried any of the example sketches included with the library?
File -> Examples -> Arduboy -> ...

1 Like

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.