Compialtion error on uplaod to Arduino Nano using Arduino IDE 2.3.2

I'm so sorry, Please pardon my shortcomings, I've now gotten version 3.0.2 installed. I'm so sorry i ignored this at first

I actually did, multiple time, but i got no message to show confirmation.
This actually the part that i feel isn't going well. this is because after copying the stable link and pasting it in the external board manager link's field, when i click OK and the preferences window closes, i see no message by the bottom right corner of the IDE window that says anything sort of "Downloading index:....", That's just the only part in this process that doesn't go as expected. And It can be that it's because of internet issues, because shortly after, I headed to installing version esp32 systems by espressif boards in board manager which went well.

Okay, I went back to copy the stable release link again, headed to the preferences dialog and replaced the link there with the one i just copied. On clicking ok, It just closed the dialog and i was expecting the message (waited for up to a minute) but i didn't see it.
After i installed version 3.0.2 (i got an "installed successfully" message here), I tried compiling again and i got a compilation error in return with the message below:

Arduino: 1.8.19 (Windows 10), Board: "ESP32 Dev Module, Disabled, Disabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi/BT), QIO, 80MHz, 4MB (32Mb), 115200, Core 1, Core 1, None, Disabled, Disabled"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\pc\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\pc\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\pc\Documents\Arduino\libraries -fqbn=esp32:esp32:esp32:JTAGAdapter=default,PSRAM=disabled,PartitionScheme=default,CPUFreq=240,FlashMode=qio,FlashFreq=80,FlashSize=4M,UploadSpeed=921600,LoopCore=1,EventsCore=1,DebugLevel=none,EraseFlash=none,ZigbeeMode=default -ide-version=10819 -build-path C:\Users\pc\AppData\Local\Temp\arduino_build_217173 -warnings=default -build-cache C:\Users\pc\AppData\Local\Temp\arduino_cache_469761 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.esp-x32.path=C:\Users\pc\AppData\Local\Arduino15\packages\esp32\tools\esp-x32\2302 -prefs=runtime.tools.esp-x32-2302.path=C:\Users\pc\AppData\Local\Arduino15\packages\esp32\tools\esp-x32\2302 -prefs=runtime.tools.esp-xs3.path=C:\Users\pc\AppData\Local\Arduino15\packages\esp32\tools\esp-xs3\2302 -prefs=runtime.tools.esp-xs3-2302.path=C:\Users\pc\AppData\Local\Arduino15\packages\esp32\tools\esp-xs3\2302 -prefs=runtime.tools.openocd-esp32.path=C:\Users\pc\AppData\Local\Arduino15\packages\esp32\tools\openocd-esp32\v0.12.0-esp32-20240318 -prefs=runtime.tools.openocd-esp32-v0.12.0-esp32-20240318.path=C:\Users\pc\AppData\Local\Arduino15\packages\esp32\tools\openocd-esp32\v0.12.0-esp32-20240318 -prefs=runtime.tools.mklittlefs.path=C:\Users\pc\AppData\Local\Arduino15\packages\esp32\tools\mklittlefs\3.0.0-gnu12-dc7f933 -prefs=runtime.tools.mklittlefs-3.0.0-gnu12-dc7f933.path=C:\Users\pc\AppData\Local\Arduino15\packages\esp32\tools\mklittlefs\3.0.0-gnu12-dc7f933 -prefs=runtime.tools.esp32-arduino-libs.path=C:\Users\pc\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-bd2b9390ef -prefs=runtime.tools.esp32-arduino-libs-idf-release_v5.1-bd2b9390ef.path=C:\Users\pc\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-bd2b9390ef -prefs=runtime.tools.riscv32-esp-elf-gdb.path=C:\Users\pc\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gdb\12.1_20231023 -prefs=runtime.tools.riscv32-esp-elf-gdb-12.1_20231023.path=C:\Users\pc\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gdb\12.1_20231023 -prefs=runtime.tools.esptool_py.path=C:\Users\pc\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.6 -prefs=runtime.tools.esptool_py-4.6.path=C:\Users\pc\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.6 -prefs=runtime.tools.esp-xs2.path=C:\Users\pc\AppData\Local\Arduino15\packages\esp32\tools\esp-xs2\2302 -prefs=runtime.tools.esp-xs2-2302.path=C:\Users\pc\AppData\Local\Arduino15\packages\esp32\tools\esp-xs2\2302 -prefs=runtime.tools.mkspiffs.path=C:\Users\pc\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -prefs=runtime.tools.mkspiffs-0.2.3.path=C:\Users\pc\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -prefs=runtime.tools.xtensa-esp-elf-gdb.path=C:\Users\pc\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp-elf-gdb\12.1_20231023 -prefs=runtime.tools.xtensa-esp-elf-gdb-12.1_20231023.path=C:\Users\pc\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp-elf-gdb\12.1_20231023 -prefs=runtime.tools.esp-rv32.path=C:\Users\pc\AppData\Local\Arduino15\packages\esp32\tools\esp-rv32\2302 -prefs=runtime.tools.esp-rv32-2302.path=C:\Users\pc\AppData\Local\Arduino15\packages\esp32\tools\esp-rv32\2302 -prefs=runtime.tools.dfu-util.path=C:\Users\pc\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.11.0-arduino5 -prefs=runtime.tools.dfu-util-0.11.0-arduino5.path=C:\Users\pc\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.11.0-arduino5 -verbose C:\Users\pc\Documents\Arduino archives\esp_test\esp_test.ino

