I can't get the Blink example sketch to compile for a Sparkfun IoT ESP32 Redboard. I've read through threads that seemed like a similar issue on other boards, but haven't hit on a solution. Here's the sketch:
#define LED_BUILTIN 18
// the setup function runs once when you press reset or power the board
void setup() {
// initialize digital pin LED_BUILTIN as an output.
pinMode(LED_BUILTIN, OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
delay(500); // wait for a second
digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
delay(500); // wait for a second
digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
delay(500); // wait for a second
digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
delay(1500);
}
Here's the error message:
[740] Error loading Python lib '/var/folders/nr/11b9z2n17rdbjg1p3pj5dbmm0000gn/T/_MEIDaj4zB/libpython3.8.dylib': dlopen: dlopen(/var/folders/nr/11b9z2n17rdbjg1p3pj5dbmm0000gn/T/_MEIDaj4zB/libpython3.8.dylib, 10): Library not loaded: @loader_path/libintl.8.dylib
Referenced from: /var/folders/nr/11b9z2n17rdbjg1p3pj5dbmm0000gn/T/_MEIDaj4zB/libpython3.8.dylib
Reason: no suitable image found. Did find:
/var/folders/nr/11b9z2n17rdbjg1p3pj5dbmm0000gn/T/_MEIDaj4zB/libintl.8.dylib: cannot load 'libintl.8.dylib' (load command 0x80000034 is unknown)
/private/var/folders/nr/11b9z2n17rdbjg1p3pj5dbmm0000gn/T/_MEIDaj4zB/libintl.8.dylib: cannot load 'libintl.8.dylib' (load command 0x80000034 is unknown)
exit status 255
/private/var/folders/nr/11b9z2n17rdbjg1p3pj5dbmm0000gn/T/AppTranslocation/413A90A5-3388-4414-9A6E-9836473B2FBF/d/Arduino.app/Contents/Java/arduino-builder returned 255
Error compiling for board SparkFun ESP32 IoT RedBoard.
I did have to install drivers for CH340, and I tried using Arduino 2.0.4 even tho it's not supposed to work on my version of OSX (but it did). I was able to compile/load same sketch to an arduino uno. Why is it looking for a Python library anyway? Does anyone have any advice to continue my project?
Thanks.