就只是在menuconfig中打开了OTA的回滚机制而已,保存编译后就出现这个问题,使用idf.py fullclean后再次编译也是一样的问题。
然后我有把OTA的回滚机制关掉后还是有这个问题。
这个问题之前就已经出现过了。当时我只是在menuconfig中把一些功能打开又关闭后保存编译就出现这种问题,当时甚至用git还原也没用,一直有这个问题。后来周末过了两天就自己好了。也不知道为什么……
而且每次报错的文件名还都不一样。但能确定的是报错的这个路径里是没有这个.a文件的。
idf版本:ESP-IDF v4.4-beta1-dirty
D:\ESP32_S3\LVGL_Tabview_Test_S3>idf.py build
Executing action: all (aliases: build)
Running ninja in directory d:\esp32_s3\lvgl_tabview_test_s3\build
Executing "ninja all"...
[2/916] Performing build step for 'bootloader'
[1/1] cmd.exe /C "cd /D D:\ESP32_S3\LVGL_Tabview_Test_S3\build\bootloader\esp-idf\esptool_py && D:\ESP32_S3\.espressif\python_env\idf4.4_py3.7_env\Scripts\python.exe D:/ESP32_S3/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x0 D:/ESP32_S3/LVGL_Tabview_Test_S3/build/bootloader/bootloader.bin"
Bootloader binary size 0x4f40 bytes. 0x30c0 bytes (38%) free.
[10/914] Linking C static library esp-idf\lwip\liblwip.a
FAILED: esp-idf/lwip/liblwip.a
cmd.exe /C "cd . && D:\ESP32_S3\.espressif\tools\cmake\3.20.3\bin\cmake.exe -E rm -f esp-idf\lwip\liblwip.a && D:\ESP32_S3\.espressif\tools\xtensa-esp32s3-elf\esp-2021r2-8.4.0\xtensa-esp32s3-elf\bin\xtensa-esp32s3-elf-ar.exe qc esp-idf\lwip\liblwip.a esp-idf/lwip/CMakeFiles/__idf_lwip.dir/apps/sntp/sntp.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/api/api_lib.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/api/api_msg.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/api/err.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/api/if_api.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/api/netbuf.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/api/netdb.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/api/netifapi.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/api/sockets.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/api/tcpip.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/apps/sntp/sntp.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/apps/netbiosns/netbiosns.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/def.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/dns.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/inet_chksum.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/init.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ip.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/mem.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/memp.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/netif.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/pbuf.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/raw.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/stats.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/sys.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/tcp.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/tcp_in.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/tcp_out.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/timeouts.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/udp.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv4/autoip.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv4/dhcp.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv4/etharp.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv4/icmp.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv4/igmp.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv4/ip4.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv4/ip4_napt.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv4/ip4_addr.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv4/ip4_frag.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv6/dhcp6.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv6/ethip6.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv6/icmp6.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv6/inet6.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv6/ip6.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv6/ip6_addr.c.obj
esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv6/ip6_frag.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv6/mld6.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv6/nd6.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ethernet.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/lowpan6.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/slipif.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/auth.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/ccp.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/chap-md5.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/chap-new.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/chap_ms.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/demand.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/eap.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/ecp.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/eui64.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/fsm.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/ipcp.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/ipv6cp.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/lcp.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/magic.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/mppe.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/multilink.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/ppp.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/pppapi.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/pppcrypt.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/pppoe.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/pppol2tp.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/pppos.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/upap.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/utils.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/vj.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/port/esp32/hooks/tcp_isn_default.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/port/esp32/hooks/lwip_default_hooks.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/port/esp32/debug/lwip_debug.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/port/esp32/freertos/sys_arch.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/port/esp32/netif/dhcp_state.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/port/esp32/netif/wlanif.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/port/esp32/netif/ethernetif.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/port/esp32/vfs_lwip.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/apps/ping/esp_ping.c.obj
esp-idf/lwip/CMakeFiles/__idf_lwip.dir/apps/ping/ping.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/apps/ping/ping_sock.c.obj esp-idf/lwip/CMakeFiles/__idf_lwip.dir/apps/dhcpserver/dhcpserver.c.obj && D:\ESP32_S3\.espressif\tools\xtensa-esp32s3-elf\esp-2021r2-8.4.0\xtensa-esp32s3-elf\bin\xtensa-esp32s3-elf-ranlib.exe esp-idf\lwip\liblwip.a && cd ."
D:\ESP32_S3\.espressif\tools\xtensa-esp32s3-elf\esp-2021r2-8.4.0\xtensa-esp32s3-elf\bin\xtensa-esp32s3-elf-ranlib.exe: unable to rename 'esp-idf\lwip\liblwip.a'; reason: File exists
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
D:\ESP32_S3\LVGL_Tabview_Test_S3>
idf-4.4编译出现“unable to rename‘……’”问题
Re: idf-4.4编译出现“unable to rename‘……’”问题
补充一下今天再次运行的情况。刚刚打开工程idf.py build编译,还是没成功,错误原因一样,无法重命名。
然后…………然后我啥都没做,再次idf.py build编译………………这次又莫名其妙成功了 ?????到底是什么原因啊,昨天也反复编译了好几次都不行,今天编译两次就可以了???玄学
完整的编译过程在下面
Setting IDF_PATH: D:\ESP32_S3\esp-idf
Adding ESP-IDF tools to PATH...
D:\ESP32_S3\.espressif\tools\xtensa-esp32-elf\esp-2021r2-8.4.0\xtensa-esp32-elf\bin
D:\ESP32_S3\.espressif\tools\xtensa-esp32s2-elf\esp-2021r2-8.4.0\xtensa-esp32s2-elf\bin
D:\ESP32_S3\.espressif\tools\xtensa-esp32s3-elf\esp-2021r2-8.4.0\xtensa-esp32s3-elf\bin
D:\ESP32_S3\.espressif\tools\riscv32-esp-elf\esp-2021r2-8.4.0\riscv32-esp-elf\bin
D:\ESP32_S3\.espressif\tools\esp32ulp-elf\2.28.51-esp-20191205\esp32ulp-elf-binutils\bin
D:\ESP32_S3\.espressif\tools\esp32s2ulp-elf\2.28.51-esp-20191205\esp32s2ulp-elf-binutils\bin
D:\ESP32_S3\.espressif\tools\cmake\3.20.3\bin
D:\ESP32_S3\.espressif\tools\openocd-esp32\v0.10.0-esp32-20210902\openocd-esp32\bin
D:\ESP32_S3\.espressif\tools\ninja\1.10.2\
D:\ESP32_S3\.espressif\tools\idf-exe\1.0.2\
D:\ESP32_S3\.espressif\tools\ccache\4.3\ccache-4.3-windows-64
D:\ESP32_S3\.espressif\tools\dfu-util\0.9\dfu-util-0.9-win64
D:\ESP32_S3\.espressif\python_env\idf4.4_py3.7_env\Scripts
D:\ESP32_S3\esp-idf\tools
Checking if Python packages are up to date...
Python requirements from D:\ESP32_S3\esp-idf\requirements.txt are satisfied.
Done! You can now compile ESP-IDF projects.
Go to the project directory and run:
idf.py build
D:\ESP32_S3\LVGL_Tabview_Test_S3>idf.py build
Executing action: all (aliases: build)
Running ninja in directory d:\esp32_s3\lvgl_tabview_test_s3\build
Executing "ninja all"...
[1/892] Performing build step for 'bootloader'
[1/1] cmd.exe /C "cd /D D:\ESP32_S3\LVGL_Tabview_Test_S3\build\bootloader\esp-idf\esptool_py && D:\ESP32_S3\.espressif\python_env\idf4.4_py3.7_env\Scripts\python.exe D:/ESP32_S3/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x0 D:/ESP32_S3/LVGL_Tabview_Test_S3/build/bootloader/bootloader.bin"
Bootloader binary size 0x4f40 bytes. 0x30c0 bytes (38%) free.
[8/890] Linking CXX static library esp-idf\mbedtls\mbedtls\library\libmbedcrypto.a
FAILED: esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a
cmd.exe /C "cd . && D:\ESP32_S3\.espressif\tools\cmake\3.20.3\bin\cmake.exe -E rm -f esp-idf\mbedtls\mbedtls\library\libmbedcrypto.a && D:\ESP32_S3\.espressif\tools\xtensa-esp32s3-elf\esp-2021r2-8.4.0\xtensa-esp32s3-elf\bin\xtensa-esp32s3-elf-ar.exe qc esp-idf\mbedtls\mbedtls\library\libmbedcrypto.a esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/aes.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/aesni.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/arc4.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/aria.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/asn1parse.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/asn1write.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/base64.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/bignum.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/blowfish.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/camellia.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/ccm.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/chacha20.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/chachapoly.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/cipher.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/cipher_wrap.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/cmac.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/ctr_drbg.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/des.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/dhm.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/ecdh.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/ecdsa.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/ecjpake.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/ecp.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/ecp_curves.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/entropy.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/entropy_poll.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/error.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/gcm.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/havege.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/hkdf.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/hmac_drbg.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/md.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/md2.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/md4.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/md5.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/md_wrap.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/memory_buffer_alloc.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/nist_kw.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/oid.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/padlock.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/pem.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/pk.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/pk_wrap.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/pkcs12.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/pkcs5.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/pkparse.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/pkwrite.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/platform.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/platform_util.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/poly1305.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/ripemd160.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/rsa.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/rsa_internal.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/sha1.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/sha256.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/sha512.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/threading.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/timing.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/version.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/version_features.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/xtea.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/__/__/port/sha/dma/esp_sha_gdma_impl.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/__/__/port/crypto_shared_gdma/esp_crypto_shared_gdma.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/__/__/port/aes/dma/esp_aes_gdma_impl.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/__/__/port/esp_hardware.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/__/__/port/esp_mem.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/__/__/port/esp_timing.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/__/__/port/sha/esp_sha.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/__/__/port/aes/esp_aes_xts.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/__/__/port/aes/esp_aes_common.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/__/__/port/aes/dma/esp_aes.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/__/__/port/sha/dma/sha.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/__/__/port/esp_ds/esp_rsa_sign_alt.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/__/__/port/esp_bignum.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/__/__/port/esp32s3/bignum.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/__/__/port/sha/dma/esp_sha1.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/__/__/port/sha/dma/esp_sha256.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/__/__/port/sha/dma/esp_sha512.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/__/__/port/md/esp_md.c.obj && D:\ESP32_S3\.espressif\tools\xtensa-esp32s3-elf\esp-2021r2-8.4.0\xtensa-esp32s3-elf\bin\xtensa-esp32s3-elf-ranlib.exe esp-idf\mbedtls\mbedtls\library\libmbedcrypto.a && cd ."
D:\ESP32_S3\.espressif\tools\xtensa-esp32s3-elf\esp-2021r2-8.4.0\xtensa-esp32s3-elf\bin\xtensa-esp32s3-elf-ranlib.exe: unable to rename 'esp-idf\mbedtls\mbedtls\library\libmbedcrypto.a'; reason: File exists
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
D:\ESP32_S3\LVGL_Tabview_Test_S3>idf.py build
Executing action: all (aliases: build)
Running ninja in directory d:\esp32_s3\lvgl_tabview_test_s3\build
Executing "ninja all"...
[2/886] Performing build step for 'bootloader'
[1/1] cmd.exe /C "cd /D D:\ESP32_S3\LVGL_Tabview_Test_S3\build\bootloader\esp-idf\esptool_py && D:\ESP32_S3\.espressif\python_env\idf4.4_py3.7_env\Scripts\python.exe D:/ESP32_S3/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x0 D:/ESP32_S3/LVGL_Tabview_Test_S3/build/bootloader/bootloader.bin"
Bootloader binary size 0x4f40 bytes. 0x30c0 bytes (38%) free.
[701/884] Building C object esp-idf/lvgl/CMakeFiles/__idf_lvgl.dir/lvgl/src/lv_font/lv_font_montserrat_30.c.obj
../components/lvgl/lvgl/src/lv_font/lv_font_montserrat_30.c:13: warning: "LV_FONT_MONTSERRAT_30" redefined
#define LV_FONT_MONTSERRAT_30 1
In file included from ../components/lvgl/lvgl/src/lv_font/../../src/lv_misc/../lv_conf_internal.h:24,
from ../components/lvgl/lvgl/src/lv_font/../../src/lv_misc/lv_log.h:16,
from ../components/lvgl/lvgl/src/lv_font/../../lvgl.h:26,
from ../components/lvgl/lvgl/src/lv_font/lv_font_montserrat_30.c:1:
d:\esp32_s3\lvgl_tabview_test_s3\components\lvgl\lv_conf.h:503: note: this is the location of the previous definition
#define LV_FONT_MONTSERRAT_30 CONFIG_LVGL_FONT_MONTSERRAT_30
[831/884] Building C object esp-idf/lv_examples/CMakeFiles/__idf_lv_examples.dir/lv_examples/src/lv_demo_stress/lv_demo_stress.c.obj
../components/lv_examples/lv_examples/src/lv_demo_stress/lv_demo_stress.c: In function 'obj_test_task_cb':
../components/lv_examples/lv_examples/src/lv_demo_stress/lv_demo_stress.c:77:30: warning: unused variable 'diff' [-Wunused-variable]
volatile int32_t diff = mem_free_start - mon.free_size;
^~~~
../components/lv_examples/lv_examples/src/lv_demo_stress/lv_demo_stress.c:245:37: warning: cast between incompatible function types from 'void (*)(lv_obj_t *, uint16_t)' {aka 'void (*)(struct _lv_obj_t *, short unsigned int)'} to 'void (*)(void *, lv_anim_value_t)' {aka 'void (*)(void *, short int)'} [-Wcast-function-type]
lv_anim_set_exec_cb(&a, (lv_anim_exec_xcb_t)lv_arc_set_end_angle);
^
../components/lv_examples/lv_examples/src/lv_demo_stress/lv_demo_stress.c:255:37: warning: cast between incompatible function types from 'void (*)(lv_obj_t *, uint16_t)' {aka 'void (*)(struct _lv_obj_t *, short unsigned int)'} to 'void (*)(void *, lv_anim_value_t)' {aka 'void (*)(void *, short int)'} [-Wcast-function-type]
lv_anim_set_exec_cb(&a, (lv_anim_exec_xcb_t)lv_linemeter_set_angle_offset);
^
[844/884] Building C object esp-idf/lv_examples/CMakeFiles/__idf_lv_examples.dir/lv_examples/src/lv_ex_widgets/lv_ex_img/lv_ex_img_3.c.obj
../components/lv_examples/lv_examples/src/lv_ex_widgets/lv_ex_img/lv_ex_img_3.c: In function 'lv_ex_img_3':
../components/lv_examples/lv_examples/src/lv_ex_widgets/lv_ex_img/lv_ex_img_3.c:23:29: warning: cast between incompatible function types from 'void (*)(lv_obj_t *, uint16_t)' {aka 'void (*)(struct _lv_obj_t *, short unsigned int)'} to 'void (*)(void *, lv_anim_value_t)' {aka 'void (*)(void *, short int)'} [-Wcast-function-type]
lv_anim_set_exec_cb(&a, (lv_anim_exec_xcb_t)lv_img_set_zoom);
^
[845/884] Building C object esp-idf/lvgl_tft/CMakeFiles/__idf_lvgl_tft.dir/ili9341.c.obj
../components/lvgl_esp32_drivers/lvgl_tft/ili9341.c: In function 'ILI9341_OpenWindow':
../components/lvgl_esp32_drivers/lvgl_tft/ili9341.c:237:26: warning: passing argument 1 of 'ili9341_send_data' makes pointer from integer without
a cast [-Wint-conversion]
ili9341_send_data ( usX >> 8, 1); /* 鍏堥珮8浣嶏紝鐒跺悗浣?浣?*/
~~~~^~~~
../components/lvgl_esp32_drivers/lvgl_tft/ili9341.c:201:38: note: expected 'void *' but argument is of type 'int'
static void ili9341_send_data(void * data, uint16_t length)
~~~~~~~^~~~
../components/lvgl_esp32_drivers/lvgl_tft/ili9341.c:238:26: warning: passing argument 1 of 'ili9341_send_data' makes pointer from integer without
a cast [-Wint-conversion]
ili9341_send_data ( usX & 0xff, 1); /* 璁剧疆璧峰鐐瑰拰缁撴潫鐐?/
~~~~^~~~~~
../components/lvgl_esp32_drivers/lvgl_tft/ili9341.c:201:38: note: expected 'void *' but argument is of type 'int'
static void ili9341_send_data(void * data, uint16_t length)
~~~~~~~^~~~
../components/lvgl_esp32_drivers/lvgl_tft/ili9341.c:239:44: warning: passing argument 1 of 'ili9341_send_data' makes pointer from integer without
a cast [-Wint-conversion]
ili9341_send_data ( ( usX + usWidth - 1 ) >> 8, 1);
~~~~~~~~~~~~~~~~~~~~~~^~~~
../components/lvgl_esp32_drivers/lvgl_tft/ili9341.c:201:38: note: expected 'void *' but argument is of type 'int'
static void ili9341_send_data(void * data, uint16_t length)
~~~~~~~^~~~
../components/lvgl_esp32_drivers/lvgl_tft/ili9341.c:240:44: warning: passing argument 1 of 'ili9341_send_data' makes pointer from integer without
a cast [-Wint-conversion]
ili9341_send_data ( ( usX + usWidth - 1 ) & 0xff, 1);
~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../components/lvgl_esp32_drivers/lvgl_tft/ili9341.c:201:38: note: expected 'void *' but argument is of type 'int'
static void ili9341_send_data(void * data, uint16_t length)
~~~~~~~^~~~
../components/lvgl_esp32_drivers/lvgl_tft/ili9341.c:243:26: warning: passing argument 1 of 'ili9341_send_data' makes pointer from integer without
a cast [-Wint-conversion]
ili9341_send_data ( usY >> 8, 1);
~~~~^~~~
../components/lvgl_esp32_drivers/lvgl_tft/ili9341.c:201:38: note: expected 'void *' but argument is of type 'int'
static void ili9341_send_data(void * data, uint16_t length)
~~~~~~~^~~~
../components/lvgl_esp32_drivers/lvgl_tft/ili9341.c:244:26: warning: passing argument 1 of 'ili9341_send_data' makes pointer from integer without
a cast [-Wint-conversion]
ili9341_send_data ( usY & 0xff, 1);
~~~~^~~~~~
../components/lvgl_esp32_drivers/lvgl_tft/ili9341.c:201:38: note: expected 'void *' but argument is of type 'int'
static void ili9341_send_data(void * data, uint16_t length)
~~~~~~~^~~~
../components/lvgl_esp32_drivers/lvgl_tft/ili9341.c:245:45: warning: passing argument 1 of 'ili9341_send_data' makes pointer from integer without
a cast [-Wint-conversion]
ili9341_send_data ( ( usY + usHeight - 1 ) >> 8, 1);
~~~~~~~~~~~~~~~~~~~~~~~^~~~
../components/lvgl_esp32_drivers/lvgl_tft/ili9341.c:201:38: note: expected 'void *' but argument is of type 'int'
static void ili9341_send_data(void * data, uint16_t length)
~~~~~~~^~~~
../components/lvgl_esp32_drivers/lvgl_tft/ili9341.c:246:44: warning: passing argument 1 of 'ili9341_send_data' makes pointer from integer without
a cast [-Wint-conversion]
ili9341_send_data ( ( usY + usHeight - 1) & 0xff, 1);
~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../components/lvgl_esp32_drivers/lvgl_tft/ili9341.c:201:38: note: expected 'void *' but argument is of type 'int'
static void ili9341_send_data(void * data, uint16_t length)
~~~~~~~^~~~
../components/lvgl_esp32_drivers/lvgl_tft/ili9341.c: In function 'ILI9341_FillColor':
../components/lvgl_esp32_drivers/lvgl_tft/ili9341.c:257:23: warning: passing argument 1 of 'ili9341_send_data' makes pointer from integer without
a cast [-Wint-conversion]
ili9341_send_data ( usColor, 1);
^~~~~~~
../components/lvgl_esp32_drivers/lvgl_tft/ili9341.c:201:38: note: expected 'void *' but argument is of type 'uint16_t' {aka 'short unsigned int'}
static void ili9341_send_data(void * data, uint16_t length)
~~~~~~~^~~~
At top level:
../components/lvgl_esp32_drivers/lvgl_tft/ili9341.c:20:17: warning: 'CurrentTextColor' defined but not used [-Wunused-variable]
static uint16_t CurrentTextColor = BLACK;//鍓嶆櫙鑹?
^~~~~~~~~~~~~~~~
[883/884] Generating binary image from built executable
esptool.py v3.2-dev
Merged 2 ELF sections
Generated D:/ESP32_S3/LVGL_Tabview_Test_S3/build/lvgl-demo.bin
[884/884] cmd.exe /C "cd /D D:\ESP32_S3\LVGL_Tabview_Test_S3\build\esp-...rtition-table.bin D:/ESP32_S3/LVGL_Tabview_Test_S3/build/lvgl-demo.bin"
lvgl-demo.bin binary size 0x115700 bytes. Smallest app partition is 0x200000 bytes. 0xea900 bytes (46%) free.
Project build complete. To flash, run this command:
D:\ESP32_S3\.espressif\python_env\idf4.4_py3.7_env\Scripts\python.exe ..\esp-idf\components\esptool_py\esptool\esptool.py -p (PORT) -b 460800 --before default_reset --after hard_reset --chip esp32s3 write_flash --flash_mode dio --flash_size detect --flash_freq 80m 0x0 build\bootloader\bootloader.bin 0x8000 build\partition_table\partition-table.bin 0xd000 build\ota_data_initial.bin 0x10000 build\lvgl-demo.bin
or run 'idf.py -p (PORT) flash'
D:\ESP32_S3\LVGL_Tabview_Test_S3>
然后…………然后我啥都没做,再次idf.py build编译………………这次又莫名其妙成功了 ?????到底是什么原因啊,昨天也反复编译了好几次都不行,今天编译两次就可以了???玄学
完整的编译过程在下面
Setting IDF_PATH: D:\ESP32_S3\esp-idf
Adding ESP-IDF tools to PATH...
D:\ESP32_S3\.espressif\tools\xtensa-esp32-elf\esp-2021r2-8.4.0\xtensa-esp32-elf\bin
D:\ESP32_S3\.espressif\tools\xtensa-esp32s2-elf\esp-2021r2-8.4.0\xtensa-esp32s2-elf\bin
D:\ESP32_S3\.espressif\tools\xtensa-esp32s3-elf\esp-2021r2-8.4.0\xtensa-esp32s3-elf\bin
D:\ESP32_S3\.espressif\tools\riscv32-esp-elf\esp-2021r2-8.4.0\riscv32-esp-elf\bin
D:\ESP32_S3\.espressif\tools\esp32ulp-elf\2.28.51-esp-20191205\esp32ulp-elf-binutils\bin
D:\ESP32_S3\.espressif\tools\esp32s2ulp-elf\2.28.51-esp-20191205\esp32s2ulp-elf-binutils\bin
D:\ESP32_S3\.espressif\tools\cmake\3.20.3\bin
D:\ESP32_S3\.espressif\tools\openocd-esp32\v0.10.0-esp32-20210902\openocd-esp32\bin
D:\ESP32_S3\.espressif\tools\ninja\1.10.2\
D:\ESP32_S3\.espressif\tools\idf-exe\1.0.2\
D:\ESP32_S3\.espressif\tools\ccache\4.3\ccache-4.3-windows-64
D:\ESP32_S3\.espressif\tools\dfu-util\0.9\dfu-util-0.9-win64
D:\ESP32_S3\.espressif\python_env\idf4.4_py3.7_env\Scripts
D:\ESP32_S3\esp-idf\tools
Checking if Python packages are up to date...
Python requirements from D:\ESP32_S3\esp-idf\requirements.txt are satisfied.
Done! You can now compile ESP-IDF projects.
Go to the project directory and run:
idf.py build
D:\ESP32_S3\LVGL_Tabview_Test_S3>idf.py build
Executing action: all (aliases: build)
Running ninja in directory d:\esp32_s3\lvgl_tabview_test_s3\build
Executing "ninja all"...
[1/892] Performing build step for 'bootloader'
[1/1] cmd.exe /C "cd /D D:\ESP32_S3\LVGL_Tabview_Test_S3\build\bootloader\esp-idf\esptool_py && D:\ESP32_S3\.espressif\python_env\idf4.4_py3.7_env\Scripts\python.exe D:/ESP32_S3/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x0 D:/ESP32_S3/LVGL_Tabview_Test_S3/build/bootloader/bootloader.bin"
Bootloader binary size 0x4f40 bytes. 0x30c0 bytes (38%) free.
[8/890] Linking CXX static library esp-idf\mbedtls\mbedtls\library\libmbedcrypto.a
FAILED: esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a
cmd.exe /C "cd . && D:\ESP32_S3\.espressif\tools\cmake\3.20.3\bin\cmake.exe -E rm -f esp-idf\mbedtls\mbedtls\library\libmbedcrypto.a && D:\ESP32_S3\.espressif\tools\xtensa-esp32s3-elf\esp-2021r2-8.4.0\xtensa-esp32s3-elf\bin\xtensa-esp32s3-elf-ar.exe qc esp-idf\mbedtls\mbedtls\library\libmbedcrypto.a esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/aes.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/aesni.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/arc4.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/aria.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/asn1parse.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/asn1write.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/base64.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/bignum.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/blowfish.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/camellia.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/ccm.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/chacha20.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/chachapoly.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/cipher.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/cipher_wrap.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/cmac.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/ctr_drbg.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/des.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/dhm.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/ecdh.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/ecdsa.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/ecjpake.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/ecp.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/ecp_curves.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/entropy.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/entropy_poll.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/error.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/gcm.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/havege.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/hkdf.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/hmac_drbg.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/md.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/md2.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/md4.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/md5.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/md_wrap.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/memory_buffer_alloc.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/nist_kw.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/oid.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/padlock.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/pem.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/pk.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/pk_wrap.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/pkcs12.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/pkcs5.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/pkparse.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/pkwrite.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/platform.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/platform_util.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/poly1305.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/ripemd160.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/rsa.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/rsa_internal.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/sha1.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/sha256.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/sha512.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/threading.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/timing.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/version.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/version_features.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/xtea.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/__/__/port/sha/dma/esp_sha_gdma_impl.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/__/__/port/crypto_shared_gdma/esp_crypto_shared_gdma.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/__/__/port/aes/dma/esp_aes_gdma_impl.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/__/__/port/esp_hardware.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/__/__/port/esp_mem.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/__/__/port/esp_timing.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/__/__/port/sha/esp_sha.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/__/__/port/aes/esp_aes_xts.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/__/__/port/aes/esp_aes_common.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/__/__/port/aes/dma/esp_aes.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/__/__/port/sha/dma/sha.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/__/__/port/esp_ds/esp_rsa_sign_alt.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/__/__/port/esp_bignum.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/__/__/port/esp32s3/bignum.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/__/__/port/sha/dma/esp_sha1.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/__/__/port/sha/dma/esp_sha256.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/__/__/port/sha/dma/esp_sha512.c.obj esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/__/__/port/md/esp_md.c.obj && D:\ESP32_S3\.espressif\tools\xtensa-esp32s3-elf\esp-2021r2-8.4.0\xtensa-esp32s3-elf\bin\xtensa-esp32s3-elf-ranlib.exe esp-idf\mbedtls\mbedtls\library\libmbedcrypto.a && cd ."
D:\ESP32_S3\.espressif\tools\xtensa-esp32s3-elf\esp-2021r2-8.4.0\xtensa-esp32s3-elf\bin\xtensa-esp32s3-elf-ranlib.exe: unable to rename 'esp-idf\mbedtls\mbedtls\library\libmbedcrypto.a'; reason: File exists
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
D:\ESP32_S3\LVGL_Tabview_Test_S3>idf.py build
Executing action: all (aliases: build)
Running ninja in directory d:\esp32_s3\lvgl_tabview_test_s3\build
Executing "ninja all"...
[2/886] Performing build step for 'bootloader'
[1/1] cmd.exe /C "cd /D D:\ESP32_S3\LVGL_Tabview_Test_S3\build\bootloader\esp-idf\esptool_py && D:\ESP32_S3\.espressif\python_env\idf4.4_py3.7_env\Scripts\python.exe D:/ESP32_S3/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x0 D:/ESP32_S3/LVGL_Tabview_Test_S3/build/bootloader/bootloader.bin"
Bootloader binary size 0x4f40 bytes. 0x30c0 bytes (38%) free.
[701/884] Building C object esp-idf/lvgl/CMakeFiles/__idf_lvgl.dir/lvgl/src/lv_font/lv_font_montserrat_30.c.obj
../components/lvgl/lvgl/src/lv_font/lv_font_montserrat_30.c:13: warning: "LV_FONT_MONTSERRAT_30" redefined
#define LV_FONT_MONTSERRAT_30 1
In file included from ../components/lvgl/lvgl/src/lv_font/../../src/lv_misc/../lv_conf_internal.h:24,
from ../components/lvgl/lvgl/src/lv_font/../../src/lv_misc/lv_log.h:16,
from ../components/lvgl/lvgl/src/lv_font/../../lvgl.h:26,
from ../components/lvgl/lvgl/src/lv_font/lv_font_montserrat_30.c:1:
d:\esp32_s3\lvgl_tabview_test_s3\components\lvgl\lv_conf.h:503: note: this is the location of the previous definition
#define LV_FONT_MONTSERRAT_30 CONFIG_LVGL_FONT_MONTSERRAT_30
[831/884] Building C object esp-idf/lv_examples/CMakeFiles/__idf_lv_examples.dir/lv_examples/src/lv_demo_stress/lv_demo_stress.c.obj
../components/lv_examples/lv_examples/src/lv_demo_stress/lv_demo_stress.c: In function 'obj_test_task_cb':
../components/lv_examples/lv_examples/src/lv_demo_stress/lv_demo_stress.c:77:30: warning: unused variable 'diff' [-Wunused-variable]
volatile int32_t diff = mem_free_start - mon.free_size;
^~~~
../components/lv_examples/lv_examples/src/lv_demo_stress/lv_demo_stress.c:245:37: warning: cast between incompatible function types from 'void (*)(lv_obj_t *, uint16_t)' {aka 'void (*)(struct _lv_obj_t *, short unsigned int)'} to 'void (*)(void *, lv_anim_value_t)' {aka 'void (*)(void *, short int)'} [-Wcast-function-type]
lv_anim_set_exec_cb(&a, (lv_anim_exec_xcb_t)lv_arc_set_end_angle);
^
../components/lv_examples/lv_examples/src/lv_demo_stress/lv_demo_stress.c:255:37: warning: cast between incompatible function types from 'void (*)(lv_obj_t *, uint16_t)' {aka 'void (*)(struct _lv_obj_t *, short unsigned int)'} to 'void (*)(void *, lv_anim_value_t)' {aka 'void (*)(void *, short int)'} [-Wcast-function-type]
lv_anim_set_exec_cb(&a, (lv_anim_exec_xcb_t)lv_linemeter_set_angle_offset);
^
[844/884] Building C object esp-idf/lv_examples/CMakeFiles/__idf_lv_examples.dir/lv_examples/src/lv_ex_widgets/lv_ex_img/lv_ex_img_3.c.obj
../components/lv_examples/lv_examples/src/lv_ex_widgets/lv_ex_img/lv_ex_img_3.c: In function 'lv_ex_img_3':
../components/lv_examples/lv_examples/src/lv_ex_widgets/lv_ex_img/lv_ex_img_3.c:23:29: warning: cast between incompatible function types from 'void (*)(lv_obj_t *, uint16_t)' {aka 'void (*)(struct _lv_obj_t *, short unsigned int)'} to 'void (*)(void *, lv_anim_value_t)' {aka 'void (*)(void *, short int)'} [-Wcast-function-type]
lv_anim_set_exec_cb(&a, (lv_anim_exec_xcb_t)lv_img_set_zoom);
^
[845/884] Building C object esp-idf/lvgl_tft/CMakeFiles/__idf_lvgl_tft.dir/ili9341.c.obj
../components/lvgl_esp32_drivers/lvgl_tft/ili9341.c: In function 'ILI9341_OpenWindow':
../components/lvgl_esp32_drivers/lvgl_tft/ili9341.c:237:26: warning: passing argument 1 of 'ili9341_send_data' makes pointer from integer without
a cast [-Wint-conversion]
ili9341_send_data ( usX >> 8, 1); /* 鍏堥珮8浣嶏紝鐒跺悗浣?浣?*/
~~~~^~~~
../components/lvgl_esp32_drivers/lvgl_tft/ili9341.c:201:38: note: expected 'void *' but argument is of type 'int'
static void ili9341_send_data(void * data, uint16_t length)
~~~~~~~^~~~
../components/lvgl_esp32_drivers/lvgl_tft/ili9341.c:238:26: warning: passing argument 1 of 'ili9341_send_data' makes pointer from integer without
a cast [-Wint-conversion]
ili9341_send_data ( usX & 0xff, 1); /* 璁剧疆璧峰鐐瑰拰缁撴潫鐐?/
~~~~^~~~~~
../components/lvgl_esp32_drivers/lvgl_tft/ili9341.c:201:38: note: expected 'void *' but argument is of type 'int'
static void ili9341_send_data(void * data, uint16_t length)
~~~~~~~^~~~
../components/lvgl_esp32_drivers/lvgl_tft/ili9341.c:239:44: warning: passing argument 1 of 'ili9341_send_data' makes pointer from integer without
a cast [-Wint-conversion]
ili9341_send_data ( ( usX + usWidth - 1 ) >> 8, 1);
~~~~~~~~~~~~~~~~~~~~~~^~~~
../components/lvgl_esp32_drivers/lvgl_tft/ili9341.c:201:38: note: expected 'void *' but argument is of type 'int'
static void ili9341_send_data(void * data, uint16_t length)
~~~~~~~^~~~
../components/lvgl_esp32_drivers/lvgl_tft/ili9341.c:240:44: warning: passing argument 1 of 'ili9341_send_data' makes pointer from integer without
a cast [-Wint-conversion]
ili9341_send_data ( ( usX + usWidth - 1 ) & 0xff, 1);
~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../components/lvgl_esp32_drivers/lvgl_tft/ili9341.c:201:38: note: expected 'void *' but argument is of type 'int'
static void ili9341_send_data(void * data, uint16_t length)
~~~~~~~^~~~
../components/lvgl_esp32_drivers/lvgl_tft/ili9341.c:243:26: warning: passing argument 1 of 'ili9341_send_data' makes pointer from integer without
a cast [-Wint-conversion]
ili9341_send_data ( usY >> 8, 1);
~~~~^~~~
../components/lvgl_esp32_drivers/lvgl_tft/ili9341.c:201:38: note: expected 'void *' but argument is of type 'int'
static void ili9341_send_data(void * data, uint16_t length)
~~~~~~~^~~~
../components/lvgl_esp32_drivers/lvgl_tft/ili9341.c:244:26: warning: passing argument 1 of 'ili9341_send_data' makes pointer from integer without
a cast [-Wint-conversion]
ili9341_send_data ( usY & 0xff, 1);
~~~~^~~~~~
../components/lvgl_esp32_drivers/lvgl_tft/ili9341.c:201:38: note: expected 'void *' but argument is of type 'int'
static void ili9341_send_data(void * data, uint16_t length)
~~~~~~~^~~~
../components/lvgl_esp32_drivers/lvgl_tft/ili9341.c:245:45: warning: passing argument 1 of 'ili9341_send_data' makes pointer from integer without
a cast [-Wint-conversion]
ili9341_send_data ( ( usY + usHeight - 1 ) >> 8, 1);
~~~~~~~~~~~~~~~~~~~~~~~^~~~
../components/lvgl_esp32_drivers/lvgl_tft/ili9341.c:201:38: note: expected 'void *' but argument is of type 'int'
static void ili9341_send_data(void * data, uint16_t length)
~~~~~~~^~~~
../components/lvgl_esp32_drivers/lvgl_tft/ili9341.c:246:44: warning: passing argument 1 of 'ili9341_send_data' makes pointer from integer without
a cast [-Wint-conversion]
ili9341_send_data ( ( usY + usHeight - 1) & 0xff, 1);
~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../components/lvgl_esp32_drivers/lvgl_tft/ili9341.c:201:38: note: expected 'void *' but argument is of type 'int'
static void ili9341_send_data(void * data, uint16_t length)
~~~~~~~^~~~
../components/lvgl_esp32_drivers/lvgl_tft/ili9341.c: In function 'ILI9341_FillColor':
../components/lvgl_esp32_drivers/lvgl_tft/ili9341.c:257:23: warning: passing argument 1 of 'ili9341_send_data' makes pointer from integer without
a cast [-Wint-conversion]
ili9341_send_data ( usColor, 1);
^~~~~~~
../components/lvgl_esp32_drivers/lvgl_tft/ili9341.c:201:38: note: expected 'void *' but argument is of type 'uint16_t' {aka 'short unsigned int'}
static void ili9341_send_data(void * data, uint16_t length)
~~~~~~~^~~~
At top level:
../components/lvgl_esp32_drivers/lvgl_tft/ili9341.c:20:17: warning: 'CurrentTextColor' defined but not used [-Wunused-variable]
static uint16_t CurrentTextColor = BLACK;//鍓嶆櫙鑹?
^~~~~~~~~~~~~~~~
[883/884] Generating binary image from built executable
esptool.py v3.2-dev
Merged 2 ELF sections
Generated D:/ESP32_S3/LVGL_Tabview_Test_S3/build/lvgl-demo.bin
[884/884] cmd.exe /C "cd /D D:\ESP32_S3\LVGL_Tabview_Test_S3\build\esp-...rtition-table.bin D:/ESP32_S3/LVGL_Tabview_Test_S3/build/lvgl-demo.bin"
lvgl-demo.bin binary size 0x115700 bytes. Smallest app partition is 0x200000 bytes. 0xea900 bytes (46%) free.
Project build complete. To flash, run this command:
D:\ESP32_S3\.espressif\python_env\idf4.4_py3.7_env\Scripts\python.exe ..\esp-idf\components\esptool_py\esptool\esptool.py -p (PORT) -b 460800 --before default_reset --after hard_reset --chip esp32s3 write_flash --flash_mode dio --flash_size detect --flash_freq 80m 0x0 build\bootloader\bootloader.bin 0x8000 build\partition_table\partition-table.bin 0xd000 build\ota_data_initial.bin 0x10000 build\lvgl-demo.bin
or run 'idf.py -p (PORT) flash'
D:\ESP32_S3\LVGL_Tabview_Test_S3>
Who is online
Users browsing this forum: No registered users and 129 guests