I know that this has been discussed, but being new to coding I am having a tough time trying to decipher where the errors are located and everything I have tried to read the last couple of days has not helped clear up how to resolve the issue.
I am having issues with a delta printer and hardware seems okay so I am trying to just update the firmware to see if the system runs and is smoother as well.
It is running the Arduino/Genuino Mega or Mega 2560 board with the ATMega 2560 (Mega2560) processor.
My printer was running Arduino 1.1.8. I was trying to upgrade to the very latest Arduino (1.8.12), but there is no choice for my particular board on the tools list. So I get a can't compile error. I had to go to Arduino 1.8.10 to find the choices I need, but I am getting undefined setup and loop errors.
Arduino: 1.8.10 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)" C:\Users\MERCED~1\AppData\Local\Temp\ccSkj9El.ltrans0.ltrans.o: In function `main': C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/main.cpp:43: undefined reference to `setup' C:\Program Files (x86)\Arduino\hardware\arduino\avr\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/Genuino Mega or Mega 2560. This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.
Not being an experienced programmer, and I am unsure how to proceed. There doesn't seem to be a substitute that works for my system on the latest Arduino (1.8.12), So I had to go back to the 1.8.10 version to find the board I use. But I cannot identify the lines the errors are in, or if they are even located in some other sketch/code
I have tried the FILE/NEW then VERIFY/COMPILE and get no error with it. So, it would seem to me that the way the code is being loaded in from the Marlin.ini file should be okay.