Please help me fix this eror

Using board '32' from platform in folder: C:\Users\zero Two\AppData\Local\Arduino15\packages\MightyCore\hardware\avr\2.1.3
Using core 'MCUdude_corefiles' from platform in folder: C:\Users\zero Two\AppData\Local\Arduino15\packages\MightyCore\hardware\avr\2.1.3
Detecting libraries used...
"C:\\Users\\zero Two\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++17 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega32 -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_ATmega32 -DARDUINO_ARCH_AVR "-IC:\\Users\\zero Two\\AppData\\Local\\Arduino15\\packages\\MightyCore\\hardware\\avr\\2.1.3\\cores\\MCUdude_corefiles" "-IC:\\Users\\zero Two\\AppData\\Local\\Arduino15\\packages\\MightyCore\\hardware\\avr\\2.1.3\\variants\\standard" "C:\\Users\\zero Two\\AppData\\Local\\Temp\\arduino\\sketches\\4D549C6447DA69B2A624F049FDE561A2\\sketch\\CODING_V1.ino.cpp" -o nul
Alternatives for EEPROM.h: [EEPROM@2.0]
ResolveLibrary(EEPROM.h)
  -> candidates: [EEPROM@2.0]
"C:\\Users\\zero Two\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++17 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega32 -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_ATmega32 -DARDUINO_ARCH_AVR "-IC:\\Users\\zero Two\\AppData\\Local\\Arduino15\\packages\\MightyCore\\hardware\\avr\\2.1.3\\cores\\MCUdude_corefiles" "-IC:\\Users\\zero Two\\AppData\\Local\\Arduino15\\packages\\MightyCore\\hardware\\avr\\2.1.3\\variants\\standard" "-IC:\\Users\\zero Two\\AppData\\Local\\Arduino15\\packages\\MightyCore\\hardware\\avr\\2.1.3\\libraries\\EEPROM\\src" "C:\\Users\\zero Two\\AppData\\Local\\Temp\\arduino\\sketches\\4D549C6447DA69B2A624F049FDE561A2\\sketch\\CODING_V1.ino.cpp" -o nul
Generating function prototypes...
"C:\\Users\\zero Two\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++17 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega32 -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_ATmega32 -DARDUINO_ARCH_AVR "-IC:\\Users\\zero Two\\AppData\\Local\\Arduino15\\packages\\MightyCore\\hardware\\avr\\2.1.3\\cores\\MCUdude_corefiles" "-IC:\\Users\\zero Two\\AppData\\Local\\Arduino15\\packages\\MightyCore\\hardware\\avr\\2.1.3\\variants\\standard" "-IC:\\Users\\zero Two\\AppData\\Local\\Arduino15\\packages\\MightyCore\\hardware\\avr\\2.1.3\\libraries\\EEPROM\\src" "C:\\Users\\zero Two\\AppData\\Local\\Temp\\arduino\\sketches\\4D549C6447DA69B2A624F049FDE561A2\\sketch\\CODING_V1.ino.cpp" -o "C:\\Users\\zero Two\\AppData\\Local\\Temp\\arduino\\sketches\\4D549C6447DA69B2A624F049FDE561A2\\preproc\\ctags_target_for_gcc_minus_e.cpp"
"C:\\Users\\zero Two\\AppData\\Local\\Arduino15\\packages\\builtin\\tools\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\zero Two\\AppData\\Local\\Temp\\arduino\\sketches\\4D549C6447DA69B2A624F049FDE561A2\\preproc\\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"C:\\Users\\zero Two\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++17 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega32 -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_ATmega32 -DARDUINO_ARCH_AVR "-IC:\\Users\\zero Two\\AppData\\Local\\Arduino15\\packages\\MightyCore\\hardware\\avr\\2.1.3\\cores\\MCUdude_corefiles" "-IC:\\Users\\zero Two\\AppData\\Local\\Arduino15\\packages\\MightyCore\\hardware\\avr\\2.1.3\\variants\\standard" "-IC:\\Users\\zero Two\\AppData\\Local\\Arduino15\\packages\\MightyCore\\hardware\\avr\\2.1.3\\libraries\\EEPROM\\src" "C:\\Users\\zero Two\\AppData\\Local\\Temp\\arduino\\sketches\\4D549C6447DA69B2A624F049FDE561A2\\sketch\\CODING_V1.ino.cpp" -o "C:\\Users\\zero Two\\AppData\\Local\\Temp\\arduino\\sketches\\4D549C6447DA69B2A624F049FDE561A2\\sketch\\CODING_V1.ino.cpp.o"
Compiling libraries...
Compiling library "EEPROM"
Compiling core...
Using precompiled core: C:\Users\zero Two\AppData\Local\Temp\arduino\cores\345d449383bf2745025a74f7dfd9def4\core.a
Linking everything together...
"C:\\Users\\zero Two\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc" -w -Os -Wl,--gc-sections,--section-start=.FAR_MEM1=0x10000 -mmcu=atmega32 -o "C:\\Users\\zero Two\\AppData\\Local\\Temp\\arduino\\sketches\\4D549C6447DA69B2A624F049FDE561A2/CODING_V1.ino.elf" "C:\\Users\\zero Two\\AppData\\Local\\Temp\\arduino\\sketches\\4D549C6447DA69B2A624F049FDE561A2\\sketch\\CODING_V1.ino.cpp.o" "C:\\Users\\zero Two\\AppData\\Local\\Temp\\arduino\\sketches\\4D549C6447DA69B2A624F049FDE561A2/..\\..\\cores\\345d449383bf2745025a74f7dfd9def4\\core.a" "-LC:\\Users\\zero Two\\AppData\\Local\\Temp\\arduino\\sketches\\4D549C6447DA69B2A624F049FDE561A2" -lm
"C:\\Users\\zero Two\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-objcopy" -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 "C:\\Users\\zero Two\\AppData\\Local\\Temp\\arduino\\sketches\\4D549C6447DA69B2A624F049FDE561A2/CODING_V1.ino.elf" "C:\\Users\\zero Two\\AppData\\Local\\Temp\\arduino\\sketches\\4D549C6447DA69B2A624F049FDE561A2/CODING_V1.ino.eep"
"C:\\Users\\zero Two\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-objcopy" -O ihex -R .eeprom "C:\\Users\\zero Two\\AppData\\Local\\Temp\\arduino\\sketches\\4D549C6447DA69B2A624F049FDE561A2/CODING_V1.ino.elf" "C:\\Users\\zero Two\\AppData\\Local\\Temp\\arduino\\sketches\\4D549C6447DA69B2A624F049FDE561A2/CODING_V1.ino.hex"
cmd /C "C:\\Users\\zero Two\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-objdump" --disassemble --source --line-numbers --demangle --section=.text "C:\\Users\\zero Two\\AppData\\Local\\Temp\\arduino\\sketches\\4D549C6447DA69B2A624F049FDE561A2/CODING_V1.ino.elf" > "C:\\Users\\zero Two\\AppData\\Local\\Temp\\arduino\\sketches\\4D549C6447DA69B2A624F049FDE561A2/CODING_V1.ino_atmega32_16000000L.lst"
'C:\Users\zero' is not recognized as an internal or external command,
operable program or batch file.

