IDE stuck at "compiling Sketch".. (SOLVED)


Yesterday my code was working fine but today, my code will not compile. It will just stay at the Compiling Sketch part for hours.

I tried commenting the entire code off and leaving just the setup and loop functions and it still won't work.

Any ideas?

Also, its my first library so I think its probably some kind of library error. Ive tried compiling other code and it works.

Post your code, we're not mind readers. Probably a typo somewhere involving ; ) or }

I got it. It turned out that I put

#if (ARDUINO >= 100)
#include <Arduino.h>
#include <WProgram.h>

in my .CPP file instead of the .h file.