Switch to full style
For problems with Gamebuino itself, NOT your project
Post a reply

[SOLVED]gamebuino does not name a type

Fri Aug 07, 2015 10:36 am

Hello everyone,
In Arduino ERW 1.0.5 every time i try and load an example to my gamebuino it says:

Gamebuino does not name a type.

and allot of:
gb was not declared in this scope ,
and LCDWIDTH was not declared in this scope
the same with all the other LCD dimensions.
I have this problem with every single example.
:cry: :cry: :cry: :cry:
Last edited by EatMyBlitch on Fri Aug 07, 2015 10:50 am, edited 1 time in total.

Re: gamebuino does not name a type

Fri Aug 07, 2015 10:39 am

Did you make sure this are your first three lines?
Code:
#include <SPI.h>
#include <Gamebuino.h>
Gamebuino gb;

Did you make sure you have all the library files copied over correctly?
Do you have as board selected "Gamebuino" ?

Re: gamebuino does not name a type

Fri Aug 07, 2015 10:43 am

those are my first 3 lines but i cant seem to find Gamebuino in the board list.

Re: gamebuino does not name a type

Fri Aug 07, 2015 10:44 am

Then you didn't copy over the folders correctly, check out http://gamebuino.com/wiki/index.php?tit ... ware_setup

Re: gamebuino does not name a type

Fri Aug 07, 2015 10:46 am

i did it wil test out now

Re: gamebuino does not name a type

Fri Aug 07, 2015 10:48 am

thanks alot sorunome :lol: :lol:

Re: gamebuino does not name a type

Fri Aug 07, 2015 10:48 am

No problem!
Mind editing the first post to add "[solved]" in front of the title so that others know it is solved?

Re: gamebuino does not name a type

Fri Aug 07, 2015 10:49 am

ok will do
Post a reply