hello! I own a tevo tarantula and recently did two things, one good one bad, first, the bad. I fried one of my motor controllers by accident, and the good was that I purchased a replacement board along with the parts to do upgrade to a dual z axis. I have everything physically set up, but marlin is refusing to compile and/or upload to the new board it gives me this error:
Arduino: 1.8.9 (Windows Store 1.8.21.0) (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
sketch\src\lcd\menu\menu.cpp: In static member function 'static void MarlinUI::save_previous_screen()':
sketch\src\lcd\menu\menu.cpp:86:44: warning: narrowing conversion of 'encoderTopLine' from 'int8_t {aka signed char}' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing]
screen_history[screen_history_depth++] = { currentScreen, encoderPosition, encoderTopLine, screen_items };
^
sketch\src\lcd\menu\menu.cpp:86:44: warning: narrowing conversion of 'screen_items' from 'int8_t {aka signed char}' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing]
sketch\src\module\planner.cpp: In function 'set_machine_position_mm':
sketch\src\module\planner.cpp:2836:1: internal compiler error: Segmentation fault
}
^
Please submit a full bug report,
with preprocessed source if appropriate.
See http://gcc.gnu.org/bugs.html for instructions.
lto-wrapper.exe: fatal error: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\hardware\tools\avr/bin/avr-gcc returned 1 exit status
compilation terminated.
c:/program files/windowsapps/arduinollc.arduinoide_1.8.21.0_x86__mdqgnx93n4wtt/hardware/tools/avr/bin/../lib/gcc/avr/5.4.0/../../../../avr/bin/ld.exe: error: lto-wrapper failed
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.
I am a coding noob to the highest degree. I don't know how to read this or how to decipher the main section. how would I fix this? I have downloaded a fresh copy of marlin and tried doing it with that, but it resulted in the same outcome.
I know these are forums for mainly arduino issues, but I was directed here by a couple of people on the 3d printing subreddit, so I thought I'd ask what the error meant at least.
Thank you for any help, and if I missed something you need to answer my question, ask and I'll see if I can find it.