<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">Hi again,</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Additionally, I've just verified that
      the official docker image for ESP-IDF (doc:
<a class="moz-txt-link-freetext" href="https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/tools/idf-docker-image.html">https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/tools/idf-docker-image.html</a>
      ) is able to build the branch.</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">The only thing to add to the image is
      the "dos2unix" utility ("apt update && apt-get install
      dos2unix"), after that you'll be able to build the image.</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Do not forget to update your sdkconfig
      (enabling FreeRTOS compatibility and unchecking SSL for mongoose)
      before building, and to do the patches for mongoose / wolfssl as
      described here:
<a class="moz-txt-link-freetext" href="https://github.com/llange/Open-Vehicle-Monitoring-System-3/blob/experimental-esp-idf-v5/README.md">https://github.com/llange/Open-Vehicle-Monitoring-System-3/blob/experimental-esp-idf-v5/README.md</a><br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Then "idf.py build" should work - at
      least !<br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">I've used the `<font face="monospace"><span></span>docker
        run --rm -v <span class="nv">$PWD</span>:/project -w /project
        -it espressif/idf:<code class="docutils literal notranslate"><span
            class="pre">release-v5.0</span></code></font>` command to
      have a shell prompt (launch that in your source file path)</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Then install dos2unix, launch
      menuconfig, then build.</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Tell me how it works for you.</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">(You may have some component build
      failure ; depending on the sdkconfig flags, I'm still trying to
      document it)</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Regards,<br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Le 05/02/2023 à 20:37, Ludovic LANGE a
      écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:33e3eff5-e076-8f68-44f8-8154772c7f3a@lange.nom.fr">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <div class="moz-cite-prefix">"idf" dependency, as expressed in
        (new file) `main/idf_component.yml`, is just ESP-IDF - this just
        checks that ESP-IDF is at minimum at version 5.0</div>
      <div class="moz-cite-prefix"><br>
      </div>
      <div class="moz-cite-prefix">This new file expresses the
        dependencies with new components (like a `requirements.txt` in
        Python, `Gemfile` in Ruby, `package.json` in JS, etc...), and
        they started to remove components from ESP-IDF and make them
        available as external components.</div>
      <div class="moz-cite-prefix">`mdns` is such a component : <a
          class="moz-txt-link-freetext"
          href="https://components.espressif.com/components/espressif/mdns"
          moz-do-not-send="true">https://components.espressif.com/components/espressif/mdns</a></div>
      <div class="moz-cite-prefix"><br>
      </div>
      <div class="moz-cite-prefix">So I'm not 100% convinced it's
        related - but in any case you could remove this file completely
        and see if it changes something (you wouldn't be able to compile
        `mdns`-related components, but still make some progress)</div>
      <div class="moz-cite-prefix"><br>
      </div>
      <div class="moz-cite-prefix"><br>
      </div>
      <div class="moz-cite-prefix">Could you share the 3 log files
        please ?</div>
      <div class="moz-cite-prefix">
        <blockquote type="cite"><font face="monospace">See also
"/home/balzer/esp/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/build/CMakeFiles/CMakeOutput.log".<br>
            cmake failed with exit code 1, output of the command is in
            the
/home/balzer/esp/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/build/log/idf_py_stderr_output_8211
            and
/home/balzer/esp/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/build/log/idf_py_stdout_output_8211<br>
          </font></blockquote>
      </div>
      <div class="moz-cite-prefix">Regards,<br>
      </div>
      <div class="moz-cite-prefix"><br>
      </div>
      <div class="moz-cite-prefix"><br>
      </div>
      <div class="moz-cite-prefix">Le 05/02/2023 à 16:43, Michael Balzer
        a écrit :<br>
      </div>
      <blockquote type="cite"
        cite="mid:49efec55-fffc-03a1-6187-724a047ea0a6@expeedo.de">
        <meta http-equiv="Content-Type" content="text/html;
          charset=UTF-8">
        It's cmake version 3.20.4.<br>
        <br>
        As I wrote, everything works with the example project
        "hello_world".<br>
        <br>
        Apparently the error occurs while the builder checks the
        dependencies, specifically the "idf" dependency. Where does that
        originate from? "hello_world" does not need this.<br>
        <br>
        The checked out version is your branch
        llange/experimental-esp-idf-v5.<br>
        <br>
        Regards,<br>
        Michael<br>
        <br>
        <br>
        <div class="moz-cite-prefix">Am 05.02.23 um 15:45 schrieb
          Ludovic LANGE:<br>
        </div>
        <blockquote type="cite"
          cite="mid:d143b9d0-7876-bffa-bddd-b5963c828db4@lange.nom.fr">
          <meta http-equiv="Content-Type" content="text/html;
            charset=UTF-8">
          <div class="moz-cite-prefix">Hi Michael,</div>
          <div class="moz-cite-prefix"><br>
          </div>
          <div class="moz-cite-prefix">Sorry to hear you have issues but
            very happy that you're trying to compile it ! We're going to
            solve those :-)</div>
          <div class="moz-cite-prefix"><br>
          </div>
          <div class="moz-cite-prefix">I don't use this command <font
              face="monospace">`idf.py set-target esp32`</font> myself -
            but after trying it, it works as expected.</div>
          <div class="moz-cite-prefix">(By the look of it, it says "<font
              face="monospace">Set Target to: esp32, new sdkconfig
              created. Existing sdkconfig renamed to sdkconfig.old.</font>"
            so I would be careful not to use it too much as you loose
            your sdkconfig)</div>
          <div class="moz-cite-prefix"><br>
          </div>
          <div class="moz-cite-prefix">The only commands I'm using are:</div>
          <div class="moz-cite-prefix">
            <ul>
              <li><font face="monospace">menuconfig</font> (once in a
                while)</li>
              <li><font face="monospace">fullclean</font> (while
                switching ESP-IDF version ; also doing `rm -rf build/`)</li>
              <li><font face="monospace">clean</font> (if some changes
                have been made and not caught by cmake)</li>
              <li><font face="monospace">build</font> (90% of the time)</li>
              <li><font face="monospace">app-flash</font></li>
              <li><font face="monospace">monitor</font></li>
            </ul>
            <p>My versions of git / bison / flex are (for the record):</p>
            <p><br>
              <font face="monospace">-- Found Git: /usr/local/bin/git
                (found version "2.39.1") <br>
                -- The C compiler identification is GNU 11.2.0<br>
                -- The CXX compiler identification is GNU 11.2.0</font></p>
            <p><font face="monospace">...<br>
              </font></p>
            <p><font face="monospace">-- Found BISON: /usr/bin/bison
                (found version "2.3") <br>
                -- Found FLEX: /usr/bin/flex (found version "2.6.4") </font><br>
            </p>
          </div>
          <div class="moz-cite-prefix">(I also had success with bison
            3.8.2 so not an issue)<br>
          </div>
          <div class="moz-cite-prefix"><br>
          </div>
          <div class="moz-cite-prefix"><br>
          </div>
          <div class="moz-cite-prefix">and my cmake is : <font
              face="monospace">cmake version 3.25.2</font></div>
          <div class="moz-cite-prefix">and ninja is at version 1.11.1<br>
          </div>
          <div class="moz-cite-prefix"><br>
          </div>
          <div class="moz-cite-prefix">I set a required version of cmake
            3.16 in the main CMakeLists.txt, as recommended by ESP-IDF
            v5 instructions, but if it's the issue we can modify this.</div>
          <div class="moz-cite-prefix">Could you please check your
            version and see if there is something to try here ?</div>
          <div class="moz-cite-prefix"><br>
          </div>
          <div class="moz-cite-prefix"><br>
          </div>
          <div class="moz-cite-prefix">During the `set-target esp32`
            run, my output is similar to yours but continues:</div>
          <div class="moz-cite-prefix"><br>
          </div>
          <div class="moz-cite-prefix">
            <blockquote type="cite"><font face="monospace">Adding
                "set-target"'s dependency "fullclean" to list of
                commands with default set of options.<br>
                Executing action: fullclean<br>
                Executing action: set-target<br>
                Set Target to: esp32, new sdkconfig created. Existing
                sdkconfig renamed to sdkconfig.old.<br>
                Running cmake in directory
                SRCS/OVMS-wt2/vehicle/OVMS.V3/build<br>
                Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1
                -DESP_PLATFORM=1 -DIDF_TARGET=esp32 -DCCACHE_ENABLE=0
                SRCS/OVMS-wt2/vehicle/OVMS.V3"...<br>
                CMake Warning (dev) at CMakeLists.txt:8 (message):<br>
                  WARNING - OVMSv3 build is only supported on ESP-IDF
                3.3.x<br>
                This warning is for project developers.  Use -Wno-dev to
                suppress it.<br>
                <br>
                -- Found Git: /usr/local/bin/git (found version
                "2.39.1") <br>
                -- The C compiler identification is GNU 11.2.0<br>
                -- The CXX compiler identification is GNU 11.2.0<br>
                -- The ASM compiler identification is GNU<br>
                -- Found assembler:
SRCS/ESP-IDF-TOOLS/5.0/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc<br>
                -- Detecting C compiler ABI info<br>
                -- Detecting C compiler ABI info - done<br>
                -- Check for working C compiler:
SRCS/ESP-IDF-TOOLS/5.0/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
                - skipped<br>
                -- Detecting C compile features<br>
                -- Detecting C compile features - done<br>
                -- Detecting CXX compiler ABI info<br>
                -- Detecting CXX compiler ABI info - done<br>
                -- Check for working CXX compiler:
SRCS/ESP-IDF-TOOLS/5.0/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++
                - skipped<br>
                -- Detecting CXX compile features<br>
                -- Detecting CXX compile features - done<br>
                -- Building ESP-IDF components for target esp32<br>
                Processing 2 dependencies:<br>
                [1/2] espressif/mdns (1.0.7)<br>
                [2/2] idf (5.0.0)<br>
                -- Found BISON: /usr/bin/bison (found version "2.3") <br>
                -- Found FLEX: /usr/bin/flex (found version "2.6.4") <br>
                -- IDF Version: 5.0.0 - NOT enabling strverscmp<br>
                -- Project sdkconfig file
                SRCS/OVMS-wt2/vehicle/OVMS.V3/sdkconfig<br>
                -- Looking for sys/types.h<br>
                -- Looking for sys/types.h - found<br>
                -- Looking for stdint.h<br>
                -- Looking for stdint.h - found<br>
                -- Looking for stddef.h<br>
                -- Looking for stddef.h - found<br>
                -- Check size of time_t<br>
                -- Check size of time_t - done<br>
                -- Found Python3:
                SRCS/ESP-IDF-TOOLS/5.0/python_env/idf5.0_py3.10_env/bin/python
                (found version "3.10.9") found components: Interpreter <br>
                -- Performing Test
                C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS<br>
                -- Performing Test
                C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS - Success<br>
                -- App "ovms3" version: 3.3.003-316-gcb90ef8c-dirty<br>
                -- Adding linker script
                SRCS/OVMS-wt2/vehicle/OVMS.V3/build/esp-idf/esp_system/ld/memory.ld<br>
                -- Adding linker script
                SRCS/ESP-IDF/5.0/components/esp_system/ld/esp32/sections.ld.in<br>
                -- Adding linker script
                SRCS/ESP-IDF/5.0/components/esp_rom/esp32/ld/esp32.rom.ld<br>
                -- Adding linker script
                SRCS/ESP-IDF/5.0/components/esp_rom/esp32/ld/esp32.rom.api.ld<br>
                -- Adding linker script
                SRCS/ESP-IDF/5.0/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld<br>
                -- Adding linker script
                SRCS/ESP-IDF/5.0/components/esp_rom/esp32/ld/esp32.rom.newlib-data.ld<br>
                -- Adding linker script
                SRCS/ESP-IDF/5.0/components/esp_rom/esp32/ld/esp32.rom.syscalls.ld<br>
                -- Adding linker script
                SRCS/ESP-IDF/5.0/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.ld<br>
                -- Adding linker script
                SRCS/ESP-IDF/5.0/components/soc/esp32/ld/esp32.peripherals.ld<br>
                -- Adding linker script
                SRCS/OVMS-wt2/vehicle/OVMS.V3/main/ovms_boot.ld<br>
                -- wolfssl : EXCLUDE_ASM =
SRCS/OVMS-wt2/vehicle/OVMS.V3/components/wolfssl/wolfssl/wolfcrypt/src/aes_asm.S;SRCS/OVMS-wt2/vehicle/OVMS.V3/components/wolfssl/wolfssl/wolfcrypt/src/aes_gcm_asm.S;SRCS/OVMS-wt2/vehicle/OVMS.V3/components/wolfssl/wolfssl/wolfcrypt/src/aes_gcm_x86_asm.S;SRCS/OVMS-wt2/vehicle/OVMS.V3/components/wolfssl/wolfssl/wolfcrypt/src/chacha_asm.S;SRCS/OVMS-wt2/vehicle/OVMS.V3/components/wolfssl/wolfssl/wolfcrypt/src/fe_x25519_asm.S;SRCS/OVMS-wt2/vehicle/OVMS.V3/components/wolfssl/wolfssl/wolfcrypt/src/poly1305_asm.S;SRCS/OVMS-wt2/vehicle/OVMS.V3/components/wolfssl/wolfssl/wolfcrypt/src/port/arm/armv8-32-aes-asm.S;SRCS/OVMS-wt2/vehicle/OVMS.V3/components/wolfssl/wolfssl/wolfcrypt/src/port/arm/armv8-32-curve25519.S;SRCS/OVMS-wt2/vehicle/OVMS.V3/components/wolfssl/wolfssl/wolfcrypt/src/port/arm/armv8-32-sha256-asm.S;SRCS/OVMS-wt2/vehicle/OVMS.V3/components/wolfssl/wolfssl/wolfcrypt/src/port/arm/armv8-32-sha512-asm.S;SRCS/OVMS-wt2/vehicle/OVMS.V3/components/wolfssl/wolfssl/wolfcrypt/src/port/arm/armv8-curve25519.S;SRCS/OVMS-wt2/vehicle/OVMS.V3/components/wolfssl/wolfssl/wolfcrypt/src/port/arm/armv8-sha3-asm.S;SRCS/OVMS-wt2/vehicle/OVMS.V3/components/wolfssl/wolfssl/wolfcrypt/src/port/arm/armv8-sha512-asm.S;SRCS/OVMS-wt2/vehicle/OVMS.V3/components/wolfssl/wolfssl/wolfcrypt/src/sha256_asm.S;SRCS/OVMS-wt2/vehicle/OVMS.V3/components/wolfssl/wolfssl/wolfcrypt/src/sha3_asm.S;SRCS/OVMS-wt2/vehicle/OVMS.V3/components/wolfssl/wolfssl/wolfcrypt/src/sha512_asm.S;SRCS/OVMS-wt2/vehicle/OVMS.V3/components/wolfssl/wolfssl/wolfcrypt/src/sp_x86_64_asm.S;SRCS/OVMS-wt2/vehicle/OVMS.V3/components/wolfssl/wolfssl/wolfcrypt/src/wc_kyber_asm.S<br>
                -- Found BISON: /usr/bin/bison (found version "2.3") <br>
                -- Found FLEX: /usr/bin/flex (found version "2.6.4") <br>
                -- Found Perl: /usr/local/bin/perl (found version
                "5.36.0") <br>
                -- IDF Version: 5.0.0 - NOT enabling strverscmp<br>
                -- Component idf::main will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::pcp will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::ovms_buffer will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::can will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::canopen will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::wolfssl will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::console_ssh will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::console_telnet will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::crypto will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::dbc will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::esp32adc will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::esp32bluetooth will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::esp32can will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::esp32system will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::esp32wifi will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::ext12v will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::max7317 will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::mcp2515 will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::microrl will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::obd2ecu will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::ovms_http will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::ovms_location will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::ovms_mdns will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::ovms_netlib will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::ovms_ota will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::pushover will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::ovms_webserver will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::ovms_plugins will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::ovms_tls will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::ovms_script will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::ovms_server will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::ovms_server_v2 will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::ovms_server_v3 will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::ovms_tpms will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::powermgmt will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::retools will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::retools_pidscan will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::retools_testerpresent will be linked
                with -Wl,--whole-archive<br>
                -- Component idf::sdcard will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::simcom will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::spi will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::strverscmp will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::swcan will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::vehicle will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::vehicle_bmwi3 will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::vehicle_boltev will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::vehicle_cadillac_c2_cts will be linked
                with -Wl,--whole-archive<br>
                -- Component idf::vehicle_chevrolet_c6_corvette will be
                linked with -Wl,--whole-archive<br>
                -- Component idf::vehicle_dbc will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::vehicle_demo will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::vehicle_fiat500 will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::vehicle_hyundai_ioniq5 will be linked
                with -Wl,--whole-archive<br>
                -- Component idf::vehicle_hyundai_ioniqvfl will be
                linked with -Wl,--whole-archive<br>
                -- Component idf::vehicle_jaguaripace will be linked
                with -Wl,--whole-archive<br>
                -- Component idf::vehicle_kianiroev will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::vehicle_kiasoulev will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::vehicle_maxus_edeliver3 will be linked
                with -Wl,--whole-archive<br>
                -- Component idf::vehicle_mercedesb250e will be linked
                with -Wl,--whole-archive<br>
                -- Component idf::vehicle_mgev will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::vehicle_minise will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::vehicle_mitsubishi will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::vehicle_nissanleaf will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::vehicle_none will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::vehicle_obdii will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::vehicle_renaulttwizy will be linked
                with -Wl,--whole-archive<br>
                -- Component idf::vehicle_renaultzoe will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::vehicle_renaultzoe_ph2_obd will be
                linked with -Wl,--whole-archive<br>
                -- Component idf::vehicle_smarted will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::vehicle_smarteq will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::vehicle_teslamodel3 will be linked
                with -Wl,--whole-archive<br>
                -- Component idf::vehicle_teslamodels will be linked
                with -Wl,--whole-archive<br>
                -- Component idf::vehicle_teslaroadster will be linked
                with -Wl,--whole-archive<br>
                -- Component idf::vehicle_thinkcity will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::vehicle_toyotarav4ev will be linked
                with -Wl,--whole-archive<br>
                -- Component idf::vehicle_track will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::vehicle_voltampera will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::vehicle_vweup will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::vehicle_zeva will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::vfsedit will be linked with
                -Wl,--whole-archive<br>
                -- Component idf::zip will be linked with
                -Wl,--whole-archive<br>
                -- Components: app_trace app_update bootloader
                bootloader_support bt can canopen cmock console
                console_ssh console_telnet crypto cxx dbc driver duktape
                efuse esp-tls esp32adc esp32bluetooth esp32can
                esp32system esp32wifi esp_adc esp_app_format esp_common
                esp_eth esp_event esp_gdbstub esp_hid esp_http_client
                esp_http_server esp_https_ota esp_https_server
                esp_hw_support esp_lcd esp_local_ctrl esp_netif
                esp_partition esp_phy esp_pm esp_psram esp_ringbuf
                esp_rom esp_system esp_timer esp_wifi espcoredump
                espressif__mdns esptool_py ext12v fatfs freertos hal
                heap http_parser idf_test ieee802154 json libtelnet log
                lwip main max7317 mbedtls mcp2515 microrl mongoose mqtt
                newlib nvs_flash obd2ecu openthread ovms_buffer
                ovms_cellular ovms_http ovms_location ovms_mdns
                ovms_netlib ovms_ota ovms_plugins ovms_script
                ovms_server ovms_server_v2 ovms_server_v3 ovms_tls
                ovms_tpms ovms_webserver partition_table pcp perfmon
                powermgmt protobuf-c protocomm pthread pushover retools
                retools_pidscan retools_testerpresent sdcard sdmmc
                simcom soc spi spi_flash spiffs strverscmp swcan
                tcp_transport ulp unity usb vehicle vehicle_bmwi3
                vehicle_boltev vehicle_cadillac_c2_cts
                vehicle_chevrolet_c6_corvette vehicle_dbc vehicle_demo
                vehicle_fiat500 vehicle_hyundai_ioniq5
                vehicle_hyundai_ioniqvfl vehicle_jaguaripace
                vehicle_kianiroev vehicle_kiasoulev
                vehicle_maxus_edeliver3 vehicle_mercedesb250e
                vehicle_mgev vehicle_minise vehicle_mitsubishi
                vehicle_nissanleaf vehicle_none vehicle_obdii
                vehicle_renaulttwizy vehicle_renaultzoe
                vehicle_renaultzoe_ph2_obd vehicle_smarted
                vehicle_smarteq vehicle_teslamodel3 vehicle_teslamodels
                vehicle_teslaroadster vehicle_thinkcity
                vehicle_toyotarav4ev vehicle_track vehicle_voltampera
                vehicle_vweup vehicle_zeva vfs vfsedit wear_levelling
                wifi_provisioning wolfssh wolfssl wpa_supplicant xtensa
                zip<br>
                -- Component paths:
                SRCS/ESP-IDF/5.0/components/app_trace
                SRCS/ESP-IDF/5.0/components/app_update
                SRCS/ESP-IDF/5.0/components/bootloader
                SRCS/ESP-IDF/5.0/components/bootloader_support
                SRCS/ESP-IDF/5.0/components/bt
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/can
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/canopen
                SRCS/ESP-IDF/5.0/components/cmock
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/console
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/console_ssh
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/console_telnet
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/crypto
                SRCS/ESP-IDF/5.0/components/cxx
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/dbc
                SRCS/ESP-IDF/5.0/components/driver
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/duktape
                SRCS/ESP-IDF/5.0/components/efuse
                SRCS/ESP-IDF/5.0/components/esp-tls
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/esp32adc
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/esp32bluetooth
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/esp32can
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/esp32system
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/esp32wifi
                SRCS/ESP-IDF/5.0/components/esp_adc
                SRCS/ESP-IDF/5.0/components/esp_app_format
                SRCS/ESP-IDF/5.0/components/esp_common
                SRCS/ESP-IDF/5.0/components/esp_eth
                SRCS/ESP-IDF/5.0/components/esp_event
                SRCS/ESP-IDF/5.0/components/esp_gdbstub
                SRCS/ESP-IDF/5.0/components/esp_hid
                SRCS/ESP-IDF/5.0/components/esp_http_client
                SRCS/ESP-IDF/5.0/components/esp_http_server
                SRCS/ESP-IDF/5.0/components/esp_https_ota
                SRCS/ESP-IDF/5.0/components/esp_https_server
                SRCS/ESP-IDF/5.0/components/esp_hw_support
                SRCS/ESP-IDF/5.0/components/esp_lcd
                SRCS/ESP-IDF/5.0/components/esp_local_ctrl
                SRCS/ESP-IDF/5.0/components/esp_netif
                SRCS/ESP-IDF/5.0/components/esp_partition
                SRCS/ESP-IDF/5.0/components/esp_phy
                SRCS/ESP-IDF/5.0/components/esp_pm
                SRCS/ESP-IDF/5.0/components/esp_psram
                SRCS/ESP-IDF/5.0/components/esp_ringbuf
                SRCS/ESP-IDF/5.0/components/esp_rom
                SRCS/ESP-IDF/5.0/components/esp_system
                SRCS/ESP-IDF/5.0/components/esp_timer
                SRCS/ESP-IDF/5.0/components/esp_wifi
                SRCS/ESP-IDF/5.0/components/espcoredump
                SRCS/OVMS-wt2/vehicle/OVMS.V3/managed_components/espressif__mdns
                SRCS/ESP-IDF/5.0/components/esptool_py
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/ext12v
                SRCS/ESP-IDF/5.0/components/fatfs
                SRCS/ESP-IDF/5.0/components/freertos
                SRCS/ESP-IDF/5.0/components/hal
                SRCS/ESP-IDF/5.0/components/heap
                SRCS/ESP-IDF/5.0/components/http_parser
                SRCS/ESP-IDF/5.0/components/idf_test
                SRCS/ESP-IDF/5.0/components/ieee802154
                SRCS/ESP-IDF/5.0/components/json
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/libtelnet
                SRCS/ESP-IDF/5.0/components/log
                SRCS/ESP-IDF/5.0/components/lwip
                SRCS/OVMS-wt2/vehicle/OVMS.V3/main
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/max7317
                SRCS/ESP-IDF/5.0/components/mbedtls
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/mcp2515
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/microrl
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/mongoose
                SRCS/ESP-IDF/5.0/components/mqtt
                SRCS/ESP-IDF/5.0/components/newlib
                SRCS/ESP-IDF/5.0/components/nvs_flash
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/obd2ecu
                SRCS/ESP-IDF/5.0/components/openthread
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/ovms_buffer
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/ovms_cellular
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/ovms_http
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/ovms_location
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/ovms_mdns
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/ovms_netlib
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/ovms_ota
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/ovms_plugins
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/ovms_script
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/ovms_server
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/ovms_server_v2
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/ovms_server_v3
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/ovms_tls
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/ovms_tpms
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/ovms_webserver
                SRCS/ESP-IDF/5.0/components/partition_table
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/pcp
                SRCS/ESP-IDF/5.0/components/perfmon
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/powermgmt
                SRCS/ESP-IDF/5.0/components/protobuf-c
                SRCS/ESP-IDF/5.0/components/protocomm
                SRCS/ESP-IDF/5.0/components/pthread
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/pushover
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/retools
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/retools_pidscan
SRCS/OVMS-wt2/vehicle/OVMS.V3/components/retools_testerpresent
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/sdcard
                SRCS/ESP-IDF/5.0/components/sdmmc
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/simcom
                SRCS/ESP-IDF/5.0/components/soc
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/spi
                SRCS/ESP-IDF/5.0/components/spi_flash
                SRCS/ESP-IDF/5.0/components/spiffs
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/strverscmp
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/swcan
                SRCS/ESP-IDF/5.0/components/tcp_transport
                SRCS/ESP-IDF/5.0/components/ulp
                SRCS/ESP-IDF/5.0/components/unity
                SRCS/ESP-IDF/5.0/components/usb
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_bmwi3
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_boltev
SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_cadillac_c2_cts
SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_chevrolet_c6_corvette
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_dbc
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_demo
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_fiat500
SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_hyundai_ioniq5
SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_hyundai_ioniqvfl
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_jaguaripace
SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_kianiroev
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_kiasoulev
SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_maxus_edeliver3
SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_mercedesb250e
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_mgev
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_minise
SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_mitsubishi
SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_nissanleaf
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_none
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_obdii
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_renaulttwizy
SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_renaultzoe
SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_renaultzoe_ph2_obd
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_smarted
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_smarteq
SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_teslamodel3
SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_teslamodels
SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_teslaroadster
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_thinkcity
SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_toyotarav4ev
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_track
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_voltampera
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_vweup
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_zeva
                SRCS/ESP-IDF/5.0/components/vfs
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vfsedit
                SRCS/ESP-IDF/5.0/components/wear_levelling
                SRCS/ESP-IDF/5.0/components/wifi_provisioning
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/wolfssh
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/wolfssl
                SRCS/ESP-IDF/5.0/components/wpa_supplicant
                SRCS/ESP-IDF/5.0/components/xtensa
                SRCS/OVMS-wt2/vehicle/OVMS.V3/components/zip<br>
                -- Configuring done<br>
                -- Generating done<br>
                -- Build files have been written to:
                SRCS/OVMS-wt2/vehicle/OVMS.V3/build</font></blockquote>
            <br>
          </div>
          <div class="moz-cite-prefix">So the next line that should have
            been printed, instead of the error, would have been:</div>
          <div class="moz-cite-prefix">
            <blockquote type="cite"><font face="monospace">-- Project
                sdkconfig file SRCS/OVMS-wt2/vehicle/OVMS.V3/sdkconfig</font></blockquote>
            <br>
          </div>
          <div class="moz-cite-prefix">Could you check that your env
            variable `IDF_PATH` is pointing to the proper copy of
            ESP-IDF (v5 then) ? It's currently set to <font
              face="monospace">`/home/balzer/esp/esp-idf`.<br>
            </font></div>
          <div class="moz-cite-prefix"><br>
          </div>
          <div class="moz-cite-prefix">(The main CMakeLists.txt includes
            `<font face="monospace">$ENV{IDF_PATH}/tools/cmake/project.cmake</font>`)</div>
          <div class="moz-cite-prefix"><br>
          </div>
          <div class="moz-cite-prefix">The important env variables for
            ESP-IDF would be:</div>
          <div class="moz-cite-prefix">
            <ul>
              <li>CMAKE_COLOR_DIAGNOSTICS set to 1 to have beautiful
                error messages<br>
              </li>
              <li>ESPBAUD set to 921600<br>
              </li>
              <li>ESPPORT set to your usb device (mine is
                /dev/cu.usbserial-0001)<br>
              </li>
              <li>ESP_IDF_VERSION (5.0 here)<br>
              </li>
              <li>IDF_PATH should be set to the proper 5.0 root</li>
              <li>IDF_TOOLS_EXPORT_CMD on my installation is equivalent
                to $IDF_PATH/export.sh<br>
              </li>
              <li>IDF_TOOLS_INSTALL_CMD on my installation is equivalent
                to $IDF_PATH/install.sh</li>
              <li>IDF_TOOLS_PATH should be set to proper 5.0 tools root<br>
              </li>
              <li>IDF_PYTHON_ENV_PATH on my installation is equivalent
                to $IDF_TOOLS_PATH/python_env/idf5.0_py3.10_env </li>
              <li>OPENOCD_SCRIPTS on my installation is equivalent to
$IDF_TOOLS_PATH/tools/openocd-esp32/v0.11.0-esp32-20221026/openocd-esp32/share/openocd/scripts<br>
                and<br>
              </li>
              <li>PATH which should include a few occurrences of
                $IDF_PATH and $IDF_TOOLS_PATH</li>
            </ul>
            <p>All of them should be automatically set it you have
              installed per the docs, and the fact that "hello_world"
              compiles is a good indicator that it was OK on your
              install , but double-checking is always interesting.<br>
            </p>
          </div>
          <div class="moz-cite-prefix"><br>
          </div>
          <div class="moz-cite-prefix"><br>
          </div>
          <div class="moz-cite-prefix">Let me know the result of your
            checks.</div>
          <div class="moz-cite-prefix"><br>
          </div>
          <div class="moz-cite-prefix"><br>
          </div>
          <div class="moz-cite-prefix">Regards,</div>
        </blockquote>
      </blockquote>
      <br>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
OvmsDev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OvmsDev@lists.openvehicles.com">OvmsDev@lists.openvehicles.com</a>
<a class="moz-txt-link-freetext" href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a>
</pre>
    </blockquote>
    <p><br>
    </p>
    <div id="grammalecte_menu_main_button_shadow_host" style="width:
      0px; height: 0px;"></div>
  </body>
</html>