C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\pc\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\pc\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\pc\Documents\Arduino\libraries -fqbn=esp32:esp32:esp32:JTAGAdapter=default,PSRAM=disabled,PartitionScheme=default,CPUFreq=240,FlashMode=qio,FlashFreq=80,FlashSize=4M,UploadSpeed=921600,LoopCore=1,EventsCore=1,DebugLevel=none,EraseFlash=none,ZigbeeMode=default -ide-version=10819 -build-path C:\Users\pc\AppData\Local\Temp\arduino_build_217173 -warnings=default -build-cache C:\Users\pc\AppData\Local\Temp\arduino_cache_469761 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.esp-x32.path=C:\Users\pc\AppData\Local\Arduino15\packages\esp32\tools\esp-x32\2302 -prefs=runtime.tools.esp-x32-2302.path=C:\Users\pc\AppData\Local\Arduino15\packages\esp32\tools\esp-x32\2302 -prefs=runtime.tools.esp-xs3.path=C:\Users\pc\AppData\Local\Arduino15\packages\esp32\tools\esp-xs3\2302 -prefs=runtime.tools.esp-xs3-2302.path=C:\Users\pc\AppData\Local\Arduino15\packages\esp32\tools\esp-xs3\2302 -prefs=runtime.tools.openocd-esp32.path=C:\Users\pc\AppData\Local\Arduino15\packages\esp32\tools\openocd-esp32\v0.12.0-esp32-20240318 -prefs=runtime.tools.openocd-esp32-v0.12.0-esp32-20240318.path=C:\Users\pc\AppData\Local\Arduino15\packages\esp32\tools\openocd-esp32\v0.12.0-esp32-20240318 -prefs=runtime.tools.mklittlefs.path=C:\Users\pc\AppData\Local\Arduino15\packages\esp32\tools\mklittlefs\3.0.0-gnu12-dc7f933 -prefs=runtime.tools.mklittlefs-3.0.0-gnu12-dc7f933.path=C:\Users\pc\AppData\Local\Arduino15\packages\esp32\tools\mklittlefs\3.0.0-gnu12-dc7f933 -prefs=runtime.tools.esp32-arduino-libs.path=C:\Users\pc\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-bd2b9390ef -prefs=runtime.tools.esp32-arduino-libs-idf-release_v5.1-bd2b9390ef.path=C:\Users\pc\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-bd2b9390ef -prefs=runtime.tools.riscv32-esp-elf-gdb.path=C:\Users\pc\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gdb\12.1_20231023 -prefs=runtime.tools.riscv32-esp-elf-gdb-12.1_20231023.path=C:\Users\pc\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gdb\12.1_20231023 -prefs=runtime.tools.esptool_py.path=C:\Users\pc\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.6 -prefs=runtime.tools.esptool_py-4.6.path=C:\Users\pc\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.6 -prefs=runtime.tools.esp-xs2.path=C:\Users\pc\AppData\Local\Arduino15\packages\esp32\tools\esp-xs2\2302 -prefs=runtime.tools.esp-xs2-2302.path=C:\Users\pc\AppData\Local\Arduino15\packages\esp32\tools\esp-xs2\2302 -prefs=runtime.tools.mkspiffs.path=C:\Users\pc\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -prefs=runtime.tools.mkspiffs-0.2.3.path=C:\Users\pc\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -prefs=runtime.tools.xtensa-esp-elf-gdb.path=C:\Users\pc\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp-elf-gdb\12.1_20231023 -prefs=runtime.tools.xtensa-esp-elf-gdb-12.1_20231023.path=C:\Users\pc\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp-elf-gdb\12.1_20231023 -prefs=runtime.tools.esp-rv32.path=C:\Users\pc\AppData\Local\Arduino15\packages\esp32\tools\esp-rv32\2302 -prefs=runtime.tools.esp-rv32-2302.path=C:\Users\pc\AppData\Local\Arduino15\packages\esp32\tools\esp-rv32\2302 -prefs=runtime.tools.dfu-util.path=C:\Users\pc\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.11.0-arduino5 -prefs=runtime.tools.dfu-util-0.11.0-arduino5.path=C:\Users\pc\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.11.0-arduino5 -verbose C:\Users\pc\Documents\Arduino archives\esp_test\esp_test.ino

