Error compiling arduino editor but not IDE

That is a lot of code. Why not try to find the error by only compiling parts of the code at a time?