完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
使用VScode,按照官方教程安装idf插件,编译时报错,麻烦了,如下:
> Executing task in folder hello_world: cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 .. < -- Found Git: C:/Users/Administrator/.espressif/tools/idf-git/2.30.1/cmd/git.exe (found version "2.30.1.windows.1") -- 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:/Users/Administrator/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe -- Check for working C compiler: C:/Users/Administrator/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe -- Check for working C compiler: C:/Users/Administrator/.espressif/tools/xtensa-esp32-elf/esp-2021r1-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:/Users/Administrator/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe -- Check for working CXX compiler: C:/Users/Administrator/.espressif/tools/xtensa-esp32-elf/esp-2021r1-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 -- Project is not inside a git repository, or git repository has no commits; will not use 'git describe' to determine PROJECT_VER. -- Building ESP-IDF components for target esp32 -- Project sdkconfig file E:/ESP32/ESP32-IDF/hello_world/sdkconfig -- Found PythonInterp: C:/Users/Administrator/.espressif/python_env/idf4.3_py3.8_env/Scripts/python.exe (found version "3.8.7") -- Could NOT find Perl (missing: PERL_EXECUTABLE) -- App "hello-world" version: 1 -- Adding linker script C:/Users/Administrator/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.ld -- Adding linker script C:/Users/Administrator/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.api.ld -- Adding linker script C:/Users/Administrator/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld -- Adding linker script C:/Users/Administrator/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-data.ld -- Adding linker script C:/Users/Administrator/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.syscalls.ld -- Adding linker script C:/Users/Administrator/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.ld -- Adding linker script C:/Users/Administrator/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-time.ld -- Adding linker script E:/ESP32/ESP32-IDF/hello_world/build/esp-idf/esp32/esp32_out.ld -- Adding linker script C:/Users/Administrator/esp/esp-idf/components/esp32/ld/esp32.project.ld.in -- Adding linker script C:/Users/Administrator/esp/esp-idf/components/esp32/ld/esp32.peripherals.ld -- Components: app_trace app_update asio bootloader bootloader_support bt cbor cmock coap console cxx driver efuse esp-tls esp32 esp_adc_cal 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_ipc esp_local_ctrl esp_netif esp_pm esp_ringbuf esp_rom esp_serial_slave_link esp_system esp_timer esp_websocket_client esp_wifi espcoredump esptool_py expat fatfs freemodbus freertos hal 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 tinyusb ulp unity vfs wear_levelling wifi_provisioning wpa_supplicant xtensa -- Component paths: C:/Users/Administrator/esp/esp-idf/components/app_trace C:/Users/Administrator/esp/esp-idf/components/app_update C:/Users/Administrator/esp/esp-idf/components/asio C:/Users/Administrator/esp/esp-idf/components/bootloader C:/Users/Administrator/esp/esp-idf/components/bootloader_support C:/Users/Administrator/esp/esp-idf/components/bt C:/Users/Administrator/esp/esp-idf/components/cbor C:/Users/Administrator/esp/esp-idf/components/cmock C:/Users/Administrator/esp/esp-idf/components/coap C:/Users/Administrator/esp/esp-idf/components/console C:/Users/Administrator/esp/esp-idf/components/cxx C:/Users/Administrator/esp/esp-idf/components/driver C:/Users/Administrator/esp/esp-idf/components/efuse C:/Users/Administrator/esp/esp-idf/components/esp-tls C:/Users/Administrator/esp/esp-idf/components/esp32 C:/Users/Administrator/esp/esp-idf/components/esp_adc_cal C:/Users/Administrator/esp/esp-idf/components/esp_common C:/Users/Administrator/esp/esp-idf/components/esp_eth C:/Users/Administrator/esp/esp-idf/components/esp_event C:/Users/Administrator/esp/esp-idf/components/esp_gdbstub C:/Users/Administrator/esp/esp-idf/components/esp_hid C:/Users/Administrator/esp/esp-idf/components/esp_http_client C:/Users/Administrator/esp/esp-idf/components/esp_http_server C:/Users/Administrator/esp/esp-idf/components/esp_https_ota C:/Users/Administrator/esp/esp-idf/components/esp_https_server C:/Users/Administrator/esp/esp-idf/components/esp_hw_support C:/Users/Administrator/esp/esp-idf/components/esp_ipc C:/Users/Administrator/esp/esp-idf/components/esp_local_ctrl C:/Users/Administrator/esp/esp-idf/components/esp_netif C:/Users/Administrator/esp/esp-idf/components/esp_pm C:/Users/Administrator/esp/esp-idf/components/esp_ringbuf C:/Users/Administrator/esp/esp-idf/components/esp_rom C:/Users/Administrator/esp/esp-idf/components/esp_serial_slave_link C:/Users/Administrator/esp/esp-idf/components/esp_system C:/Users/Administrator/esp/esp-idf/components/esp_timer C:/Users/Administrator/esp/esp-idf/components/esp_websocket_client C:/Users/Administrator/esp/esp-idf/components/esp_wifi C:/Users/Administrator/esp/esp-idf/components/espcoredump C:/Users/Administrator/esp/esp-idf/components/esptool_py C:/Users/Administrator/esp/esp-idf/components/expat C:/Users/Administrator/esp/esp-idf/components/fatfs C:/Users/Administrator/esp/esp-idf/components/freemodbus C:/Users/Administrator/esp/esp-idf/components/freertos C:/Users/Administrator/esp/esp-idf/components/hal C:/Users/Administrator/esp/esp-idf/components/heap C:/Users/Administrator/esp/esp-idf/components/idf_test C:/Users/Administrator/esp/esp-idf/components/jsmn C:/Users/Administrator/esp/esp-idf/components/json C:/Users/Administrator/esp/esp-idf/components/libsodium C:/Users/Administrator/esp/esp-idf/components/log C:/Users/Administrator/esp/esp-idf/components/lwip E:/ESP32/ESP32-IDF/hello_world/main C:/Users/Administrator/esp/esp-idf/components/mbedtls C:/Users/Administrator/esp/esp-idf/components/mdns C:/Users/Administrator/esp/esp-idf/components/mqtt C:/Users/Administrator/esp/esp-idf/components/newlib C:/Users/Administrator/esp/esp-idf/components/nghttp C:/Users/Administrator/esp/esp-idf/components/nvs_flash C:/Users/Administrator/esp/esp-idf/components/openssl C:/Users/Administrator/esp/esp-idf/components/partition_table C:/Users/Administrator/esp/esp-idf/components/perfmon C:/Users/Administrator/esp/esp-idf/components/protobuf-c C:/Users/Administrator/esp/esp-idf/components/protocomm C:/Users/Administrator/esp/esp-idf/components/pthread C:/Users/Administrator/esp/esp-idf/components/sdmmc C:/Users/Administrator/esp/esp-idf/components/soc C:/Users/Administrator/esp/esp-idf/components/spi_flash C:/Users/Administrator/esp/esp-idf/components/spiffs C:/Users/Administrator/esp/esp-idf/components/tcp_transport C:/Users/Administrator/esp/esp-idf/components/tcpip_adapter C:/Users/Administrator/esp/esp-idf/components/tinyusb C:/Users/Administrator/esp/esp-idf/components/ulp C:/Users/Administrator/esp/esp-idf/components/unity C:/Users/Administrator/esp/esp-idf/components/vfs C:/Users/Administrator/esp/esp-idf/components/wear_levelling C:/Users/Administrator/esp/esp-idf/components/wifi_provisioning C:/Users/Administrator/esp/esp-idf/components/wpa_supplicant C:/Users/Administrator/esp/esp-idf/components/xtensa -- Configuring done -- Generating done -- Build files have been written to: E:/ESP32/ESP32-IDF/hello_world/build 终端将被任务重用,按任意键关闭。 > Executing task in folder hello_world: cmake --build . < [10/966] Generating ../../partition_table/partition-table.bin Partition table binary generated. Contents: ******************************************************************************* # ESP-IDF Partition Table # Name, Type, SubType, Offset, Size, Flags nvs,data,nvs,0x9000,24K, phy_init,data,phy,0xf000,4K, factory,app,factory,0x10000,1M, ******************************************************************************* [537/966] Performing configure step for 'bootloader' -- Found Git: C:/Users/Administrator/.espressif/tools/idf-git/2.30.1/cmd/git.exe (found version "2.30.1.windows.1") -- 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:/Users/Administrator/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe -- Check for working C compiler: C:/Users/Administrator/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe -- Check for working C compiler: C:/Users/Administrator/.espressif/tools/xtensa-esp32-elf/esp-2021r1-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:/Users/Administrator/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe -- Check for working CXX compiler: C:/Users/Administrator/.espressif/tools/xtensa-esp32-elf/esp-2021r1-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 -- Project sdkconfig file E:/ESP32/ESP32-IDF/hello_world/sdkconfig -- Adding linker script C:/Users/Administrator/esp/esp-idf/components/esp32/ld/esp32.peripherals.ld -- Adding linker script C:/Users/Administrator/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.ld -- Adding linker script C:/Users/Administrator/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.api.ld -- Adding linker script C:/Users/Administrator/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld -- Adding linker script C:/Users/Administrator/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.ld -- Adding linker script C:/Users/Administrator/esp/esp-idf/components/bootloader/subproject/main/ld/esp32/bootloader.ld -- Adding linker script C:/Users/Administrator/esp/esp-idf/components/bootloader/subproject/main/ld/esp32/bootloader.rom.ld -- Components: bootloader bootloader_support efuse esp32 esp_common esp_hw_support esp_rom esp_system esptool_py hal log main micro-ecc newlib partition_table soc spi_flash xtensa -- Component paths: C:/Users/Administrator/esp/esp-idf/components/bootloader C:/Users/Administrator/esp/esp-idf/components/bootloader_support C:/Users/Administrator/esp/esp-idf/components/efuse C:/Users/Administrator/esp/esp-idf/components/esp32 C:/Users/Administrator/esp/esp-idf/components/esp_common C:/Users/Administrator/esp/esp-idf/components/esp_hw_support C:/Users/Administrator/esp/esp-idf/components/esp_rom C:/Users/Administrator/esp/esp-idf/components/esp_system C:/Users/Administrator/esp/esp-idf/components/esptool_py C:/Users/Administrator/esp/esp-idf/components/hal C:/Users/Administrator/esp/esp-idf/components/log C:/Users/Administrator/esp/esp-idf/components/bootloader/subproject/main C:/Users/Administrator/esp/esp-idf/components/bootloader/subproject/components/micro-ecc C:/Users/Administrator/esp/esp-idf/components/newlib C:/Users/Administrator/esp/esp-idf/components/partition_table C:/Users/Administrator/esp/esp-idf/components/soc C:/Users/Administrator/esp/esp-idf/components/spi_flash C:/Users/Administrator/esp/esp-idf/components/xtensa -- Configuring done -- Generating done -- Build files have been written to: E:/ESP32/ESP32-IDF/hello_world/build/bootloader [629/966] Performing build step for 'bootloader' [1/86] Generating project_elf_src_esp32.c [2/86] Building C object esp-idf/hal/CMakeFiles/__idf_hal.dir/mpu_hal.c.obj [3/86] Building C object esp-idf/hal/CMakeFiles/__idf_hal.dir/wdt_hal_iram.c.obj [4/86] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/memory_layout_utils.c.obj [5/86] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/soc_include_legacy_warn.c.obj [6/86] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/lldesc.c.obj [7/86] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/gpio_periph.c.obj [8/86] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/dac_periph.c.obj [9/86] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/adc_periph.c.obj [10/86] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/i2c_periph.c.obj [11/86] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/interrupts.c.obj [12/86] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/pcnt_periph.c.obj [13/86] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/ledc_periph.c.obj [14/86] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/rtc_io_periph.c.obj [15/86] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/rmt_periph.c.obj [16/86] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/i2s_periph.c.obj [17/86] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sdmmc_periph.c.obj [18/86] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sigmadelta_periph.c.obj [19/86] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/soc_memory_layout.c.obj [20/86] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sdio_slave_periph.c.obj [21/86] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/spi_periph.c.obj [22/86] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/timer_periph.c.obj [23/86] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/touch_sensor_periph.c.obj [24/86] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/uart_periph.c.obj [25/86] Building C object esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/esp32/spi_flash_rom_patch.c.obj [26/86] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_common.c.obj [27/86] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_common_loader.c.obj [28/86] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_random.c.obj [29/86] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_mem.c.obj [30/86] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_clock_init.c.obj [31/86] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_flash.c.obj [32/86] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_random_esp32.c.obj [33/86] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp_image_format.c.obj [34/86] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_encrypt.c.obj [35/86] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_partitions.c.obj [36/86] Building C object esp-idf/micro-ecc/CMakeFiles/__idf_micro-ecc.dir/uECC_verify_antifault.c.obj [37/86] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_qio_mode.c.obj [38/86] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/secure_boot.c.obj [39/86] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_efuse_esp32.c.obj [40/86] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_console.c.obj [41/86] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_utility.c.obj [42/86] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_panic.c.obj [43/86] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_flash_config_esp32.c.obj [44/86] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_console_loader.c.obj [45/86] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_clock_loader.c.obj [46/86] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_init.c.obj [47/86] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/flash_encrypt.c.obj [48/86] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/bootloader_sha.c.obj [49/86] Building C object CMakeFiles/bootloader.elf.dir/project_elf_src_esp32.c.obj [50/86] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_api.c.obj [51/86] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_fields.c.obj [52/86] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/bootloader_esp32.c.obj [53/86] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32/esp_efuse_table.c.obj [54/86] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/compare_set.c.obj [55/86] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp32/esp_efuse_api.c.obj [56/86] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp32/esp_efuse_fields.c.obj [57/86] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_pm.c.obj [58/86] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_utility.c.obj [59/86] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/cpu_util.c.obj [60/86] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp32/esp_efuse_utility.c.obj [61/86] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_init.c.obj [62/86] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_clk_init.c.obj [63/86] Building C object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_uart.c.obj [64/86] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_wdt.c.obj [65/86] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_time.c.obj [66/86] Building C object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_crc.c.obj [67/86] Building C object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_sys.c.obj [68/86] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_sleep.c.obj [69/86] Building ASM object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_longjmp.S.obj [70/86] Building C object esp-idf/log/CMakeFiles/__idf_log.dir/log.c.obj [71/86] Building C object esp-idf/log/CMakeFiles/__idf_log.dir/log_buffers.c.obj [72/86] Building C object esp-idf/log/CMakeFiles/__idf_log.dir/log_noos.c.obj [73/86] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/bootloader_start.c.obj [74/86] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_clk.c.obj [75/86] Linking C static library esp-idflogliblog.a [76/86] Linking C static library esp-idfesp_romlibesp_rom.a [77/86] Linking C static library esp-idfesp_hw_supportlibesp_hw_support.a [78/86] Linking C static library esp-idfefuselibefuse.a [79/86] Linking C static library esp-idfbootloader_supportlibbootloader_support.a [80/86] Linking C static library esp-idfspi_flashlibspi_flash.a [81/86] Linking C static library esp-idfmicro-ecclibmicro-ecc.a [82/86] Linking C static library esp-idfsoclibsoc.a [83/86] Linking C static library esp-idfhallibhal.a [84/86] Linking C static library esp-idfmainlibmain.a [85/86] Linking C executable bootloader.elf [86/86] Generating binary image from built executable esptool.py v3.1-dev Merged 1 ELF section Generated E:/ESP32/ESP32-IDF/hello_world/build/bootloader/bootloader.bin [663/966] Generating x509_crt_bundle FAILED: esp-idf/mbedtls/x509_crt_bundle cmd.exe /C "cd /D E:ESP32ESP32-IDFhello_worldbuildesp-idfmbedtls && c:UsersAdministrator.espressifpython_envidf4.3_py3.8_envScriptspython.exe C:/Users/Administrator/esp/esp-idf/components/mbedtls/esp_crt_bundle/gen_crt_bundle.py --input C:/Users/Administrator/esp/esp-idf/components/mbedtls/esp_crt_bundle/cacrt_all.pem -q" gen_crt_bundle.py: Invalid certificate in C:/Users/Administrator/esp/esp-idf/components/mbedtls/esp_crt_bundle/cacrt_all.pem Invalid certificate ninja: build stopped: subcommand failed. 终端进程“C:WindowsSystem32WindowsPowerShellv1.0powershell.exe -Command cmake --build .”已终止,退出代码: 1。 终端将被任务重用,按任意键关闭。 |
|
相关推荐
1个回答
|
|
这个问题可能是由于以下几个原因导致的:
1. 环境变量设置不正确:请确保您的环境变量设置正确,包括Python、Git、CMake等。 2. 缺少依赖库:请检查是否已经安装了所有必要的依赖库,例如Ninja、ESP-IDF等。 3. ESP-IDF版本问题:请确保您使用的ESP-IDF版本与您的硬件平台兼容。 为了解决这个问题,请尝试以下步骤: 1. 检查环境变量:确保您的环境变量中包含了Python、Git、CMake等工具的路径。您可以在命令提示符中运行`echo %PATH%`来查看当前的PATH环境变量。 2. 安装或更新依赖库:确保您已经安装了Ninja、ESP-IDF等必要的依赖库。您可以访问它们的官方网站或使用包管理器(如Chocolatey、Homebrew等)进行安装。 3. 更新ESP-IDF:如果您使用的是较旧版本的ESP-IDF,请尝试更新到最新版本。您可以使用以下命令更新ESP-IDF: ``` git clone -b v4.4 --recursive https://github.com/espressif/esp-idf.git cd esp-idf git submodule update --init --recursive ``` 4. 重新编译项目:在VSCode中,尝试重新编译您的项目。如果问题仍然存在,请查看编译过程中的错误信息,以便找到具体的解决方案。 |
|
|
|
只有小组成员才能发言,加入小组>>
1002 浏览 1 评论
554浏览 6评论
463浏览 5评论
有没有办法在不使用混杂模式的情况下实现Wifi驱动程序接收缓冲区访问中断呢?
447浏览 5评论
448浏览 4评论
422浏览 4评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-30 09:54 , Processed in 0.953608 second(s), Total 75, Slave 63 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号