update the examples & gitignore; catch the error when not compiling on a Raspberry Pi