Bought a hiletgo esp32 to play with but I can't seem to upload anything and not sure what to do. Running on iOS 10.13.6 (older Mac, can't upgrade to newer)
Is there somewhere i can upload the error? Referenced from: /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/_MEIE4BRZS/libintl.8.dylib (which was built for Mac OS X 10.15)
Expected in: /usr/lib/libSystem.B.dylib
in /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/_MEIE4BRZS/libintl.8.dylib
Multiple libraries were found for "WiFi.h"
Used: /private/var/root/Documents/Arduino/hardware/espressif/esp32/libraries/WiFi
Not used: /private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/AppTranslocation/3B8A9624-2345-4B76-A46B-3C4FF8044093/d/Arduino.app/Contents/Java/libraries/WiFi
Using library WiFi at version 2.0.0 in folder: /private/var/root/Documents/Arduino/hardware/espressif/esp32/libraries/WiFi
Using library WebServer at version 2.0.0 in folder: /private/var/root/Documents/Arduino/hardware/espressif/esp32/libraries/WebServer
Using library ESPmDNS at version 2.0.0 in folder: /private/var/root/Documents/Arduino/hardware/espressif/esp32/libraries/ESPmDNS
Using library Update at version 2.0.0 in folder: /private/var/root/Documents/Arduino/hardware/espressif/esp32/libraries/Update
Using library FS at version 2.0.0 in folder: /private/var/root/Documents/Arduino/hardware/espressif/esp32/libraries/FS
exit status 255
/private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/AppTranslocation/3B8A9624-2345-4B76-A46B-3C4FF8044093/d/Arduino.app/Contents/Java/arduino-builder returned 255
Error compiling for board NodeMCU-32S.
Hi @lobstrosity33. I'm going to ask you to post some additional information that might help us to identify the problem.
Please do this:
When you encounter an error, you'll see a button on the right side of the orange bar in the Arduino IDE: Copy error messages. Click that button.
Open a forum reply here by clicking the Reply button.
Click the </> icon on the post composer toolbar.
This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
Press Ctrl+V.
This will paste the compilation output into the code block.
Move the cursor outside of the code block markup before you add any additional text to your reply.
Arduino: 1.8.19 (Mac OS X), Board: "Node32s, Default, 80MHz, 921600, None"
[...]
Using board 'node32s' from platform in folder: /Users/tyler/Library/Arduino15/packages/esp32/hardware/esp32/2.0.2
[...]
/Users/tyler/Library/Arduino15/packages/esp32/tools/esptool_py/3.1.0/esptool --chip esp32 elf2image --flash_mode dio --flash_freq 80m --flash_size 4MB -o /var/folders/80/fdpm4wrn4453wyym68ncrp240000gq/T/arduino_build_968944/OTAWebUpdater.ino.bin /var/folders/80/fdpm4wrn4453wyym68ncrp240000gq/T/arduino_build_968944/OTAWebUpdater.ino.elf
[8334] Error loading Python lib '/var/folders/80/fdpm4wrn4453wyym68ncrp240000gq/T/_MEI6KRGFC/libpython3.8.dylib': dlopen: dlopen(/var/folders/80/fdpm4wrn4453wyym68ncrp240000gq/T/_MEI6KRGFC/libpython3.8.dylib, 10): Symbol not found: ____chkstk_darwin
Referenced from: /var/folders/80/fdpm4wrn4453wyym68ncrp240000gq/T/_MEI6KRGFC/libintl.8.dylib (which was built for Mac OS X 10.15)
Expected in: /usr/lib/libSystem.B.dylib
in /var/folders/80/fdpm4wrn4453wyym68ncrp240000gq/T/_MEI6KRGFC/libintl.8.dylib
[...]
exit status 255
/private/var/folders/80/fdpm4wrn4453wyym68ncrp240000gq/T/AppTranslocation/A1EE8EC0-E997-43C6-BB7F-A574B7076928/d/Arduino.app/Contents/Java/arduino-builder returned 255
Error compiling for board Node32s.
The issue is that the "esptool" tool used to upload to your ESP32 was compiled in a way that makes it incompatible with older versions of macOS.
This is discussed here:
There are a couple of fixes mentioned in that discussion. If those don't look workable to you, there is a workaround, which is to use the last version of the ESP32 boards platform that was compatible with your version of macOS. In case that is interesting to you, I'll provide instructions:
Select Tools > Board > Boards Manager from the Arduino IDE menus.
Wait for the updates to finish.
Scroll down through the list of boards platforms until you see "esp32 by Espressif Systems". Click on it.
You will see a dropdown version menu that says "2.0.2". Click on it.
Select "1.0.6" from the menu.
Click the Install button.
Wait for the installation to finish.
Click the Close button.
Now try uploading your sketch. Hopefully the error will no longer occur.
With this workaround, you will need to be careful to avoid updating back to a newer version of the esp32 boards platform. By default, the IDE will periodically show a notification when a newer version is available. That might be annoying to you. If so, you can disable it like this:
Select File > Preferences... from the Arduino IDE menus.
Uncheck the checkbox next to 🗹 Check for updates at startup.
Great!
I am running Arduino IDE 1.8.19 on OSX El Capitan 10.11.6 and with boad AZ Delivery D1 R32: effectively, downgrade to esp32 by Espressif Systems 1.0.6 solve my issue!! Thanks a lot!!