[1/1] idf (5.3.0)
CMake Error at C:/Users/wilson/esp/v5.3/esp-idf/tools/cmake/build.cmake:268 (message):
Failed to resolve component ‘esp_adc_cal’.
Call Stack (most recent call first):
C:/Users/wilson/esp/v5.3/esp-idf/tools/cmake/build.cmake:304 (__build_resolve_and_add_req)
C:/Users/wilson/esp/v5.3/esp-idf/tools/cmake/build.cmake:305 (__build_expand_requirements)
C:/Users/wilson/esp/v5.3/esp-idf/tools/cmake/build.cmake:607 (__build_expand_requirements)
C:/Users/wilson/esp/v5.3/esp-idf/tools/cmake/project.cmake:710 (idf_build_process)
CMakeLists.txt:67 (project)
– Configuring incomplete, errors occurred!
See also “C:/lvgl/lv_micropython/ports/esp32/build-GENERIC/CMakeFiles/CMakeOutput.log”.
with
gcc version 13.2.0 (GCC)
GNU Make 4.4.1
Built for x86_64-w64-mingw32
i try to find the miss component,but there were nothing
Download the esp_idf version 4.4.8, not 5 and try again
1 Like
[1180/1748] Generating …/…/genhdr/qstr.i.last
FAILED: genhdr/qstr.i.last C:/lvgl/lv_micropython/ports/esp32/build/genhdr/qstr.i.last
esp-idf\main\CMakeFiles\qstr.i.last-417609e.bat 9b7ff8dc13cf37d9
系统无法执行指定的程序。
Batch file failed at line 3 with errorcode 1
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
it get work but i got another error,could you help?
I always use linux… it seems like it is more tested than windows.
ok, i will try to use linux to build
[1396/1748] Building C object esp-idf/main/CMakeFiles/idf_main.dir//network_common.c.obj
FAILED: esp-idf/main/CMakeFiles/idf_main.dir//network_common.c.obj
/root/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc -DFFCONF_H="/home/sam/lvgl/lv_micropython/lib/oofatfs/ffconf.h" -DHAVE_CONFIG_H -DLFS1_NO_ASSERT -DLFS1_NO_DEBUG -DLFS1_NO_ERROR -DLFS1_NO_MALLOC -DLFS1_NO_WARN -DLFS2_NO_ASSERT -DLFS2_NO_DEBUG -DLFS2_NO_ERROR -DLFS2_NO_MALLOC -DLFS2_NO_WARN -DLV_KCONFIG_IGNORE -DMBEDTLS_CONFIG_FILE="mbedtls/esp_config.h" -DMICROPY_ESP_IDF_4=1 -DMICROPY_MODULE_FROZEN_MPY=“(1)” -DMICROPY_PY_BTREE=1 -DMICROPY_QSTR_EXTRA_POOL=mp_qstr_frozen_const_pool -DMICROPY_VFS_FAT=1 -DMICROPY_VFS_LFS2=1 -D__DBINTERFACE_PRIVATE=1 -Dvirt_fd_t=“void*” -I/home/sam/lvgl/lv_micropython/ports/esp32/build-GENERIC/config -I/home/sam/lvgl/lv_micropython -I/home/sam/lvgl/lv_micropython/lib/berkeley-db-1.xx/PORT/include -I/home/sam/lvgl/lv_micropython/ports/esp32 -I/home/sam/lvgl/lv_micropython/ports/esp32/boards/GENERIC -I/home/sam/lvgl/lv_micropython/ports/esp32/build-GENERIC -I/home/sam/lvgl/lv_micropython/lib/lv_bindings -I/root/esp/esp-idf/components/bt/host/nimble/nimble -I/root/esp/esp-idf/components/newlib/platform_include -I/root/esp/esp-idf/components/freertos/include -I/root/esp/esp-idf/components/freertos/include/esp_additions/freertos -I/root/esp/esp-idf/components/freertos/port/xtensa/include -I/root/esp/esp-idf/components/freertos/include/esp_additions -I/root/esp/esp-idf/components/esp_hw_support/include -I/root/esp/esp-idf/components/esp_hw_support/include/soc -I/root/esp/esp-idf/components/esp_hw_support/include/soc/esp32 -I/root/esp/esp-idf/components/esp_hw_support/port/esp32/. -I/root/esp/esp-idf/components/esp_hw_support/port/esp32/private_include -I/root/esp/esp-idf/components/heap/include -I/root/esp/esp-idf/components/log/include -I/root/esp/esp-idf/components/lwip/include/apps -I/root/esp/esp-idf/components/lwip/include/apps/sntp -I/root/esp/esp-idf/components/lwip/lwip/src/include -I/root/esp/esp-idf/components/lwip/port/esp32/include -I/root/esp/esp-idf/components/lwip/port/esp32/include/arch -I/root/esp/esp-idf/components/soc/include -I/root/esp/esp-idf/components/soc/esp32/. -I/root/esp/esp-idf/components/soc/esp32/include -I/root/esp/esp-idf/components/hal/esp32/include -I/root/esp/esp-idf/components/hal/include -I/root/esp/esp-idf/components/hal/platform_port/include -I/root/esp/esp-idf/components/esp_rom/include -I/root/esp/esp-idf/components/esp_rom/include/esp32 -I/root/esp/esp-idf/components/esp_rom/esp32 -I/root/esp/esp-idf/components/esp_common/include -I/root/esp/esp-idf/components/esp_system/include -I/root/esp/esp-idf/components/esp_system/port/soc -I/root/esp/esp-idf/components/esp_system/port/public_compat -I/root/esp/esp-idf/components/esp32/include -I/root/esp/esp-idf/components/xtensa/include -I/root/esp/esp-idf/components/xtensa/esp32/include -I/root/esp/esp-idf/components/driver/include -I/root/esp/esp-idf/components/driver/esp32/include -I/root/esp/esp-idf/components/esp_pm/include -I/root/esp/esp-idf/components/esp_ringbuf/include -I/root/esp/esp-idf/components/efuse/include -I/root/esp/esp-idf/components/efuse/esp32/include -I/root/esp/esp-idf/components/vfs/include -I/root/esp/esp-idf/components/esp_wifi/include -I/root/esp/esp-idf/components/esp_event/include -I/root/esp/esp-idf/components/esp_netif/include -I/root/esp/esp-idf/components/esp_eth/include -I/root/esp/esp-idf/components/tcpip_adapter/include -I/root/esp/esp-idf/components/esp_phy/include -I/root/esp/esp-idf/components/esp_phy/esp32/include -I/root/esp/esp-idf/components/esp_ipc/include -I/root/esp/esp-idf/components/app_trace/include -I/root/esp/esp-idf/components/esp_timer/include -I/root/esp/esp-idf/components/app_update/include -I/root/esp/esp-idf/components/spi_flash/include -I/root/esp/esp-idf/components/bootloader_support/include -I/root/esp/esp-idf/components/bt/common/osi/include -I/root/esp/esp-idf/components/bt/include/esp32/include -I/root/esp/esp-idf/components/bt/common/api/include/api -I/root/esp/esp-idf/components/bt/common/btc/profile/esp/blufi/include -I/root/esp/esp-idf/components/bt/common/btc/profile/esp/include -I/root/esp/esp-idf/components/bt/common/hci_log/include -I/root/esp/esp-idf/components/bt/host/nimble/nimble/porting/nimble/include -I/root/esp/esp-idf/components/bt/host/nimble/port/include -I/root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/include -I/root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/include -I/root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/ans/include -I/root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/bas/include -I/root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/dis/include -I/root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/gap/include -I/root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/gatt/include -I/root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/ias/include -I/root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/ipss/include -I/root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/lls/include -I/root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/tps/include -I/root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/util/include -I/root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/store/ram/include -I/root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/store/config/include -I/root/esp/esp-idf/components/bt/host/nimble/nimble/porting/npl/freertos/include -I/root/esp/esp-idf/components/bt/host/nimble/esp-hci/include -I/root/esp/esp-idf/components/nvs_flash/include -I/root/esp/esp-idf/components/mbedtls/port/include -I/root/esp/esp-idf/components/mbedtls/mbedtls/include -I/root/esp/esp-idf/components/mbedtls/mbedtls/3rdparty/everest/include -I/root/esp/esp-idf/components/esp_adc_cal/include -I/root/esp/esp-idf/components/mdns/include -I/root/esp/esp-idf/components/console -I/root/esp/esp-idf/components/sdmmc/include -I/root/esp/esp-idf/components/ulp/include -I/root/esp/esp-idf/components/esp_http_client/include -I/root/esp/esp-idf/components/nghttp/port/include -I/root/esp/esp-idf/components/nghttp/nghttp2/lib/includes -I/root/esp/esp-idf/components/esp-tls -I/root/esp/esp-idf/components/esp-tls/esp-tls-crypto -mlongcalls -Wno-frame-address -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -ggdb -Os -freorder-blocks -fmacro-prefix-map=/home/sam/lvgl/lv_micropython/ports/esp32=. -fmacro-prefix-map=/root/esp/esp-idf=IDF -fstrict-volatile-bitfields -Wno-error=unused-but-set-variable -fno-jump-tables -fno-tree-switch-conversion -std=gnu99 -Wno-old-style-declaration -D_GNU_SOURCE -DIDF_VER="v4.4.8" -DLV_KCONFIG_IGNORE -DESP_PLATFORM -DNDEBUG -D_POSIX_READER_WRITER_LOCKS -Wno-clobbered -Wno-deprecated-declarations -Wno-missing-field-initializers -MD -MT esp-idf/main/CMakeFiles/idf_main.dir//network_common.c.obj -MF esp-idf/main/CMakeFiles/idf_main.dir//network_common.c.obj.d -o esp-idf/main/CMakeFiles/idf_main.dir//network_common.c.obj -c /home/sam/lvgl/lv_micropython/ports/esp32/network_common.c
/home/sam/lvgl/lv_micropython/ports/esp32/network_common.c:220:1: error: static assertion failed: “Synchronize WIFI_AUTH_XXX constants with the ESP-IDF. Look at esp-idf/components/esp_wifi/include/esp_wifi_types.h”
_Static_assert(WIFI_AUTH_MAX == TEST_WIFI_AUTH_MAX, “Synchronize WIFI_AUTH_XXX constants with the ESP-IDF. Look at esp-idf/components/esp_wifi/include/esp_wifi_types.h”);
^~~~~~~~~~~~~~
i got this error,i am built on idf 4.4.8 and ubuntu 22.04 lts for arm
Error in the esp-idf build code:
Change the indicated line value to 11 or 13