Arduino IDE new install Compile Error with unaltered example

Cd4768gg
Posts: 18
Joined: Wed Apr 27, 2022 7:07 pm

Arduino IDE new install Compile Error with unaltered example

Postby Cd4768gg » Sun May 29, 2022 11:12 pm

Hello, I just installed Arduino IDE for Windows 7 and newer (using windows 10). I installed support for the ESP32, selected DOIT ESP32 DEVKIT V1 and selected the ESP32 BLE Arduino EXAMPLE: BLE_write. It compiled the first time but when I went to upload I got an error:
Error compiling for board DOIT ESP32 DEVKIT V1
Can you help me figure out what is going wrong?

Thank you
Attachments
Untitled4.png
Untitled4.png (120.31 KiB) Viewed 3002 times

lbernstone
Posts: 826
Joined: Mon Jul 22, 2019 3:20 pm

Re: Arduino IDE new install Compile Error with unaltered example

Postby lbernstone » Mon May 30, 2022 1:12 am

See where it says "Copy error messages"? Hit that button and paste it into Notepad. I'll bet it has a lot more information about why it failed. You can also scroll down there, or expand the lower section with the errors.

Cd4768gg
Posts: 18
Joined: Wed Apr 27, 2022 7:07 pm

Re: Arduino IDE new install Compile Error with unaltered example

Postby Cd4768gg » Mon Jun 06, 2022 7:19 pm

When I push, Copy error messages, I get:

Arduino: 1.8.19 (Windows 10), Board: "DOIT ESP32 DEVKIT V1, 80MHz, 921600, None"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\e729128\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\e729128\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\e729128\OneDrive - Honeywell\Documents\Arduino\libraries -fqbn=esp32:esp32:esp32doit-devkit-v1:FlashFreq=80,UploadSpeed=921600,DebugLevel=none -vid-pid=10C4_EA60 -ide-version=10819 -build-path C:\Users\e729128\AppData\Local\Temp\arduino_build_744136 -warnings=none -build-cache C:\Users\e729128\AppData\Local\Temp\arduino_cache_950042 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.esptool_py.path=C:\Users\e729128\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\3.3.0 -prefs=runtime.tools.esptool_py-3.3.0.path=C:\Users\e729128\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\3.3.0 -prefs=runtime.tools.xtensa-esp32-elf-gcc.path=C:\Users\e729128\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2-patch3 -prefs=runtime.tools.xtensa-esp32-elf-gcc-gcc8_4_0-esp-2021r2-patch3.path=C:\Users\e729128\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2-patch3 -prefs=runtime.tools.xtensa-esp32s3-elf-gcc.path=C:\Users\e729128\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s3-elf-gcc\gcc8_4_0-esp-2021r2-patch3 -prefs=runtime.tools.xtensa-esp32s3-elf-gcc-gcc8_4_0-esp-2021r2-patch3.path=C:\Users\e729128\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s3-elf-gcc\gcc8_4_0-esp-2021r2-patch3 -prefs=runtime.tools.riscv32-esp-elf-gcc.path=C:\Users\e729128\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gcc\gcc8_4_0-esp-2021r2-patch3 -prefs=runtime.tools.riscv32-esp-elf-gcc-gcc8_4_0-esp-2021r2-patch3.path=C:\Users\e729128\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gcc\gcc8_4_0-esp-2021r2-patch3 -prefs=runtime.tools.xtensa-esp32s2-elf-gcc.path=C:\Users\e729128\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s2-elf-gcc\gcc8_4_0-esp-2021r2-patch3 -prefs=runtime.tools.xtensa-esp32s2-elf-gcc-gcc8_4_0-esp-2021r2-patch3.path=C:\Users\e729128\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s2-elf-gcc\gcc8_4_0-esp-2021r2-patch3 -prefs=runtime.tools.mkspiffs.path=C:\Users\e729128\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -prefs=runtime.tools.mkspiffs-0.2.3.path=C:\Users\e729128\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -prefs=runtime.tools.mklittlefs.path=C:\Users\e729128\AppData\Local\Arduino15\packages\esp32\tools\mklittlefs\3.0.0-gnu12-dc7f933 -prefs=runtime.tools.mklittlefs-3.0.0-gnu12-dc7f933.path=C:\Users\e729128\AppData\Local\Arduino15\packages\esp32\tools\mklittlefs\3.0.0-gnu12-dc7f933 -verbose C:\Users\e729128\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.3\libraries\BLE\examples\BLE_write\BLE_write.ino

