Read the forum guidelines to see how to properly post code and some good information on making a good post.
Use the IDE autoformat tool (ctrl-t or Tools, Auto format) before posting code in code tags. Auto-format will show the missing curly brackets of the setup() function.
Please go back and fix your original post.
Please post the entire error message(s). Paraphrasing leaves out important information. Copy the entire error message and paste into a post.