Didn't you read Coding Badly's reply?
I found the same thing. You have a comment line immediately before "void loop() {" with forward backslashes on the end. As a result, this is treated as a comment:- "void loop() {"
If you add a blank line before the beginning of your 'loop()' function, the code compiles fine.
As Coding Badly said, it's not a good idea to put line continuation characters at the end of comment lines for no good reason.
(I was originally in the process of posting when Coding Badly beat me to the punch, so I aborted.
)