C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\e729128\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\e729128\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\e729128\OneDrive - Honeywell\Documents\Arduino\libraries -fqbn=esp32:esp32:esp32doit-devkit-v1:FlashFreq=80,UploadSpeed=921600,DebugLevel=none -vid-pid=10C4_EA60 -ide-version=10819 -build-path C:\Users\e729128\AppData\Local\Temp\arduino_build_744136 -warnings=none -build-cache C:\Users\e729128\AppData\Local\Temp\arduino_cache_950042 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.esptool_py.path=C:\Users\e729128\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\3.3.0 -prefs=runtime.tools.esptool_py-3.3.0.path=C:\Users\e729128\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\3.3.0 -prefs=runtime.tools.xtensa-esp32-elf-gcc.path=C:\Users\e729128\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2-patch3 -prefs=runtime.tools.xtensa-esp32-elf-gcc-gcc8_4_0-esp-2021r2-patch3.path=C:\Users\e729128\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2-patch3 -prefs=runtime.tools.xtensa-esp32s3-elf-gcc.path=C:\Users\e729128\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s3-elf-gcc\gcc8_4_0-esp-2021r2-patch3 -prefs=runtime.tools.xtensa-esp32s3-elf-gcc-gcc8_4_0-esp-2021r2-patch3.path=C:\Users\e729128\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s3-elf-gcc\gcc8_4_0-esp-2021r2-patch3 -prefs=runtime.tools.riscv32-esp-elf-gcc.path=C:\Users\e729128\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gcc\gcc8_4_0-esp-2021r2-patch3 -prefs=runtime.tools.riscv32-esp-elf-gcc-gcc8_4_0-esp-2021r2-patch3.path=C:\Users\e729128\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gcc\gcc8_4_0-esp-2021r2-patch3 -prefs=runtime.tools.xtensa-esp32s2-elf-gcc.path=C:\Users\e729128\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s2-elf-gcc\gcc8_4_0-esp-2021r2-patch3 -prefs=runtime.tools.xtensa-esp32s2-elf-gcc-gcc8_4_0-esp-2021r2-patch3.path=C:\Users\e729128\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s2-elf-gcc\gcc8_4_0-esp-2021r2-patch3 -prefs=runtime.tools.mkspiffs.path=C:\Users\e729128\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -prefs=runtime.tools.mkspiffs-0.2.3.path=C:\Users\e729128\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -prefs=runtime.tools.mklittlefs.path=C:\Users\e729128\AppData\Local\Arduino15\packages\esp32\tools\mklittlefs\3.0.0-gnu12-dc7f933 -prefs=runtime.tools.mklittlefs-3.0.0-gnu12-dc7f933.path=C:\Users\e729128\AppData\Local\Arduino15\packages\esp32\tools\mklittlefs\3.0.0-gnu12-dc7f933 -verbose C:\Users\e729128\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.3\libraries\BLE\examples\BLE_write\BLE_write.ino

Using board 'esp32doit-devkit-v1' from platform in folder: C:\Users\e729128\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.3

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

cmd /c if exist "C:\\Users\\e729128\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.3\\libraries\\BLE\\examples\\BLE_write\\partitions.csv" COPY /y "C:\\Users\\e729128\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.3\\libraries\\BLE\\examples\\BLE_write\\partitions.csv" "C:\\Users\\e729128\\AppData\\Local\\Temp\\arduino_build_744136\\partitions.csv"

cmd /c if not exist "C:\\Users\\e729128\\AppData\\Local\\Temp\\arduino_build_744136\\partitions.csv" if exist "C:\\Users\\e729128\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.3\\variants\\doitESP32devkitV1\\partitions.csv" COPY "C:\\Users\\e729128\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.3\\variants\\doitESP32devkitV1\\partitions.csv" "C:\\Users\\e729128\\AppData\\Local\\Temp\\arduino_build_744136\\partitions.csv"

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

cmd /c IF EXIST "C:\\Users\\e729128\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.3\\libraries\\BLE\\examples\\BLE_write\\bootloader.bin" ( COPY /y "C:\\Users\\e729128\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.3\\libraries\\BLE\\examples\\BLE_write\\bootloader.bin" "C:\\Users\\e729128\\AppData\\Local\\Temp\\arduino_build_744136\\BLE_write.ino.bootloader.bin" ) ELSE ( IF EXIST "C:\\Users\\e729128\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.3\\variants\\doitESP32devkitV1\\bootloader.bin" ( COPY "C:\\Users\\e729128\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.3\\variants\\doitESP32devkitV1\\bootloader.bin" "C:\\Users\\e729128\\AppData\\Local\\Temp\\arduino_build_744136\\BLE_write.ino.bootloader.bin" ) ELSE ( COPY /y "C:\\Users\\e729128\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.3\\tools\\sdk\\esp32\\bin\\bootloader_dio_80m.bin" "C:\\Users\\e729128\\AppData\\Local\\Temp\\arduino_build_744136\\BLE_write.ino.bootloader.bin" ) )

1 file(s) copied.

cmd /c if exist "C:\\Users\\e729128\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.3\\libraries\\BLE\\examples\\BLE_write\\build_opt.h" COPY /y "C:\\Users\\e729128\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.3\\libraries\\BLE\\examples\\BLE_write\\build_opt.h" "C:\\Users\\e729128\\AppData\\Local\\Temp\\arduino_build_744136\\build_opt.h"

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

Detecting libraries used...

Error compiling for board DOIT ESP32 DEVKIT V1.

Cd4768gg
Posts: 18
Joined: Wed Apr 27, 2022 7:07 pm

Re: Arduino IDE new install Compile Error with unaltered example

Postby Cd4768gg » Mon Jun 13, 2022 10:53 pm

what thoughts or suggestions do you have?

lbernstone
Posts: 826
Joined: Mon Jul 22, 2019 3:20 pm

Re: Arduino IDE new install Compile Error with unaltered example

Postby lbernstone » Tue Jun 14, 2022 6:13 am

Put your sketch folder somewhere other than OneDrive. There are limits on the filepath lengths, and spaces never help in filenames.

Who is online

Users browsing this forum: No registered users and 46 guests