完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
(base) yu:hello_world yuyuan$ idf.py build
Executing action: all (aliases: build) Running ninja in directory /Users/yuyuan/esp/hello_world/build Executing "ninja all"... [0/1] Re-running CMake... -- Unexpected file in components directory: /Users/yuyuan/esp/esp-idf/components/.DS_Store -- Project is not inside a git repository, or git repository has no commits; will not use 'git describe' to determine PROJECT_VER. -- Project version: 1 -- Building ESP-IDF components for target esp32 CMake Deprecation Warning at /Users/yuyuan/esp/esp-idf/components/mbedtls/mbedtls/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- Adding linker script /Users/yuyuan/esp/hello_world/build/esp-idf/esp32/esp32_out.ld -- Adding linker script /Users/yuyuan/esp/esp-idf/components/esp32/ld/esp32.project.ld.in -- Adding linker script /Users/yuyuan/esp/esp-idf/components/esp32/ld/esp32.peripherals.ld -- Adding linker script /Users/yuyuan/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-time.ld -- Adding linker script /Users/yuyuan/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.ld -- Adding linker script /Users/yuyuan/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld -- Adding linker script /Users/yuyuan/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-data.ld -- Adding linker script /Users/yuyuan/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.syscalls.ld -- Adding linker script /Users/yuyuan/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.ld -- Components: app_trace app_update asio bootloader bootloader_support bt cbor coap console cxx driver efuse esp-tls esp32 esp_adc_cal esp_common esp_eth esp_event esp_gdbstub esp_http_client esp_http_server esp_https_ota esp_https_server esp_local_ctrl esp_netif esp_ringbuf esp_rom esp_serial_slave_link esp_websocket_client esp_wifi espcoredump esptool_py expat fatfs freemodbus freertos heap idf_test jsmn json libsodium log lwip main mbedtls mdns mqtt newlib nghttp nvs_flash openssl partition_table perfmon protobuf-c protocomm pthread sdmmc soc spi_flash spiffs tcp_transport tcpip_adapter ulp unity vfs wear_levelling wifi_provisioning wpa_supplicant xtensa -- Component paths: /Users/yuyuan/esp/esp-idf/components/app_trace /Users/yuyuan/esp/esp-idf/components/app_update /Users/yuyuan/esp/esp-idf/components/asio /Users/yuyuan/esp/esp-idf/components/bootloader /Users/yuyuan/esp/esp-idf/components/bootloader_support /Users/yuyuan/esp/esp-idf/components/bt /Users/yuyuan/esp/esp-idf/components/cbor /Users/yuyuan/esp/esp-idf/components/coap /Users/yuyuan/esp/esp-idf/components/console /Users/yuyuan/esp/esp-idf/components/cxx /Users/yuyuan/esp/esp-idf/components/driver /Users/yuyuan/esp/esp-idf/components/efuse /Users/yuyuan/esp/esp-idf/components/esp-tls /Users/yuyuan/esp/esp-idf/components/esp32 /Users/yuyuan/esp/esp-idf/components/esp_adc_cal /Users/yuyuan/esp/esp-idf/components/esp_common /Users/yuyuan/esp/esp-idf/components/esp_eth /Users/yuyuan/esp/esp-idf/components/esp_event /Users/yuyuan/esp/esp-idf/components/esp_gdbstub /Users/yuyuan/esp/esp-idf/components/esp_http_client /Users/yuyuan/esp/esp-idf/components/esp_http_server /Users/yuyuan/esp/esp-idf/components/esp_https_ota /Users/yuyuan/esp/esp-idf/components/esp_https_server /Users/yuyuan/esp/esp-idf/components/esp_local_ctrl /Users/yuyuan/esp/esp-idf/components/esp_netif /Users/yuyuan/esp/esp-idf/components/esp_ringbuf /Users/yuyuan/esp/esp-idf/components/esp_rom /Users/yuyuan/esp/esp-idf/components/esp_serial_slave_link /Users/yuyuan/esp/esp-idf/components/esp_websocket_client /Users/yuyuan/esp/esp-idf/components/esp_wifi /Users/yuyuan/esp/esp-idf/components/espcoredump /Users/yuyuan/esp/esp-idf/components/esptool_py /Users/yuyuan/esp/esp-idf/components/expat /Users/yuyuan/esp/esp-idf/components/fatfs /Users/yuyuan/esp/esp-idf/components/freemodbus /Users/yuyuan/esp/esp-idf/components/freertos /Users/yuyuan/esp/esp-idf/components/heap /Users/yuyuan/esp/esp-idf/components/idf_test /Users/yuyuan/esp/esp-idf/components/jsmn /Users/yuyuan/esp/esp-idf/components/json /Users/yuyuan/esp/esp-idf/components/libsodium /Users/yuyuan/esp/esp-idf/components/log /Users/yuyuan/esp/esp-idf/components/lwip /Users/yuyuan/esp/hello_world/main /Users/yuyuan/esp/esp-idf/components/mbedtls /Users/yuyuan/esp/esp-idf/components/mdns /Users/yuyuan/esp/esp-idf/components/mqtt /Users/yuyuan/esp/esp-idf/components/newlib /Users/yuyuan/esp/esp-idf/components/nghttp /Users/yuyuan/esp/esp-idf/components/nvs_flash /Users/yuyuan/esp/esp-idf/components/openssl /Users/yuyuan/esp/esp-idf/components/partition_table /Users/yuyuan/esp/esp-idf/components/perfmon /Users/yuyuan/esp/esp-idf/components/protobuf-c /Users/yuyuan/esp/esp-idf/components/protocomm /Users/yuyuan/esp/esp-idf/components/pthread /Users/yuyuan/esp/esp-idf/components/sdmmc /Users/yuyuan/esp/esp-idf/components/soc /Users/yuyuan/esp/esp-idf/components/spi_flash /Users/yuyuan/esp/esp-idf/components/spiffs /Users/yuyuan/esp/esp-idf/components/tcp_transport /Users/yuyuan/esp/esp-idf/components/tcpip_adapter /Users/yuyuan/esp/esp-idf/components/ulp /Users/yuyuan/esp/esp-idf/components/unity /Users/yuyuan/esp/esp-idf/components/vfs /Users/yuyuan/esp/esp-idf/components/wear_levelling /Users/yuyuan/esp/esp-idf/components/wifi_provisioning /Users/yuyuan/esp/esp-idf/components/wpa_supplicant /Users/yuyuan/esp/esp-idf/components/xtensa -- Configuring done -- Generating done -- Build files have been written to: /Users/yuyuan/esp/hello_world/build ninja: error: '../secure_boot_signing_key.pem', needed by 'signature_verification_key.bin', missing and no known rule to make it ninja failed with exit code 1 (base) yu:hello_world yuyuan$ idf.py menuconfig Executing action: menuconfig Running ninja in directory /Users/yuyuan/esp/hello_world/build Executing "ninja menuconfig"... [0/1] cd /Users/yuyuan/esp/hello_world...Users/yuyuan/esp/hello_world/sdkconfig TERM environment variable is set to "xterm-256color" Loaded configuration '/Users/yuyuan/esp/hello_world/sdkconfig' No changes to save (for '/Users/yuyuan/esp/hello_world/sdkconfig') (base) yu:hello_world yuyuan$ idf.py build Executing action: all (aliases: build) Running ninja in directory /Users/yuyuan/esp/hello_world/build Executing "ninja all"... [0/1] Re-running CMake... -- Unexpected file in components directory: /Users/yuyuan/esp/esp-idf/components/.DS_Store -- Project is not inside a git repository, or git repository has no commits; will not use 'git describe' to determine PROJECT_VER. -- Project version: 1 -- Building ESP-IDF components for target esp32 CMake Deprecation Warning at /Users/yuyuan/esp/esp-idf/components/mbedtls/mbedtls/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- Adding linker script /Users/yuyuan/esp/hello_world/build/esp-idf/esp32/esp32_out.ld -- Adding linker script /Users/yuyuan/esp/esp-idf/components/esp32/ld/esp32.project.ld.in -- Adding linker script /Users/yuyuan/esp/esp-idf/components/esp32/ld/esp32.peripherals.ld -- Adding linker script /Users/yuyuan/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-time.ld -- Adding linker script /Users/yuyuan/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.ld -- Adding linker script /Users/yuyuan/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld -- Adding linker script /Users/yuyuan/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-data.ld -- Adding linker script /Users/yuyuan/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.syscalls.ld -- Adding linker script /Users/yuyuan/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.ld -- Components: app_trace app_update asio bootloader bootloader_support bt cbor coap console cxx driver efuse esp-tls esp32 esp_adc_cal esp_common esp_eth esp_event esp_gdbstub esp_http_client esp_http_server esp_https_ota esp_https_server esp_local_ctrl esp_netif esp_ringbuf esp_rom esp_serial_slave_link esp_websocket_client esp_wifi espcoredump esptool_py expat fatfs freemodbus freertos heap idf_test jsmn json libsodium log lwip main mbedtls mdns mqtt newlib nghttp nvs_flash openssl partition_table perfmon protobuf-c protocomm pthread sdmmc soc spi_flash spiffs tcp_transport tcpip_adapter ulp unity vfs wear_levelling wifi_provisioning wpa_supplicant xtensa -- Component paths: /Users/yuyuan/esp/esp-idf/components/app_trace /Users/yuyuan/esp/esp-idf/components/app_update /Users/yuyuan/esp/esp-idf/components/asio /Users/yuyuan/esp/esp-idf/components/bootloader /Users/yuyuan/esp/esp-idf/components/bootloader_support /Users/yuyuan/esp/esp-idf/components/bt /Users/yuyuan/esp/esp-idf/components/cbor /Users/yuyuan/esp/esp-idf/components/coap /Users/yuyuan/esp/esp-idf/components/console /Users/yuyuan/esp/esp-idf/components/cxx /Users/yuyuan/esp/esp-idf/components/driver /Users/yuyuan/esp/esp-idf/components/efuse /Users/yuyuan/esp/esp-idf/components/esp-tls /Users/yuyuan/esp/esp-idf/components/esp32 /Users/yuyuan/esp/esp-idf/components/esp_adc_cal /Users/yuyuan/esp/esp-idf/components/esp_common /Users/yuyuan/esp/esp-idf/components/esp_eth /Users/yuyuan/esp/esp-idf/components/esp_event /Users/yuyuan/esp/esp-idf/components/esp_gdbstub /Users/yuyuan/esp/esp-idf/components/esp_http_client /Users/yuyuan/esp/esp-idf/components/esp_http_server /Users/yuyuan/esp/esp-idf/components/esp_https_ota /Users/yuyuan/esp/esp-idf/components/esp_https_server /Users/yuyuan/esp/esp-idf/components/esp_local_ctrl /Users/yuyuan/esp/esp-idf/components/esp_netif /Users/yuyuan/esp/esp-idf/components/esp_ringbuf /Users/yuyuan/esp/esp-idf/components/esp_rom /Users/yuyuan/esp/esp-idf/components/esp_serial_slave_link /Users/yuyuan/esp/esp-idf/components/esp_websocket_client /Users/yuyuan/esp/esp-idf/components/esp_wifi /Users/yuyuan/esp/esp-idf/components/espcoredump /Users/yuyuan/esp/esp-idf/components/esptool_py /Users/yuyuan/esp/esp-idf/components/expat /Users/yuyuan/esp/esp-idf/components/fatfs /Users/yuyuan/esp/esp-idf/components/freemodbus /Users/yuyuan/esp/esp-idf/components/freertos /Users/yuyuan/esp/esp-idf/components/heap /Users/yuyuan/esp/esp-idf/components/idf_test /Users/yuyuan/esp/esp-idf/components/jsmn /Users/yuyuan/esp/esp-idf/components/json /Users/yuyuan/esp/esp-idf/components/libsodium /Users/yuyuan/esp/esp-idf/components/log /Users/yuyuan/esp/esp-idf/components/lwip /Users/yuyuan/esp/hello_world/main /Users/yuyuan/esp/esp-idf/components/mbedtls /Users/yuyuan/esp/esp-idf/components/mdns /Users/yuyuan/esp/esp-idf/components/mqtt /Users/yuyuan/esp/esp-idf/components/newlib /Users/yuyuan/esp/esp-idf/components/nghttp /Users/yuyuan/esp/esp-idf/components/nvs_flash /Users/yuyuan/esp/esp-idf/components/openssl /Users/yuyuan/esp/esp-idf/components/partition_table /Users/yuyuan/esp/esp-idf/components/perfmon /Users/yuyuan/esp/esp-idf/components/protobuf-c /Users/yuyuan/esp/esp-idf/components/protocomm /Users/yuyuan/esp/esp-idf/components/pthread /Users/yuyuan/esp/esp-idf/components/sdmmc /Users/yuyuan/esp/esp-idf/components/soc /Users/yuyuan/esp/esp-idf/components/spi_flash /Users/yuyuan/esp/esp-idf/components/spiffs /Users/yuyuan/esp/esp-idf/components/tcp_transport /Users/yuyuan/esp/esp-idf/components/tcpip_adapter /Users/yuyuan/esp/esp-idf/components/ulp /Users/yuyuan/esp/esp-idf/components/unity /Users/yuyuan/esp/esp-idf/components/vfs /Users/yuyuan/esp/esp-idf/components/wear_levelling /Users/yuyuan/esp/esp-idf/components/wifi_provisioning /Users/yuyuan/esp/esp-idf/components/wpa_supplicant /Users/yuyuan/esp/esp-idf/components/xtensa -- Configuring done -- Generating done -- Build files have been written to: /Users/yuyuan/esp/hello_world/build ninja: error: '../secure_boot_signing_key.pem', needed by 'signature_verification_key.bin', missing and no known rule to make it ninja failed with exit code 1 请问如何解决呢? |
|
相关推荐
1个回答
|
|
根据您提供的错误信息,这个问题可能是由于以下几个原因导致的:
1. 存在不期望的文件:错误信息中提到了 "Unexpected file in components directory: /Users/yuyuan/esp/esp-idf/components/.DS_Store"。这表示在组件目录中有一个名为 ".DS_Store" 的文件,这可能是导致问题的原因。您可以尝试删除这个文件,然后重新运行 `idf.py build`。 2. 项目不在 Git 仓库中或没有提交:错误信息中提到 "Project is not inside a git repository, or git repository has no commits; will not use 'git describe' to determine"。这表示您的项目可能没有正确地使用 Git 版本控制。您可以尝试初始化一个 Git 仓库并提交您的项目,或者确保您的项目位于一个已初始化的 Git 仓库中。 为了解决这个问题,您可以尝试以下步骤: 1. 删除不期望的文件:打开终端,执行以下命令以删除 ".DS_Store" 文件: ``` rm -f /Users/yuyuan/esp/esp-idf/components/.DS_Store ``` 2. 确保项目在 Git 仓库中:如果您的项目还没有使用 Git 版本控制,您可以在项目根目录下执行以下命令来初始化一个 Git 仓库并提交您的项目: ``` cd /path/to/your/project git init git add . git commit -m "Initial commit" ``` 3. 重新运行 `idf.py build`:在完成上述步骤后,再次运行以下命令来构建您的项目: ``` idf.py build ``` 希望这些步骤能帮助您解决问题。如果问题仍然存在,请提供更多的错误信息,以便我们能够更好地帮助您。 |
|
|
|
只有小组成员才能发言,加入小组>>
598 浏览 1 评论
552浏览 6评论
461浏览 5评论
有没有办法在不使用混杂模式的情况下实现Wifi驱动程序接收缓冲区访问中断呢?
443浏览 5评论
445浏览 4评论
415浏览 4评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-24 06:14 , Processed in 0.831782 second(s), Total 77, Slave 61 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号