Error Compiling for board Arduino MKR1000

Start by looking at your compiler errors. 'NINA_GPIO0' was not declared in this scope

This error is listed for file /WiFiNINA/src/utility/spi_drv.cpp

Looks like you might be missing a .h file or a library for spi_drv

Look in spi_drv.cpp and see if there is a delectation for NINA_GPIO0, If no deceleration then look to see if there is a .h file included in the .cpp file.