Hello everyone,
I'm experiencing an issue while trying to upload even the most basic code to my Keyestudio Arduino Uno. I keep encountering the following error:
exit status -1073741819
Error compiling for board Arduino Uno.
The code I am using is the bare minimum sketch from a brand-new file in the Arduino IDE. To troubleshoot, I tried uploading the same code to my Elegoo Uno R3 board, but I encountered a different error:
Build options changed, rebuilding all
exit status 1
Error compiling for board Arduino Uno
Has anyone experienced a similar issue or can provide any advice on resolving this? I'd appreciate any help.
Thank you!
Do you see some red text in the output window before the exit status line?
I can cause exit status 1 by trying to use a function which does not exist.
Linking everything together...
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-gcc" -Wall -Wextra -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega328p -o "C:\\Users\\David\\AppData\\Local\\Temp\\arduino_build_988792/deleteme2.ino.elf" "C:\\Users\\David\\AppData\\Local\\Temp\\arduino_build_988792\\sketch\\deleteme2.ino.cpp.o" "C:\\Users\\David\\AppData\\Local\\Temp\\arduino_build_988792/core\\core.a" "-LC:\\Users\\David\\AppData\\Local\\Temp\\arduino_build_988792" -lm
C:\Users\David\AppData\Local\Temp\ccT0oUoX.ltrans0.ltrans.o: In function `setup':
C:\Users\David\Dropbox\WorkArea\Electronics\Microcontrollers\Sketches\deleteme2/deleteme2.ino:4: undefined reference to `writeToPlasma()'
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board Arduino Uno.
It may help someone to identify the cause of your error if you post the full contents of the output window, not just the error code.
Sorry, I didn't get that on the output.