Arduino: 1.8.16 (Windows Store 1.8.51.0) (Windows 10), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"
C:\Users\kindr\AppData\Local\Temp\ccxetHRL.ltrans0.ltrans.o: In function `main':
C:\Users\kindr\Documents\ArduinoData\packages\arduino\hardware\avr\1.8.4\cores\arduino/main.cpp:46: undefined reference to `loop'
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board Arduino Mega or Mega 2560.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
this is the error that i am receiving when i try to upload some code. this has never happened to me before. everything was being loaded just fine a few days ago. what can i be doing wrong and how can i fix it?