[quote author=Nick Gammon link=topic=115485.msg869946#msg869946 date=1343080650]
I suggest you change the backslashes to forward slashes. Then it will compile on Mac/Linux:
I confirm your results. Once I did that it compiled, and did nothing. So adding debugging about how much memory is free won't be much help (it probably won't run).
I don't know what the problem is, exactly, but I can narrow it down a bit.
The problem occurs by including an instance of the class Quadrotor. As you say, Quadrotor does not have a (non-implicit) constructor, however merely including it will cause all the constructors of the classes inside Quadrotor to be called. And you have quite a few of them. Vector, Angle, Model, Locator.
All I can suggest is stripping out stuff (which in itself will probably cause compile errors so it may be a long job) to try to narrow down what the issue is.
I can't see anything obviously wrong. No huge arrays I have spotted, nor massive literal strings. However the guess that you are out of memory could well be right.
Alternatively, and quite possibly, the "static initialization order fiasco". It could be that class constructors are simply being called in the wrong order, and one class is expecting another one to be initialized, when it isn't.
I've been working on this all afternoon, and I have gotten it to start, but it does stop after a few seconds. I rewrote all the classes that used constructors to initialize everything and moved the code into explicit Init() methods. That enabled the code to actually start, but now it stops either while initializing the quad, or right after (when the interrupts are supposed to take over). I also took care of the slash issue, and will put the new code on the github. I don't have a lot of experience with the arduino specifically, but it sure seems like a memory issue to me now, but try as I might, I cannot seem to fix it. I have removed a lot of code that I don't use anymore and slimmed down all the variables I could.
Thank you all for the help so far, it's really appreciated.