Post by squarefox on Mar 2, 2014 10:37:31 GMT -8
Hello,
if I try to compile the gameduino 2 examples (e.g. the hello world example) with arduino-1.5.3 for the Intel Galileo, I get a bunch of compile errors.
Under arduino-1.0.5-r2, everything works fine, but there I cannot compile for the Galileo.
Can someone help me please?
Regards,
Squarefox
if I try to compile the gameduino 2 examples (e.g. the hello world example) with arduino-1.5.3 for the Intel Galileo, I get a bunch of compile errors.
Arduino: 1.5.3 (Windows 7), Board: "IntelĀ® Galileo"
In file included from helloworld.ino:3:0:
C:\Users\Squarefox\Documents\Arduino\libraries\Gameduino2/GD2.h: In member function 'void sdcard::begin(byte)':
C:\Users\Squarefox\Documents\Arduino\libraries\Gameduino2/GD2.h:232:5: error: 'SPSR' was not declared in this scope
C:\Users\Squarefox\Documents\Arduino\libraries\Gameduino2/GD2.h:232:18: error: 'SPI2X' was not declared in this scope
C:\Users\Squarefox\Documents\Arduino\libraries\Gameduino2/GD2.h: At global scope:
C:\Users\Squarefox\Documents\Arduino\libraries\Gameduino2/GD2.h:329:27: error: 'prog_uchar' does not name a type
C:\Users\Squarefox\Documents\Arduino\libraries\Gameduino2/GD2.h:329:39: error: ISO C++ forbids declaration of 'src' with no type [-fpermissive]
C:\Users\Squarefox\Documents\Arduino\libraries\Gameduino2/GD2.h: In member function 'void Poly::v(int, int)':
C:\Users\Squarefox\Documents\Arduino\libraries\Gameduino2/GD2.h:828:27: error: 'min' was not declared in this scope
C:\Users\Squarefox\Documents\Arduino\libraries\Gameduino2/GD2.h:829:27: error: 'max' was not declared in this scope
C:\Users\Squarefox\Documents\Arduino\libraries\Gameduino2/GD2.h: In member function 'void Poly::paint()':
C:\Users\Squarefox\Documents\Arduino\libraries\Gameduino2/GD2.h:837:21: error: 'max' was not declared in this scope
C:\Users\Squarefox\Documents\Arduino\libraries\Gameduino2/GD2.h:839:28: error: 'min' was not declared in this scope
C:\Users\Squarefox\Documents\Arduino\libraries\Gameduino2/GD2.h: In member function 'void Streamer::progress(uint16_t&, uint16_t&)':
C:\Users\Squarefox\Documents\Arduino\libraries\Gameduino2/GD2.h:905:33: error: 'min' was not declared in this scope
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Under arduino-1.0.5-r2, everything works fine, but there I cannot compile for the Galileo.
Can someone help me please?
Regards,
Squarefox