Can't compile – no such file or directory

brushpilot
Posts: 2
Joined: Tue Apr 26, 2022 2:51 am

Can't compile – no such file or directory

Postby brushpilot » Tue Apr 26, 2022 3:08 am

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?

lbernstone
Posts: 826
Joined: Mon Jul 22, 2019 3:20 pm

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

Postby lbernstone » Tue Apr 26, 2022 3:59 am

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

brushpilot
Posts: 2
Joined: Tue Apr 26, 2022 2:51 am

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

Postby brushpilot » Tue Apr 26, 2022 3:49 pm

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

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot] and 52 guests