No internet connection
  1. Home
  2. General

Comments for https://wellys.com/posts/esp32_cli/

By System @system
    2022-10-15 16:00:09.059Z
    • 6 comments
    1. J
      Jean F. Delpech @jfdelpech
        2022-10-15 16:00:09.160Z

        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 directory

        Used platform Version Path
        esp32:esp32 2.0.5 /root/snap/arduino-cli/31/.arduino15/packages/esp32/hardware/esp32/2.0.5

        Error 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

        1. LLief Koepsel @lkoepsel
            2022-10-16 14:04:41.848Z

            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?

          • D
            In reply tosystem:
            Diego González Medina @diego045
              2024-04-08 15:59:07.743Z

              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

              1. DDiego González Medina @diego045
                  2024-04-08 15:59:44.783Z

                  diego in ~/01esp λ arduino-cli compile --fqbn esp32:esp32:01esp.ino
                  Error during build: FQBN inválido: board esp32:esp32:01esp.ino not found

                  1. LLief Koepsel @lkoepsel
                      2024-04-08 16:35:39.435Z

                      Not sure of the question, however, the error appears to be one of the following:

                      1. Missing a space between the board name "esp32:esp32:01" and the file name "esp.ino"
                      2. 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.
                      1. DDiego González Medina @diego045
                          2024-04-12 11:30:48.686Z

                          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) Unknown

                          arduino-cli core list
                          ID Instalado Última Nombre
                          esp32:esp32 2.0.11 2.0.11 esp32