Using library EEPROM at version 2.0 in folder: C:\Users\zero Two\AppData\Local\Arduino15\packages\MightyCore\hardware\avr\2.1.3\libraries\EEPROM 
exit status 1

Compilation error: exit status 1

Maybe because of the space between "zero" and "Two" in your username.

Your topic was MOVED to its current forum category which is more appropriate than the original as it has nothing to do with Installation and Troubleshooting of the IDE

Hi @square_beta. ZX80 guessed the significant factor in the error. There was a bug in older versions of the MightyCore boards platform you are using that caused compilation to fail when the path contained a space.

That bug has already been fixed:

But you are using an outdated version of MightyCore from before the fix. So the only thing you need to do is use the Arduino IDE Boards Manager to update to the latest version of MightyCore and the problem will be fixed. I'll provide instructions:

  1. Select File > Preferences from the Arduino IDE menus.
    The "Preferences" dialog will open.
  2. If it is not already present there, add the following URL to the "Additional Boards Manager URLs" field:
    https://mcudude.github.io/MightyCore/package_MCUdude_MightyCore_index.json
    
    If there are other URLs in the field, separate them with commas (,).
  3. Click the OK button on the "Preferences" dialog.
  4. You will now see a "Downloading index: ..." notification at the bottom right corner of the IDE window. Wait for that notification to close.
  5. Select Tools > Board > Boards Manager from the Arduino IDE menus to open the "Boards Manager" view in the left side panel.
  6. Scroll down through the list of boards platforms until you see the "MightyCore" entry.
  7. Click the "INSTALL" button at the bottom of the entry.
  8. Wait for the installation to finish.

Now try compiling or uploading your sketch again.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.