Comments for https://wellys.com/posts/esp32_cli/
Comments for: https://wellys.com/posts/esp32_cli/
- JJean F. Delpech @jfdelpech
arduino-cli compile --fqbn esp32:esp32:esp32wroverkit blink.ino
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8)
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8)
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8)
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8)
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8)
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8)
/root/snap/arduino-cli/31/.arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2-patch3/bin/xtensa-esp32-elf-g++: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directoryUsed platform Version Path
esp32:esp32 2.0.5 /root/snap/arduino-cli/31/.arduino15/packages/esp32/hardware/esp32/2.0.5Error during build: exit status 127
I use the latest Expressif link and
I have set libstdc++.so.6 in LD_LIBRARY_PATH to no avail
Any suggestion? Thanks
- LLief Koepsel @lkoepsel
I don't have anything concrete...if you are still having issues...what is your LD_LIBRARY_PATH?
I looked for libstdc++.so.6 and found several versions, none of them related to esp32. Could it be its looking for a more general version of the library? Such as usr/lib32 or usr/lib?
- DIn reply tosystem⬆:Diego González Medina @diego045
diego in ~/01esp λ arduino-cli compile --fqbn esp32:esp32:esp32doit-devkit-v101esp.ino
Error during build: FQBN inválido: board esp32:esp32:esp32doit-devkit-v101esp.ino not found- DDiego González Medina @diego045
diego in ~/01esp λ arduino-cli compile --fqbn esp32:esp32:01esp.ino
Error during build: FQBN inválido: board esp32:esp32:01esp.ino not found- LLief Koepsel @lkoepsel
Not sure of the question, however, the error appears to be one of the following:
- Missing a space between the board name "esp32:esp32:01" and the file name "esp.ino"
- The board name "esp32:esp32:01" is incorrect, I recommend confirming the board name is correct. I believe you may perform a "list" command to list the boards.
- DDiego González Medina @diego045
arduino-cli board list
Puerto Protocolo Tipo Nombre de la placa FQBN Núcleo
/dev/ttyS0 serial Serial Port Unknown
/dev/ttyUSB0 serial Serial Port (USB) Unknownarduino-cli core list
ID Instalado Última Nombre
esp32:esp32 2.0.11 2.0.11 esp32