Page 1 of 1

Can't compile – no such file or directory

Posted: Tue Apr 26, 2022 3:08 am
by brushpilot
Mac OS 10.11.6
ESP32-Cam MB
At the last line in the compiling window is the following message.

fork/exec /Users/*******/Documents/Arduino/hardware/espressif/esp32/tools/esptool/esptool: no such file or directory
Error compiling for board AI Thinker ESP32-CAM.

It is correct that there is no such directory or file. Under esp32/tools there is only esptool.py, the script file

I tried putting it in a folder called esptools but no effect.

I'm new at this so have no more ideas.
Anyone else?

Re: Can't compile – no such file or directory

Posted: Tue Apr 26, 2022 3:59 am
by lbernstone
Uninstall/re-install with board manager or make sure to run tools/get.py if using git to clone the repo.
https://docs.espressif.com/projects/ard ... lling.html

Re: Can't compile – no such file or directory

Posted: Tue Apr 26, 2022 3:49 pm
by brushpilot
Uninstalled and reinstalled in Board Mgr.
Compiled -
New error:
IOError: [Errno socket error] [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590)

GitHub suggests running script with python3 get.py instead of python get.py

Compiled -
New error:
[7875] Error loading Python lib '/var/folders/xx/v_vrygx08xl2zt001s7f7tb80000gn/T/_MEID3HfGi/libpython3.8.dylib': dlopen: dlopen(/var/folders/xx/v_vrygx08xl2zt001s7f7tb80000gn/T/_MEID3HfGi/libpython3.8.dylib, 10): Symbol not found: ____chkstk_darwin
Referenced from: /var/folders/xx/v_vrygx08xl2zt001s7f7tb80000gn/T/_MEID3HfGi/libintl.8.dylib
Expected in: /usr/lib/libSystem.B.dylib

I'm out of ideas...