Error compiling Arduino
Install Arduino SAMD Boards (32-bits ARM Cortex-M0+) board (using "Tools" -> "Board" -> "Boards Manager" menu). 

Just search for "SAMD" in the search bar, choose the latest version and install.