Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I am unable to successfully compile the Light example #33

Open
Lemon4000 opened this issue May 22, 2024 · 0 comments
Open

I am unable to successfully compile the Light example #33

Lemon4000 opened this issue May 22, 2024 · 0 comments

Comments

@Lemon4000
Copy link

正在执行任务: cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -B c:\Users\Lemon\VScode\ESP\ESP32_S2\ESP32_light\build -S c:\Users\Lemon\VScode\ESP\ESP32_S2\ESP32_light

-- Found Git: C:/Users/Lemon/VScode/ESP/ESP_Tools_path/tools/idf-git/2.39.2/cmd/git.exe (found version "2.39.2.windows.1")
-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/Users/Lemon/VScode/ESP/ESP_Tools_path/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/xtensa-esp32-elf-gcc.exe
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Users/Lemon/VScode/ESP/ESP_Tools_path/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/xtensa-esp32-elf-gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Users/Lemon/VScode/ESP/ESP_Tools_path/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/xtensa-esp32-elf-g++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- git rev-parse returned 'fatal: not a git repository (or any of the parent directories): .git'
-- Could not use 'git describe' to determine PROJECT_VER.
-- Building ESP-IDF components for target esp32
Dependencies lock doesn't exist, solving dependencies.
.....Updating lock file at C:\Users\Lemon\VScode\ESP\ESP32_S2\ESP32_light\dependencies.lock
Processing 4 dependencies:
[1/4] espressif/esp-zboss-lib (1.0.9)
[2/4] espressif/esp-zigbee-lib (1.0.9)
[3/4] espressif/led_strip (2.0.0)
[4/4] idf (5.2.1)
-- Project sdkconfig file C:/Users/Lemon/VScode/ESP/ESP32_S2/ESP32_light/sdkconfig
Loading defaults file C:/Users/Lemon/VScode/ESP/ESP32_S2/ESP32_light/sdkconfig.defaults...
-- Compiler supported targets: xtensa-esp-elf
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of time_t
-- Check size of time_t - done
-- Found Python3: c:/Users/Lemon/VScode/ESP/ESP_Tools_path/python_env/idf5.2_py3.11_env/Scripts/python.exe (found version "3.11.2") found components: Interpreter
-- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS
-- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS - Success
-- App "ESP32_light" version: 1
-- Adding linker script C:/Users/Lemon/VScode/ESP/ESP32_S2/ESP32_light/build/esp-idf/esp_system/ld/memory.ld
-- Adding linker script C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/esp_system/ld/esp32/sections.ld.in
-- Adding linker script C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/esp_rom/esp32/ld/esp32.rom.ld
-- Adding linker script C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/esp_rom/esp32/ld/esp32.rom.api.ld
-- Adding linker script C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld
-- Adding linker script C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-data.ld
-- Adding linker script C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/esp_rom/esp32/ld/esp32.rom.syscalls.ld
-- Adding linker script C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.ld
-- Adding linker script C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/soc/esp32/ld/esp32.peripherals.ld
fatal: not a git repository (or any of the parent directories): .git
zigbee-a322e6bdad--1.0.9-2024-05-22 04:17:51 UTC
-- Components: app_trace app_update bootloader bootloader_support bt cmock console cxx driver efuse esp-tls esp_adc esp_app_format esp_bootloader_format esp_coex 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_mm esp_netif esp_netif_stack esp_partition esp_phy esp_pm esp_psram esp_ringbuf esp_rom esp_system esp_timer esp_wifi espcoredump espressif__esp-zboss-lib espressif__esp-zigbee-lib espressif__led_strip esptool_py fatfs freertos hal heap http_parser idf_test ieee802154 json log lwip main mbedtls mqtt newlib nvs_flash nvs_sec_provider openthread partition_table perfmon protobuf-c protocomm pthread sdmmc soc spi_flash spiffs tcp_transport ulp unity usb vfs wear_levelling wifi_provisioning wpa_supplicant xtensa
-- Component paths: C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/app_trace C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/app_update C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/bootloader C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/bootloader_support C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/bt C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/cmock C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/console C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/cxx C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/driver C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/efuse C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/esp-tls C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/esp_adc C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/esp_app_format C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/esp_bootloader_format C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/esp_coex C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/esp_common C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/esp_eth C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/esp_event C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/esp_gdbstub C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/esp_hid C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/esp_http_client C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/esp_http_server C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/esp_https_ota C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/esp_https_server C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/esp_hw_support C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/esp_lcd C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/esp_local_ctrl C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/esp_mm C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/esp_netif C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/esp_netif_stack C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/esp_partition C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/esp_phy C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/esp_pm C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/esp_psram C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/esp_ringbuf C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/esp_rom C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/esp_system C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/esp_timer C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/esp_wifi C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/espcoredump C:/Users/Lemon/VScode/ESP/ESP32_S2/ESP32_light/managed_components/espressif__esp-zboss-lib C:/Users/Lemon/VScode/ESP/ESP32_S2/ESP32_light/managed_components/espressif__esp-zigbee-lib C:/Users/Lemon/VScode/ESP/ESP32_S2/ESP32_light/managed_components/espressif__led_strip C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/esptool_py C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/fatfs C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/freertos C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/hal C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/heap C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/http_parser C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/idf_test C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/ieee802154 C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/json C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/log C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/lwip C:/Users/Lemon/VScode/ESP/ESP32_S2/ESP32_light/main C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/mbedtls C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/mqtt C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/newlib C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/nvs_flash C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/nvs_sec_provider C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/openthread C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/partition_table C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/perfmon C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/protobuf-c C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/protocomm C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/pthread C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/sdmmc C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/soc C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/spi_flash
C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/spiffs C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/tcp_transport C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/ulp C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/unity C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/usb C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/vfs C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/wear_levelling C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/wifi_provisioning C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/wpa_supplicant C:/Users/Lemon/VScode/ESP/ESP_PATH/v5.2.1/esp-idf/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/Lemon/VScode/ESP/ESP32_S2/ESP32_light/build

  • 正在执行任务: ninja

ninja: error: 'C:/Users/Lemon/VScode/ESP/ESP32_S2/ESP32_light/managed_components/espressif__esp-zigbee-lib/lib/esp32/libesp_zb_api_ed.a', needed by 'ESP32_light.elf', missing and no known rule to make it

  • 终端进程“C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -Command ninja ”已终止,退出代码: 1。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant