user8060: 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



user75395: 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.

8060: <p><strong>Problem:</strong></p>
<p>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.</p>
<p><strong>Question:</strong></p>
<p>How can I setup the board below so I can flashi it with C/C++ from the Arduino IDE?</p>
<p><strong>Error Message:</strong></p>
<pre><code>  [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
</code></pre>
<p><strong>ESP32:</strong></p>
<p><a href="https://i.stack.imgur.com/ds0Di.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ds0Di.jpg" alt="enter image description here" /></a></p>
<p><strong>References Used/Due Diligence:</strong></p>
<ul>
<li><a href="https://randomnerdtutorials.com/installing-the-esp32-board-in-arduino-ide-windows-instructions/" rel="nofollow noreferrer">Installing the ESP32 Board in Arduino IDE (Windows, Mac OS X, Linux)</a></li>
<li><a href="https://randomnerdtutorials.com/getting-started-with-esp32/" rel="nofollow noreferrer">Getting Started with the ESP32 Development Board</a></li>
<li><a href="https://randomnerdtutorials.com/esp32-bluetooth-classic-arduino-ide/" rel="nofollow noreferrer">ESP32 Bluetooth Classic with Arduino IDE – Getting Started</a></li>
</ul>
<p><strong>Version Numbers:</strong></p>
<ul>
<li><p>MAC OS Version: macOS High Sierra Version 10.13.6</p>
</li>
<li><p>Arduino Version: Version 2.0.4-nightly-20230119 CLI Version: 0.29.0</p>
</li>
</ul>
 75395: <p>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.</p>
