Problem:
I have a ESP32 and I've been trying to flash it with the Arduino IDE, however it's been giving me Python error messages :/ when I'm trying C/C++ code to flash the Arduino.
Question:
How can I setup the board below so I can flashi it with C/C++ from the Arduino IDE?
Error Message:
[6909] Error loading Python lib '/var/folders/wm/_tds7_0s6_j9587rbm54nfv00000gn/T/_MEIli4AzL/libpython3.8.dylib': dlopen: dlopen(/var/folders/wm/_tds7_0s6_j9587rbm54nfv00000gn/T/_MEIli4AzL/libpython3.8.dylib, 10): Symbol not found: ____chkstk_darwin
Referenced from: /var/folders/wm/_tds7_0s6_j9587rbm54nfv00000gn/T/_MEIli4AzL/libintl.8.dylib (which was built for Mac OS X 11.0)
Expected in: /usr/lib/libSystem.B.dylib
in /var/folders/wm/_tds7_0s6_j9587rbm54nfv00000gn/T/_MEIli4AzL/libintl.8.dylib
exit status 255
Compilation error: exit status 255
ESP32:
References Used/Due Diligence:
- Installing the ESP32 Board in Arduino IDE (Windows, Mac OS X, Linux)
- Getting Started with the ESP32 Development Board
- ESP32 Bluetooth Classic with Arduino IDE – Getting Started
Version Numbers:
MAC OS Version: macOS High Sierra Version 10.13.6
Arduino Version: Version 2.0.4-nightly-20230119 CLI Version: 0.29.0
1 Answer 1
I don't have Mac but I am working on Linux and I also had issues with Arduino IDE v2 (in the past). Because of this I'm still using IDE v1 with no issues and that's my suggestion: try older version of the IDE on your mac, you can still download it. If it won't work you can turn to PlatformIO or VSCode IDEs.
macOS High Sierra Version 10.13.6
;Arduino Version: Version 2.0.4-nightly-20230119
andCLI Version: 0.29.0