Tomin Posted June 5, 2015 Report Share Posted June 5, 2015 Hi I tried to run Gameduino on Papilio DUO, but I hit a wall. When I try to upload an example to the AVR it says it can't find GD.h The exact message is collision.ino:6:16: fatal error: GD.h: No such file or directorycompilation terminated.Error compiling.That's not very suprising as there isn't such file in the Gameduino library that can be downloaded from Gadget Factory. What am I doing wrong? What I've done:Downloaded the Gameduino library from this website.Copied the three directories to library directory and they showed up in DesignLab.Uploaded the Classic Computing Shield version of Gameduino to the FPGA side of my Papilio DUO. Tried to upload an example (any example from Gameduino should work, even the most basic ones fail) to the AVR side of the Papilio DUO. Quote Link to comment Share on other sites More sharing options...
mkarlsson Posted June 5, 2015 Report Share Posted June 5, 2015 Here is a link to the original gameduino library, maybe this will help you.http://excamera.com/files/gameduino/synth/sketches/Gameduino.zip Magnus Quote Link to comment Share on other sites More sharing options...
Jack Gassett Posted June 5, 2015 Report Share Posted June 5, 2015 Ok, I've been looking into this all morning. This problem was introduced when we upgraded to Arduino version 1.5.8, there are two problems I'm working through. First, libraries are handled differently now and 1.5.8 does not like that the Gameduino library does not match the header files. Changing the Gameduino library folder to GD so it matches the GD.h and GD.cpp files fixes the problem of not being able to find the library. But it exposes another problem that I'm working through now. We are now getting this error message:error: 'prog_uchar' has not been declared Apparently with 1.5.8 they upgraded the avr toolchain and this is no longer supported as described here:http://forum.arduino.cc/index.php?topic=272313.0 Adding this to GD.h lets some of the examples work:typedef const unsigned char prog_uchar; But some examples complain so I'm still figuring out a good solution. Should have more info soon. Jack. Quote Link to comment Share on other sites More sharing options...
Jack Gassett Posted June 9, 2015 Report Share Posted June 9, 2015 Ok, Here is a working version of the Gameduino library for DesignLab 1.0.6, it will be included with 1.0.7. Jack.Gameduino_1.0.6.zip Quote Link to comment Share on other sites More sharing options...
jamesbowman Posted August 12, 2015 Report Share Posted August 12, 2015 Hi all, I updated the Gameduino1 libraries a couple of months ago. It now builds cleanly with Arduino IDEs from 1.0.5 to 1.6.5. There are also more games and demos included. http://www.excamera.com/sphinx/gameduino/GD/index.html The source code for the GD1 library is here - if you have a patch then a pull request would be very welcome! https://github.com/jamesbowman/gd1 James. Quote Link to comment Share on other sites More sharing options...
Jack Gassett Posted August 13, 2015 Report Share Posted August 13, 2015 Ahhh! Thank you for the heads up James, I'm putting on my task list to take a look and upgrade to your latest version. Thank you for the awesome Gameduino source code too! Jack. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.