Using board 'esp32' from platform in folder: C:\Users\pc\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.2

Using core 'esp32' from platform in folder: C:\Users\pc\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.2

cmd /c if exist "C:\\Users\\pc\\Documents\\Arduino archives\\esp_test\\partitions.csv" COPY /y "C:\\Users\\pc\\Documents\\Arduino archives\\esp_test\\partitions.csv" "C:\\Users\\pc\\AppData\\Local\\Temp\\arduino_build_217173\\partitions.csv"

cmd /c if not exist "C:\\Users\\pc\\AppData\\Local\\Temp\\arduino_build_217173\\partitions.csv" if exist "C:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.2\\variants\\esp32\\partitions.csv" COPY "C:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.2\\variants\\esp32\\partitions.csv" "C:\\Users\\pc\\AppData\\Local\\Temp\\arduino_build_217173\\partitions.csv"

cmd /c if not exist "C:\\Users\\pc\\AppData\\Local\\Temp\\arduino_build_217173\\partitions.csv" COPY "C:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.2\\tools\\partitions\\default.csv" "C:\\Users\\pc\\AppData\\Local\\Temp\\arduino_build_217173\\partitions.csv"

cmd /c IF EXIST "C:\\Users\\pc\\Documents\\Arduino archives\\esp_test\\bootloader.bin" ( COPY /y "C:\\Users\\pc\\Documents\\Arduino archives\\esp_test\\bootloader.bin" "C:\\Users\\pc\\AppData\\Local\\Temp\\arduino_build_217173\\esp_test.ino.bootloader.bin" ) ELSE ( IF EXIST "C:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.2\\variants\\esp32\\bootloader.bin" ( COPY "C:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.2\\variants\\esp32\\bootloader.bin" "C:\\Users\\pc\\AppData\\Local\\Temp\\arduino_build_217173\\esp_test.ino.bootloader.bin" ) ELSE ( "C:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esptool_py\\4.6\\esptool.exe" --chip esp32 elf2image --flash_mode dio --flash_freq 80m --flash_size 4MB -o "C:\\Users\\pc\\AppData\\Local\\Temp\\arduino_build_217173\\esp_test.ino.bootloader.bin" "C:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-bd2b9390ef\\esp32\\bin\\bootloader_qio_80m.elf" ) )

esptool.py v4.6

Creating esp32 image...

Merged 1 ELF section

Successfully created esp32 image.

cmd /c if exist "C:\\Users\\pc\\Documents\\Arduino archives\\esp_test\\build_opt.h" COPY /y "C:\\Users\\pc\\Documents\\Arduino archives\\esp_test\\build_opt.h" "C:\\Users\\pc\\AppData\\Local\\Temp\\arduino_build_217173\\build_opt.h"

cmd /c if not exist "C:\\Users\\pc\\AppData\\Local\\Temp\\arduino_build_217173\\build_opt.h" type nul > "C:\\Users\\pc\\AppData\\Local\\Temp\\arduino_build_217173\\build_opt.h"

cmd /c type nul > "C:\\Users\\pc\\AppData\\Local\\Temp\\arduino_build_217173/file_opts"

Detecting libraries used...

