Error with game.h
Hello, I'm a fairly inexperienced programmer when it comes to Arduino, and for some reason when running Ardynia I get the following error:
Arduino: 1.8.7 (Mac OS X), Board: "Arduboy"
ardynia:6:22: error: src/game.h: No such file or directory compilation terminated. exit status 1 src/game.h: No such file or directory
If you have any suggestions, I'm all ears. Thank you!
Hi @Gwifon can you show a screenshot of what the game's directories look like? Like with the Finder, showing the main directory with ardynia.ino in it and the src directory?
If you don't want to compile the game, you can get a build of it here:
https://github.com/city41/ardynia/releases/tag/1.1.0
I get this same error when compiling from the latest release, but I get no error if I just compile from the master branch of the git repo. I haven't dug much deeper into what the differences are, but I get the bug with release 1.1.0, and the master branch compiles with no issues (latest commit is the second one on March 31 2019).
For reference, attaching directory structure outputs for the two different versions.
hmm, this is the only code change since the last release: https://github.com/city41/ardynia/commit/6fecd52b1b65e607d2e0ac615d3a5704a04f6adb
All the other commits that happened after the last release were related to the website.
I'm not sure why the release won't compile. But I haven't had a chance to investigate. I doubt I will for some time, as lots of things are going on right now.
Since master works, I would vote just go with that. The difference between 1.1.0 and master is pretty much negligible.
Turns out the other issue, https://github.com/city41/ardynia/issues/1, is the reason for that code change. Just commenting here in case that added context may be helpful.