Need some help with a compile error.

dkamp@roontoon.com
Posts: 2
Joined: Thu Jun 24, 2021 10:21 pm

Need some help with a compile error.

Postby dkamp@roontoon.com » Thu Jun 24, 2021 10:30 pm

Hey. First time loading firmware into an ESP32 and I am getting an error that I can't sort out. I have a ESP32-DEVKITC-32UE and when I compile with the Arduino IDE I get the following error. Any help will be greatly appreciated. Thanks.

Arduino: 1.8.15 (Mac OS X), Board: "ESP32 Dev Module, Enabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi/BT), QIO, 80MHz, 4MB (32Mb), 921600, None"

Traceback (most recent call last):
File "esptool.py", line 57, in <module>
File "/Library/Python/2.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 389, in load_module
File "serial/tools/list_ports.py", line 29, in <module>
File "/Library/Python/2.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 389, in load_module
File "serial/tools/list_ports_posix.py", line 31, in <module>
File "/Library/Python/2.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 389, in load_module
File "serial/tools/list_ports_osx.py", line 32, in <module>
ValueError: dlsym(RTLD_DEFAULT, kIOMasterPortDefault): symbol not found
Failed to execute script esptool
Multiple libraries were found for "WiFi.h"
Used: /Users/roontoon/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/WiFi
Not used: /Applications/Arduino.app/Contents/Java/libraries/WiFi
exit status 255
/Applications/Arduino.app/Contents/Java/arduino-builder returned 255
Error compiling for board ESP32 Dev Module.

dovoto
Posts: 27
Joined: Tue Apr 20, 2021 3:51 pm

Re: Need some help with a compile error.

Postby dovoto » Fri Jun 25, 2021 3:41 am

That looks like it cant find the serial port your board is plugged in to. I usually get this if I have a terminal open thats already monitoring the port but it could just be your serial port isnt being found by the tool.

I think you can specify the port manually in the arduino drop down menu.

dkamp@roontoon.com
Posts: 2
Joined: Thu Jun 24, 2021 10:21 pm

Re: Need some help with a compile error.

Postby dkamp@roontoon.com » Fri Jun 25, 2021 9:44 pm

The correct port is select and I get the same error when just test compiling.

Who is online

Users browsing this forum: Bing [Bot] and 90 guests