Getting an error "compilation terminated. exit status 1 Error compiling for board Arduino Nano"

Try deleting that line.

Thanks for posting the complete set of error messages. Next time please put them inside code tags.