"C:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp-x32\\2302/bin/xtensa-esp32-elf-g++" -c "@C:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-bd2b9390ef\\esp32/flags/cpp_flags" -w -Os -w -x c++ -E -CC -DF_CPU=240000000L -DARDUINO=10819 -DARDUINO_ESP32_DEV -DARDUINO_ARCH_ESP32 "-DARDUINO_BOARD=\"ESP32_DEV\"" "-DARDUINO_VARIANT=\"esp32\"" -DARDUINO_PARTITION_default "-DARDUINO_HOST_OS=\"windows\"" "-DARDUINO_FQBN=\"esp32:esp32:esp32:JTAGAdapter=default,PSRAM=disabled,PartitionScheme=default,CPUFreq=240,FlashMode=qio,FlashFreq=80,FlashSize=4M,UploadSpeed=921600,LoopCore=1,EventsCore=1,DebugLevel=none,EraseFlash=none,ZigbeeMode=default\"" -DESP32 -DCORE_DEBUG_LEVEL=0 -DARDUINO_RUNNING_CORE=1 -DARDUINO_EVENT_RUNNING_CORE=1 -DARDUINO_USB_CDC_ON_BOOT=0 "@C:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-bd2b9390ef\\esp32/flags/defines" "-IC:\\Users\\pc\\Documents\\Arduino archives\\esp_test" -iprefix "C:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-bd2b9390ef\\esp32/include/" "@C:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-bd2b9390ef\\esp32/flags/includes" "-IC:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-bd2b9390ef\\esp32/qio_qspi/include" "-IC:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.2\\cores\\esp32" "-IC:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.2\\variants\\esp32" "@C:\\Users\\pc\\AppData\\Local\\Temp\\arduino_build_217173/build_opt.h" "@C:\\Users\\pc\\AppData\\Local\\Temp\\arduino_build_217173/file_opts" "C:\\Users\\pc\\AppData\\Local\\Temp\\arduino_build_217173\\sketch\\esp_test.ino.cpp" -o nul

Generating function prototypes...

"C:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp-x32\\2302/bin/xtensa-esp32-elf-g++" -c "@C:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-bd2b9390ef\\esp32/flags/cpp_flags" -w -Os -w -x c++ -E -CC -DF_CPU=240000000L -DARDUINO=10819 -DARDUINO_ESP32_DEV -DARDUINO_ARCH_ESP32 "-DARDUINO_BOARD=\"ESP32_DEV\"" "-DARDUINO_VARIANT=\"esp32\"" -DARDUINO_PARTITION_default "-DARDUINO_HOST_OS=\"windows\"" "-DARDUINO_FQBN=\"esp32:esp32:esp32:JTAGAdapter=default,PSRAM=disabled,PartitionScheme=default,CPUFreq=240,FlashMode=qio,FlashFreq=80,FlashSize=4M,UploadSpeed=921600,LoopCore=1,EventsCore=1,DebugLevel=none,EraseFlash=none,ZigbeeMode=default\"" -DESP32 -DCORE_DEBUG_LEVEL=0 -DARDUINO_RUNNING_CORE=1 -DARDUINO_EVENT_RUNNING_CORE=1 -DARDUINO_USB_CDC_ON_BOOT=0 "@C:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-bd2b9390ef\\esp32/flags/defines" "-IC:\\Users\\pc\\Documents\\Arduino archives\\esp_test" -iprefix "C:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-bd2b9390ef\\esp32/include/" "@C:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-bd2b9390ef\\esp32/flags/includes" "-IC:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-bd2b9390ef\\esp32/qio_qspi/include" "-IC:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.2\\cores\\esp32" "-IC:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.2\\variants\\esp32" "@C:\\Users\\pc\\AppData\\Local\\Temp\\arduino_build_217173/build_opt.h" "@C:\\Users\\pc\\AppData\\Local\\Temp\\arduino_build_217173/file_opts" "C:\\Users\\pc\\AppData\\Local\\Temp\\arduino_build_217173\\sketch\\esp_test.ino.cpp" -o "C:\\Users\\pc\\AppData\\Local\\Temp\\arduino_build_217173\\preproc\\ctags_target_for_gcc_minus_e.cpp"

"C:\\Program Files (x86)\\Arduino\\tools-builder\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\pc\\AppData\\Local\\Temp\\arduino_build_217173\\preproc\\ctags_target_for_gcc_minus_e.cpp"

Compiling sketch...

