I've installed Arduino 1.0.5 (latest stable) on Mac OS and I've moved the Gamebuino Libraries and bootloader to the apropriate locations in ~/Documents/Arduino
As far as I can tell the locations are correct. I see the Gamebuino Examples in the File menu and I've been able to select the board in the Tools menu (resulting in "Gamebuino on COM1" in the bottm right of my sketch windows). However the examples don't verify/compile.
If I load "a_Hello" from "1. Basics" for example verification will fail in line 13 where it says
- Code: Select all
gb.titleScreen(F("My first game"));
with the reason
'F' was not declared in this scope
I'm obviously missing something, but what? It seems to have found Gamebuino.h as included in line 2 and gb.begin(); didn't create an error. Is there any other library I need? Is Arduino 1.0.5 not the correct version? Are there more installation steps on a Mac?
Somebody please help me out.
This is the full output:
- Code: Select all
In file included from a_Hello.ino:2:
/Applications/Arduino.app/Contents/Resources/Java/libraries/SPI/SPI.h:38: error: 'byte' does not name a type
/Applications/Arduino.app/Contents/Resources/Java/libraries/SPI/SPI.h:55: error: 'byte' does not name a type
In file included from /Users/peter/Documents/Arduino/libraries/Gamebuino/Gamebuino.h:15,
from a_Hello.ino:4:
/Users/peter/Documents/Arduino/libraries/Gamebuino/Backlight.h:19: error: 'boolean' does not name a type
In file included from /Users/peter/Documents/Arduino/libraries/Gamebuino/Gamebuino.h:16,
from a_Hello.ino:4:
/Users/peter/Documents/Arduino/libraries/Gamebuino/Display.h:75: error: expected class-name before '{' token
/Users/peter/Documents/Arduino/libraries/Gamebuino/Display.h:117: error: 'boolean' does not name a type
/Users/peter/Documents/Arduino/libraries/Gamebuino/Display.h:118: error: 'boolean' does not name a type
/Users/peter/Documents/Arduino/libraries/Gamebuino/Display.h:121: error: 'byte' does not name a type
In file included from /Users/peter/Documents/Arduino/libraries/Gamebuino/Gamebuino.h:17,
from a_Hello.ino:4:
/Users/peter/Documents/Arduino/libraries/Gamebuino/Buttons.h:18: error: 'boolean' does not name a type
/Users/peter/Documents/Arduino/libraries/Gamebuino/Buttons.h:19: error: 'boolean' does not name a type
/Users/peter/Documents/Arduino/libraries/Gamebuino/Buttons.h:20: error: 'boolean' does not name a type
/Users/peter/Documents/Arduino/libraries/Gamebuino/Buttons.h:21: error: 'boolean' does not name a type
In file included from /Users/peter/Documents/Arduino/libraries/Gamebuino/Gamebuino.h:18,
from a_Hello.ino:4:
/Users/peter/Documents/Arduino/libraries/Gamebuino/Battery.h:26: error: 'boolean' does not name a type
In file included from /Users/peter/Documents/Arduino/libraries/Gamebuino/Gamebuino.h:19,
from a_Hello.ino:4:
/Users/peter/Documents/Arduino/libraries/Gamebuino/Sound.h:30: error: 'boolean' does not name a type
/Users/peter/Documents/Arduino/libraries/Gamebuino/Sound.h:36: error: 'boolean' has not been declared
/Users/peter/Documents/Arduino/libraries/Gamebuino/Sound.h:39: error: 'boolean' does not name a type
/Users/peter/Documents/Arduino/libraries/Gamebuino/Sound.h:79: error: 'boolean' does not name a type
/Users/peter/Documents/Arduino/libraries/Gamebuino/Sound.h:86: error: 'boolean' does not name a type
In file included from a_Hello.ino:4:
/Users/peter/Documents/Arduino/libraries/Gamebuino/Gamebuino.h:33: error: expected ',' or '...' before '*' token
/Users/peter/Documents/Arduino/libraries/Gamebuino/Gamebuino.h:33: error: ISO C++ forbids declaration of '__FlashStringHelper' with no type
/Users/peter/Documents/Arduino/libraries/Gamebuino/Gamebuino.h:34: error: expected ',' or '...' before '*' token
/Users/peter/Documents/Arduino/libraries/Gamebuino/Gamebuino.h:34: error: ISO C++ forbids declaration of '__FlashStringHelper' with no type
/Users/peter/Documents/Arduino/libraries/Gamebuino/Gamebuino.h:34: error: 'void Gamebuino::titleScreen(int)' cannot be overloaded
/Users/peter/Documents/Arduino/libraries/Gamebuino/Gamebuino.h:33: error: with 'void Gamebuino::titleScreen(int)'
/Users/peter/Documents/Arduino/libraries/Gamebuino/Gamebuino.h:37: error: 'boolean' does not name a type
/Users/peter/Documents/Arduino/libraries/Gamebuino/Gamebuino.h:38: error: 'boolean' does not name a type
/Users/peter/Documents/Arduino/libraries/Gamebuino/Gamebuino.h:50: error: expected ',' or '...' before '*' token
/Users/peter/Documents/Arduino/libraries/Gamebuino/Gamebuino.h:50: error: ISO C++ forbids declaration of '__FlashStringHelper' with no type
/Users/peter/Documents/Arduino/libraries/Gamebuino/Gamebuino.h:53: error: 'boolean' does not name a type
/Users/peter/Documents/Arduino/libraries/Gamebuino/Gamebuino.h:57: error: 'boolean' does not name a type
/Users/peter/Documents/Arduino/libraries/Gamebuino/Gamebuino.h:58: error: 'boolean' does not name a type
/Users/peter/Documents/Arduino/libraries/Gamebuino/Gamebuino.h:64: error: ISO C++ forbids declaration of '__FlashStringHelper' with no type
/Users/peter/Documents/Arduino/libraries/Gamebuino/Gamebuino.h:64: error: expected ';' before '*' token
a_Hello.ino: In function 'void setup()':
a_Hello:13: error: 'F' was not declared in this scope
a_Hello.ino: In function 'void loop()':
a_Hello:21: error: 'class Gamebuino' has no member named 'update'
a_Hello:23: error: 'class Display' has no member named 'println'
a_Hello:23: error: 'F' was not declared in this scope
a_Hello:29: error: 'class Display' has no member named 'println'