Arduino: 1.6.12 (Mac OS X), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
/var/folders/_h/cw2_jv2j0kb8m4shtlxb48900000gq/T//ccPFrtNs.ltrans0.ltrans.o: In function main': ccPFrtNs.ltrans0.o:(.text.startup+0x1c8): undefined reference to loop'
collect2: error: ld returned 1 exit status
exit status 1
Error compiling for board Arduino/Genuino Mega or Mega 2560.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
i've already tried anything, i've been trying for an hour! XD i can't understand these things for the life of me, so i'm asking the greats. any help?
You encountered a compilation error, that has absolutely nothing to do with your board. The same problem would happen even if the Arduino wasn't plugged in to your computer.
Actual_Dragon:
it's arduino as isp right?
The Tools > Programmer menu selection is only used for Tools > Burn Bootloader or Sketch > Upload Using Programmer. If you're not doing one of those then it makes absolutely no difference what you have selected in that menu.