Hello,
after re-installation of esp-idf-tools-setup-offline-4.2.4.exe, it's now impossible to build homekit projects:
When I open ESP-IDF 4.2 CMD i have the followings lines:
*****************************************************************************************
Setting PYTHONNOUSERSITE, was not set
Using Python in C:\Espressif\python_env\idf4.2_py3.8_env\Scripts\
Python 3.8.7
Using Git in C:\Espressif\tools\idf-git\2.34.2\cmd\
git version 2.34.1.windows.1
Setting IDF_PATH: C:\Espressif\frameworks\esp-idf-v4.2.4
Adding ESP-IDF tools to PATH...
C:\Espressif\tools\xtensa-esp32-elf\esp-2020r3-8.4.0\xtensa-esp32-elf\bin
C:\Espressif\tools\xtensa-esp32s2-elf\esp-2020r3-8.4.0\xtensa-esp32s2-elf\bin
C:\Espressif\tools\esp32ulp-elf\2.28.51-esp-20191205\esp32ulp-elf-binutils\bin
C:\Espressif\tools\esp32s2ulp-elf\2.28.51-esp-20191205\esp32s2ulp-elf-binutils\bin
C:\Espressif\tools\cmake\3.16.4\bin
C:\Espressif\tools\openocd-esp32\v0.11.0-esp32-20211220\openocd-esp32\bin
C:\Espressif\tools\ninja\1.10.0\
C:\Espressif\tools\idf-exe\1.0.1\
C:\Espressif\tools\ccache\3.7\
C:\Espressif\tools\dfu-util\0.9\dfu-util-0.9-win64
C:\Espressif\frameworks\esp-idf-v4.2.4\tools
Checking if Python packages are up to date...
Python requirements from C:\Espressif\frameworks\esp-idf-v4.2.4\requirements.txt are satisfied.
Done! You can now compile ESP-IDF projects.
Go to the project directory and run:
idf.py build
*****************************************************************************************
WI set the target, I have no error but the folling message:
"-- 4.0-Le sous-syst├×me Windows pour Linux n'a pas de distributions install├Ües.
Vous pouvez installer les distributions en visitant le Microsoft Storeá:
https://aka.ms/wslstore"
*****************************************************************************************
c:\workspace\esp-homekit-sdk\examples\fan>idf.py set-target esp32
Adding "set-target"'s dependency "fullclean" to list of commands with default set of options.
Executing action: fullclean
Executing action: set-target
Set Target to: esp32, new sdkconfig created. Existing sdkconfig renamed to sdkconfig.old.
Running cmake in directory c:\workspace\esp-homekit-sdk\examples\fan\build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DIDF_TARGET=esp32 -DCCACHE_ENABLE=1 c:\workspace\esp-homekit-sdk\examples\fan"...
-- Found Git: C:/Espressif/tools/idf-git/2.34.2/cmd/git.exe (found version "2.34.1.windows.1")
-- ccache will be used for faster recompilation
-- The C compiler identification is GNU 8.4.0
-- The CXX compiler identification is GNU 8.4.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/Espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
-- Check for working C compiler: C:/Espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
-- Check for working C compiler: C:/Espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/Espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe
-- Check for working CXX compiler: C:/Espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32
-- 4.0-Le sous-syst├×me Windows pour Linux n'a pas de distributions install├Ües.
Vous pouvez installer les distributions en visitant le Microsoft Storeá:
https://aka.ms/wslstore
-- Project sdkconfig file C:/workspace/esp-homekit-sdk/examples/fan/sdkconfig
Loading defaults file C:/workspace/esp-homekit-sdk/examples/fan/sdkconfig.defaults...
-- Found PythonInterp: C:/Espressif/python_env/idf4.2_py3.8_env/Scripts/python.exe (found version "3.8.7")
-- Could NOT find Perl (missing: PERL_EXECUTABLE)
-- App "fan" version: fac2032
-- Adding linker script C:/Espressif/frameworks/esp-idf-v4.2.4/components/esp_rom/esp32/ld/esp32.rom.newlib-time.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-v4.2.4/components/esp_rom/esp32/ld/esp32.rom.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-v4.2.4/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-v4.2.4/components/esp_rom/esp32/ld/esp32.rom.newlib-data.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-v4.2.4/components/esp_rom/esp32/ld/esp32.rom.syscalls.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-v4.2.4/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.ld
-- Adding linker script C:/workspace/esp-homekit-sdk/examples/fan/build/esp-idf/esp32/esp32_out.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-v4.2.4/components/esp32/ld/esp32.project.ld.in
-- Adding linker script C:/Espressif/frameworks/esp-idf-v4.2.4/components/esp32/ld/esp32.peripherals.ld
-- 4.0-Le sous-systÞme Windows pour Linux n'a pas de distributions installÚes.
Vous pouvez installer les distributions en visitant le Microsoft Storeá:
https://aka.ms/wslstore
-- ESP HomeKit SDK Project commit: fac2032
-- Components: app_hap_setup_payload app_trace app_update app_wifi asio bootloader bootloader_support bt button cbor coap console cxx driver efuse esp-tls esp32 esp_adc_cal esp_common esp_eth esp_event esp_gdbstub esp_hap_apple_profiles esp_hap_core esp_hap_extras esp_hap_platform esp_hid esp_http_client esp_http_server esp_https_ota esp_https_server esp_ipc esp_local_ctrl esp_netif esp_ringbuf esp_rom esp_serial_slave_link esp_system esp_timer esp_websocket_client esp_wifi espcoredump esptool_py expat fatfs freemodbus freertos heap hkdf-sha idf_test jsmn json json_generator json_parser libsodium log lwip main mbedtls mdns mqtt mu_srp newlib nghttp nvs_flash openssl partition_table perfmon protobuf-c protocomm pthread qrcode sdmmc soc spi_flash spiffs tcp_transport tcpip_adapter tinyusb ulp unity vfs wear_levelling wifi_provisioning wpa_supplicant xtensa
-- Component paths: C:/workspace/esp-homekit-sdk/examples/common/app_hap_setup_payload C:/Espressif/frameworks/esp-idf-v4.2.4/components/app_trace C:/Espressif/frameworks/esp-idf-v4.2.4/components/app_update C:/workspace/esp-homekit-sdk/examples/common/app_wifi C:/Espressif/frameworks/esp-idf-v4.2.4/components/asio C:/Espressif/frameworks/esp-idf-v4.2.4/components/bootloader C:/Espressif/frameworks/esp-idf-v4.2.4/components/bootloader_support C:/Espressif/frameworks/esp-idf-v4.2.4/components/bt C:/workspace/esp-homekit-sdk/components/button C:/Espressif/frameworks/esp-idf-v4.2.4/components/cbor C:/Espressif/frameworks/esp-idf-v4.2.4/components/coap C:/Espressif/frameworks/esp-idf-v4.2.4/components/console C:/Espressif/frameworks/esp-idf-v4.2.4/components/cxx C:/Espressif/frameworks/esp-idf-v4.2.4/components/driver C:/Espressif/frameworks/esp-idf-v4.2.4/components/efuse C:/Espressif/frameworks/esp-idf-v4.2.4/components/esp-tls C:/Espressif/frameworks/esp-idf-v4.2.4/components/esp32 C:/Espressif/frameworks/esp-idf-v4.2.4/components/esp_adc_cal C:/Espressif/frameworks/esp-idf-v4.2.4/components/esp_common C:/Espressif/frameworks/esp-idf-v4.2.4/components/esp_eth C:/Espressif/frameworks/esp-idf-v4.2.4/components/esp_event C:/Espressif/frameworks/esp-idf-v4.2.4/components/esp_gdbstub C:/workspace/esp-homekit-sdk/components/homekit/esp_hap_apple_profiles C:/workspace/esp-homekit-sdk/components/homekit/esp_hap_core C:/workspace/esp-homekit-sdk/components/homekit/esp_hap_extras C:/workspace/esp-homekit-sdk/components/homekit/esp_hap_platform C:/Espressif/frameworks/esp-idf-v4.2.4/components/esp_hid C:/Espressif/frameworks/esp-idf-v4.2.4/components/esp_http_client C:/Espressif/frameworks/esp-idf-v4.2.4/components/esp_http_server C:/Espressif/frameworks/esp-idf-v4.2.4/components/esp_https_ota C:/Espressif/frameworks/esp-idf-v4.2.4/components/esp_https_server C:/Espressif/frameworks/esp-idf-v4.2.4/components/esp_ipc C:/Espressif/frameworks/esp-idf-v4.2.4/components/esp_local_ctrl C:/Espressif/frameworks/esp-idf-v4.2.4/components/esp_netif C:/Espressif/frameworks/esp-idf-v4.2.4/components/esp_ringbuf C:/Espressif/frameworks/esp-idf-v4.2.4/components/esp_rom C:/Espressif/frameworks/esp-idf-v4.2.4/components/esp_serial_slave_link C:/Espressif/frameworks/esp-idf-v4.2.4/components/esp_system C:/Espressif/frameworks/esp-idf-v4.2.4/components/esp_timer C:/Espressif/frameworks/esp-idf-v4.2.4/components/esp_websocket_client C:/Espressif/frameworks/esp-idf-v4.2.4/components/esp_wifi C:/Espressif/frameworks/esp-idf-v4.2.4/components/espcoredump C:/Espressif/frameworks/esp-idf-v4.2.4/components/esptool_py C:/Espressif/frameworks/esp-idf-v4.2.4/components/expat C:/Espressif/frameworks/esp-idf-v4.2.4/components/fatfs C:/Espressif/frameworks/esp-idf-v4.2.4/components/freemodbus C:/Espressif/frameworks/esp-idf-v4.2.4/components/freertos C:/Espressif/frameworks/esp-idf-v4.2.4/components/heap C:/workspace/esp-homekit-sdk/components/homekit/hkdf-sha C:/Espressif/frameworks/esp-idf-v4.2.4/components/idf_test C:/Espressif/frameworks/esp-idf-v4.2.4/components/jsmn C:/Espressif/frameworks/esp-idf-v4.2.4/components/json C:/workspace/esp-homekit-sdk/components/homekit/json_generator C:/workspace/esp-homekit-sdk/components/homekit/json_parser C:/Espressif/frameworks/esp-idf-v4.2.4/components/libsodium C:/Espressif/frameworks/esp-idf-v4.2.4/components/log C:/Espressif/frameworks/esp-idf-v4.2.4/components/lwip C:/workspace/esp-homekit-sdk/examples/fan/main C:/Espressif/frameworks/esp-idf-v4.2.4/components/mbedtls C:/Espressif/frameworks/esp-idf-v4.2.4/components/mdns C:/Espressif/frameworks/esp-idf-v4.2.4/components/mqtt C:/workspace/esp-homekit-sdk/components/homekit/mu_srp C:/Espressif/frameworks/esp-idf-v4.2.4/components/newlib C:/Espressif/frameworks/esp-idf-v4.2.4/components/nghttp C:/Espressif/frameworks/esp-idf-v4.2.4/components/nvs_flash C:/Espressif/frameworks/esp-idf-v4.2.4/components/openssl C:/Espressif/frameworks/esp-idf-v4.2.4/components/partition_table C:/Espressif/frameworks/esp-idf-v4.2.4/components/perfmon C:/Espressif/frameworks/esp-idf-v4.2.4/components/protobuf-c C:/Espressif/frameworks/esp-idf-v4.2.4/components/protocomm C:/Espressif/frameworks/esp-idf-v4.2.4/components/pthread C:/workspace/esp-homekit-sdk/examples/common/qrcode C:/Espressif/frameworks/esp-idf-v4.2.4/components/sdmmc C:/Espressif/frameworks/esp-idf-v4.2.4/components/soc C:/Espressif/frameworks/esp-idf-v4.2.4/components/spi_flash C:/Espressif/frameworks/esp-idf-v4.2.4/components/spiffs C:/Espressif/frameworks/esp-idf-v4.2.4/components/tcp_transport C:/Espressif/frameworks/esp-idf-v4.2.4/components/tcpip_adapter C:/Espressif/frameworks/esp-idf-v4.2.4/components/tinyusb C:/Espressif/frameworks/esp-idf-v4.2.4/components/ulp C:/Espressif/frameworks/esp-idf-v4.2.4/components/unity C:/Espressif/frameworks/esp-idf-v4.2.4/components/vfs C:/Espressif/frameworks/esp-idf-v4.2.4/components/wear_levelling C:/Espressif/frameworks/esp-idf-v4.2.4/components/wifi_provisioning C:/Espressif/frameworks/esp-idf-v4.2.4/components/wpa_supplicant C:/Espressif/frameworks/esp-idf-v4.2.4/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: C:/workspace/esp-homekit-sdk/examples/fan/build
*********************************************************************************************************************************
when I build, I have a message with error:
*********************************************************************************************************************************
Executing "ninja all"...
ninja: error: build.ninja:20152: lexing error
ninja failed with exit code 1
*********************************************************************************************************************************
Could you help me please?
Before reinstalling ESP-IDF, I had no errors.
Best Regards.
Sylvain
ESP IDF V4.2.4 homekit error "wslstore"
Who is online
Users browsing this forum: No registered users and 129 guests