Don't post screenshots of text! That is very unhelpful. What's worse is your screenshot only shows the very last fragment of the error, which is all but useless. When you encounter an error you'll see a button on the right side of the orange bar "Copy error messages". Click that button. Paste the error in a message here USING CODE TAGS (</> button on the toolbar). It is almost never appropriate to post screenshots but in some cases it is helpful to post images. You should attach and embed the image following these instructions: http://forum.arduino.cc/index.php?topic=364156
Have you installed the required packages for the MKR1000 ?
SKETCH
INCLUDE LIBRARIES
MANAGE LIBRARIES
Type "MKR" into the search box and press ENTER
Select "WiFi101" from the list
Press INSTALL
Wait until it has completed.
RESTART the IDE (optional but sometimes worth it).