"C:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp-x32\\2302/bin/xtensa-esp32-elf-g++" -MMD -c "@C:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-bd2b9390ef\\esp32/flags/cpp_flags" -Os -DF_CPU=240000000L -DARDUINO=10819 -DARDUINO_ESP32_DEV -DARDUINO_ARCH_ESP32 "-DARDUINO_BOARD=\"ESP32_DEV\"" "-DARDUINO_VARIANT=\"esp32\"" -DARDUINO_PARTITION_default "-DARDUINO_HOST_OS=\"windows\"" "-DARDUINO_FQBN=\"esp32:esp32:esp32:JTAGAdapter=default,PSRAM=disabled,PartitionScheme=default,CPUFreq=240,FlashMode=qio,FlashFreq=80,FlashSize=4M,UploadSpeed=921600,LoopCore=1,EventsCore=1,DebugLevel=none,EraseFlash=none,ZigbeeMode=default\"" -DESP32 -DCORE_DEBUG_LEVEL=0 -DARDUINO_RUNNING_CORE=1 -DARDUINO_EVENT_RUNNING_CORE=1 -DARDUINO_USB_CDC_ON_BOOT=0 "@C:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-bd2b9390ef\\esp32/flags/defines" "-IC:\\Users\\pc\\Documents\\Arduino archives\\esp_test" -iprefix "C:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-bd2b9390ef\\esp32/include/" "@C:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-bd2b9390ef\\esp32/flags/includes" "-IC:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-bd2b9390ef\\esp32/qio_qspi/include" "-IC:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.2\\cores\\esp32" "-IC:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.2\\variants\\esp32" "@C:\\Users\\pc\\AppData\\Local\\Temp\\arduino_build_217173/build_opt.h" "@C:\\Users\\pc\\AppData\\Local\\Temp\\arduino_build_217173/file_opts" "C:\\Users\\pc\\AppData\\Local\\Temp\\arduino_build_217173\\sketch\\esp_test.ino.cpp" -o "C:\\Users\\pc\\AppData\\Local\\Temp\\arduino_build_217173\\sketch\\esp_test.ino.cpp.o"

Compiling libraries...

Compiling core...

cmd /c echo -DARDUINO_CORE_BUILD > "C:\\Users\\pc\\AppData\\Local\\Temp\\arduino_build_217173/file_opts"

Using precompiled core: C:\Users\pc\AppData\Local\Temp\arduino_cache_469761\core\core_c652a540d418669607ef016389b1557c.a

cmd /c type nul > "C:\\Users\\pc\\AppData\\Local\\Temp\\arduino_build_217173/file_opts"

Linking everything together...

"C:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp-x32\\2302/bin/xtensa-esp32-elf-g++" "@C:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-bd2b9390ef\\esp32/flags/ld_flags" "@C:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-bd2b9390ef\\esp32/flags/ld_scripts" "-Wl,--Map=C:\\Users\\pc\\AppData\\Local\\Temp\\arduino_build_217173/esp_test.ino.map" "-LC:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-bd2b9390ef\\esp32/lib" "-LC:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-bd2b9390ef\\esp32/ld" "-LC:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-bd2b9390ef\\esp32/qio_qspi" -Wl,--wrap=esp_panic_handler -Wl,--start-group "C:\\Users\\pc\\AppData\\Local\\Temp\\arduino_build_217173\\sketch\\esp_test.ino.cpp.o" "C:\\Users\\pc\\AppData\\Local\\Temp\\arduino_cache_469761\\core\\core_c652a540d418669607ef016389b1557c.a" "@C:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-bd2b9390ef\\esp32/flags/ld_libs" -Wl,--end-group -Wl,-EL -o "C:\\Users\\pc\\AppData\\Local\\Temp\\arduino_build_217173/esp_test.ino.elf"

exit status 1

Error compiling for board ESP32 Dev Module.


The code i attempted compiling is this:

#include <Arduino.h>

int flashPin = 4;

void setup() {
    pinMode(flashPin, OUTPUT);
}

void loop() {
    digitalWrite(flashPin, HIGH);
    delay(1000);
    digitalWrite(flashPin, LOW);
    delay(1000);
}

Thanks so much for the help so far, I'll be expecting your response to this .. please..
Thank you

I see that you have created another topic for the mysterious compilation failure when compiling for the ESP32 boards:

Since the Arduino Nano-related issue that was the subject of this topic has been resolved and there is no unique information in this topic related to the ESP32 problem, I'll close this topic as concluded. All further discussion about the ESP32 problem must be done on the dedicated topic.

@ibuchukwu posting on the same subject to multiple forum topics is something called "cross-posting". Cross-posting is against the Arduino forum rules. The reason is that duplicate posts can waste the time of the people trying to help. Someone might spend a lot of time investigating and writing a detailed answer on one topic, without knowing that someone else already did the same in the other topic.

Repeated cross-posting can result in a suspension from the forum.

In the future, please only create one topic for each distinct subject matter. This is basic forum etiquette, as explained in the "How to get the best out of this forum" guide. It contains a lot of other useful information. Please read it.

Thanks in advance for your cooperation.

1 Like