Troubleshooting missing dependencies:
I notice now when I installed Arduino on my Raspberry Pi that you can get missing dependencies like ‘TimerOne.h: No such file or directory’.
The thing that worked for me was:
1) Go to Sketch->Include Libary->Manage Libaries
2) Search for the missing header name e.g. ‘TimerOne’ and install it.
Hope that it helps someone.