Compile error

You should understand grbl before you try to use it. The grbl firmware is not something that you add to your code. It is a stand alone gcode parser and control firmware. And you can't just send a text file to grbl. There is a certain handshaking protocol to send gcode to grbl.

Universal gcode sender and bCNC are 2 popular programs used to send your gcode to grbl.