m5stack / M5Dial-UserDemo

M5Dial user demo for hardware evaluation.
MIT License
44 stars 16 forks source link

Activating LVGL RLottie conflicts with LovyanGFX #12

Open ezsper opened 7 months ago

ezsper commented 7 months ago

I'm new to ESP programming and I've recently purchased the M5 Dial.

I'm using this demo for my project and I wanted to try to render a Lottie image using LVGL Lottie Player. I've followed these instructions and I was able to enable RLottie successfully.... But because Rlottie and LovyanGFX uses different versions of Miniz, I'm getting this multiple definition conflict error.

Any idea on how to fix it?

[1/9] Performing build step for 'bootloader'
[1/1] cd ./M5Dial-UserDemo/build/bootloader/esp-idf/esptool_py && ~/.espressif/python_env/idf5.1_py3.9_env/bin/python ~/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x0 ./M5Dial-UserDemo/build/bootloader/bootloader.bin
Bootloader binary size 0x5770 bytes. 0x2890 bytes (32%) free.
[2/7] Building CXX object esp-idf/main/CMakeFiles/__idf_main.dir/apps/app_more_menu/more_menu_selected_callback.cpp.obj
[3/7] Linking C static library esp-idf/main/libmain.a
[4/7] Generating ld/sections.ld
[5/7] Linking CXX executable stamp_ring_factory_test.elf
FAILED: stamp_ring_factory_test.elf 
: && ~/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-g++ -mlongcalls -Wl,--cref -Wl,--defsym=IDF_TARGET_ESP32S3=0 -Wl,--Map=./M5Dial-UserDemo/build/stamp_ring_factory_test.map -Wl,--no-warn-rwx-segments -fno-rtti -fno-lto -Wl,--gc-sections -Wl,--warn-common -T esp32s3.peripherals.ld -T esp32s3.rom.ld -T esp32s3.rom.api.ld -T esp32s3.rom.libgcc.ld -T esp32s3.rom.newlib.ld -T esp32s3.rom.version.ld -T memory.ld -T sections.ld CMakeFiles/stamp_ring_factory_test.elf.dir/project_elf_src_esp32s3.c.obj -o stamp_ring_factory_test.elf -L~/esp/esp-idf/components/soc/esp32s3/ld   -L~/esp/esp-idf/components/esp_rom/esp32s3/ld   -L./M5Dial-UserDemo/build/esp-idf/esp_system/ld   -L~/esp/esp-idf/components/esp_phy/lib/esp32s3   -L~/esp/esp-idf/components/esp_coex/lib/esp32s3   -L~/esp/esp-idf/components/esp_wifi/lib/esp32s3   -L~/esp/esp-idf/components/bt/controller/lib_esp32c3_family/esp32s3 esp-idf/xtensa/libxtensa.a  esp-idf/esp_ringbuf/libesp_ringbuf.a  esp-idf/efuse/libefuse.a  esp-idf/driver/libdriver.a  esp-idf/esp_pm/libesp_pm.a  esp-idf/mbedtls/libmbedtls.a  esp-idf/esp_app_format/libesp_app_format.a  esp-idf/bootloader_support/libbootloader_support.a  esp-idf/esp_partition/libesp_partition.a  esp-idf/app_update/libapp_update.a  esp-idf/esp_mm/libesp_mm.a  esp-idf/spi_flash/libspi_flash.a  esp-idf/pthread/libpthread.a  esp-idf/esp_system/libesp_system.a  esp-idf/esp_rom/libesp_rom.a  esp-idf/hal/libhal.a  esp-idf/log/liblog.a  esp-idf/heap/libheap.a  esp-idf/soc/libsoc.a  esp-idf/esp_hw_support/libesp_hw_support.a  esp-idf/freertos/libfreertos.a  esp-idf/newlib/libnewlib.a  esp-idf/cxx/libcxx.a  esp-idf/esp_common/libesp_common.a  esp-idf/esp_timer/libesp_timer.a  esp-idf/app_trace/libapp_trace.a  esp-idf/esp_event/libesp_event.a  esp-idf/nvs_flash/libnvs_flash.a  esp-idf/esp_phy/libesp_phy.a  esp-idf/vfs/libvfs.a  esp-idf/lwip/liblwip.a  esp-idf/esp_netif/libesp_netif.a  esp-idf/wpa_supplicant/libwpa_supplicant.a  esp-idf/esp_coex/libesp_coex.a  esp-idf/esp_wifi/libesp_wifi.a  esp-idf/bt/libbt.a  esp-idf/unity/libunity.a  esp-idf/cmock/libcmock.a  esp-idf/console/libconsole.a  esp-idf/http_parser/libhttp_parser.a  esp-idf/esp-tls/libesp-tls.a  esp-idf/esp_adc/libesp_adc.a  esp-idf/esp_eth/libesp_eth.a  esp-idf/esp_gdbstub/libesp_gdbstub.a  esp-idf/esp_hid/libesp_hid.a  esp-idf/tcp_transport/libtcp_transport.a  esp-idf/esp_http_client/libesp_http_client.a  esp-idf/esp_http_server/libesp_http_server.a  esp-idf/esp_https_ota/libesp_https_ota.a  esp-idf/esp_lcd/libesp_lcd.a  esp-idf/protobuf-c/libprotobuf-c.a  esp-idf/protocomm/libprotocomm.a  esp-idf/esp_local_ctrl/libesp_local_ctrl.a  esp-idf/espcoredump/libespcoredump.a  esp-idf/wear_levelling/libwear_levelling.a  esp-idf/sdmmc/libsdmmc.a  esp-idf/fatfs/libfatfs.a  esp-idf/json/libjson.a  esp-idf/mqtt/libmqtt.a  esp-idf/perfmon/libperfmon.a  esp-idf/spiffs/libspiffs.a  esp-idf/touch_element/libtouch_element.a  esp-idf/ulp/libulp.a  esp-idf/usb/libusb.a  esp-idf/wifi_provisioning/libwifi_provisioning.a  esp-idf/espressif__led_strip/libespressif__led_strip.a  esp-idf/main/libmain.a  esp-idf/LovyanGFX/libLovyanGFX.a  esp-idf/esp-idf-rc522/libesp-idf-rc522.a  esp-idf/lvgl/liblvgl.a  esp-idf/app_trace/libapp_trace.a  esp-idf/app_trace/libapp_trace.a  esp-idf/cmock/libcmock.a  esp-idf/unity/libunity.a  esp-idf/esp_hid/libesp_hid.a  esp-idf/esp_local_ctrl/libesp_local_ctrl.a  esp-idf/espcoredump/libespcoredump.a  esp-idf/fatfs/libfatfs.a  esp-idf/wear_levelling/libwear_levelling.a  esp-idf/sdmmc/libsdmmc.a  esp-idf/mqtt/libmqtt.a  esp-idf/perfmon/libperfmon.a  esp-idf/spiffs/libspiffs.a  esp-idf/touch_element/libtouch_element.a  esp-idf/usb/libusb.a  esp-idf/wifi_provisioning/libwifi_provisioning.a  esp-idf/protocomm/libprotocomm.a  esp-idf/bt/libbt.a  -lbtdm_app  esp-idf/console/libconsole.a  esp-idf/protobuf-c/libprotobuf-c.a  esp-idf/json/libjson.a  esp-idf/espressif__led_strip/libespressif__led_strip.a  esp-idf/esp_lcd/libesp_lcd.a  esp-idf/lvgl/liblvgl.a  esp-idf/rlottie/rlottie/librlottie.a  -Wl,--version-script=./M5Dial-UserDemo/components/rlottie/rlottie/rlottie.expmap  -Wl,--no-undefined  esp-idf/xtensa/libxtensa.a  esp-idf/esp_ringbuf/libesp_ringbuf.a  esp-idf/efuse/libefuse.a  esp-idf/driver/libdriver.a  esp-idf/esp_pm/libesp_pm.a  esp-idf/mbedtls/libmbedtls.a  esp-idf/esp_app_format/libesp_app_format.a  esp-idf/bootloader_support/libbootloader_support.a  esp-idf/esp_partition/libesp_partition.a  esp-idf/app_update/libapp_update.a  esp-idf/esp_mm/libesp_mm.a  esp-idf/spi_flash/libspi_flash.a  esp-idf/pthread/libpthread.a  esp-idf/esp_system/libesp_system.a  esp-idf/esp_rom/libesp_rom.a  esp-idf/hal/libhal.a  esp-idf/log/liblog.a  esp-idf/heap/libheap.a  esp-idf/soc/libsoc.a  esp-idf/esp_hw_support/libesp_hw_support.a  esp-idf/freertos/libfreertos.a  esp-idf/newlib/libnewlib.a  esp-idf/cxx/libcxx.a  esp-idf/esp_common/libesp_common.a  esp-idf/esp_timer/libesp_timer.a  esp-idf/esp_event/libesp_event.a  esp-idf/nvs_flash/libnvs_flash.a  esp-idf/esp_phy/libesp_phy.a  esp-idf/vfs/libvfs.a  esp-idf/lwip/liblwip.a  esp-idf/esp_netif/libesp_netif.a  esp-idf/wpa_supplicant/libwpa_supplicant.a  esp-idf/esp_coex/libesp_coex.a  esp-idf/esp_wifi/libesp_wifi.a  esp-idf/http_parser/libhttp_parser.a  esp-idf/esp-tls/libesp-tls.a  esp-idf/esp_adc/libesp_adc.a  esp-idf/esp_eth/libesp_eth.a  esp-idf/esp_gdbstub/libesp_gdbstub.a  esp-idf/tcp_transport/libtcp_transport.a  esp-idf/esp_http_client/libesp_http_client.a  esp-idf/esp_http_server/libesp_http_server.a  esp-idf/esp_https_ota/libesp_https_ota.a  esp-idf/ulp/libulp.a  esp-idf/mbedtls/mbedtls/library/libmbedtls.a  esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a  esp-idf/mbedtls/mbedtls/library/libmbedx509.a  esp-idf/mbedtls/mbedtls/3rdparty/everest/libeverest.a  esp-idf/mbedtls/mbedtls/3rdparty/p256-m/libp256m.a  ~/esp/esp-idf/components/esp_coex/lib/esp32s3/libcoexist.a  ~/esp/esp-idf/components/esp_wifi/lib/esp32s3/libcore.a  ~/esp/esp-idf/components/esp_wifi/lib/esp32s3/libespnow.a  ~/esp/esp-idf/components/esp_wifi/lib/esp32s3/libmesh.a  ~/esp/esp-idf/components/esp_wifi/lib/esp32s3/libnet80211.a  ~/esp/esp-idf/components/esp_wifi/lib/esp32s3/libpp.a  ~/esp/esp-idf/components/esp_wifi/lib/esp32s3/libsmartconfig.a  ~/esp/esp-idf/components/esp_wifi/lib/esp32s3/libwapi.a  esp-idf/xtensa/libxtensa.a  esp-idf/esp_ringbuf/libesp_ringbuf.a  esp-idf/efuse/libefuse.a  esp-idf/driver/libdriver.a  esp-idf/esp_pm/libesp_pm.a  esp-idf/mbedtls/libmbedtls.a  esp-idf/esp_app_format/libesp_app_format.a  esp-idf/bootloader_support/libbootloader_support.a  esp-idf/esp_partition/libesp_partition.a  esp-idf/app_update/libapp_update.a  esp-idf/esp_mm/libesp_mm.a  esp-idf/spi_flash/libspi_flash.a  esp-idf/pthread/libpthread.a  esp-idf/esp_system/libesp_system.a  esp-idf/esp_rom/libesp_rom.a  esp-idf/hal/libhal.a  esp-idf/log/liblog.a  esp-idf/heap/libheap.a  esp-idf/soc/libsoc.a  esp-idf/esp_hw_support/libesp_hw_support.a  esp-idf/freertos/libfreertos.a  esp-idf/newlib/libnewlib.a  esp-idf/cxx/libcxx.a  esp-idf/esp_common/libesp_common.a  esp-idf/esp_timer/libesp_timer.a  esp-idf/esp_event/libesp_event.a  esp-idf/nvs_flash/libnvs_flash.a  esp-idf/esp_phy/libesp_phy.a  esp-idf/vfs/libvfs.a  esp-idf/lwip/liblwip.a  esp-idf/esp_netif/libesp_netif.a  esp-idf/wpa_supplicant/libwpa_supplicant.a  esp-idf/esp_coex/libesp_coex.a  esp-idf/esp_wifi/libesp_wifi.a  esp-idf/http_parser/libhttp_parser.a  esp-idf/esp-tls/libesp-tls.a  esp-idf/esp_adc/libesp_adc.a  esp-idf/esp_eth/libesp_eth.a  esp-idf/esp_gdbstub/libesp_gdbstub.a  esp-idf/tcp_transport/libtcp_transport.a  esp-idf/esp_http_client/libesp_http_client.a  esp-idf/esp_http_server/libesp_http_server.a  esp-idf/esp_https_ota/libesp_https_ota.a  esp-idf/ulp/libulp.a  esp-idf/mbedtls/mbedtls/library/libmbedtls.a  esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a  esp-idf/mbedtls/mbedtls/library/libmbedx509.a  esp-idf/mbedtls/mbedtls/3rdparty/everest/libeverest.a  esp-idf/mbedtls/mbedtls/3rdparty/p256-m/libp256m.a  ~/esp/esp-idf/components/esp_coex/lib/esp32s3/libcoexist.a  ~/esp/esp-idf/components/esp_wifi/lib/esp32s3/libcore.a  ~/esp/esp-idf/components/esp_wifi/lib/esp32s3/libespnow.a  ~/esp/esp-idf/components/esp_wifi/lib/esp32s3/libmesh.a  ~/esp/esp-idf/components/esp_wifi/lib/esp32s3/libnet80211.a  ~/esp/esp-idf/components/esp_wifi/lib/esp32s3/libpp.a  ~/esp/esp-idf/components/esp_wifi/lib/esp32s3/libsmartconfig.a  ~/esp/esp-idf/components/esp_wifi/lib/esp32s3/libwapi.a  esp-idf/xtensa/libxtensa.a  esp-idf/esp_ringbuf/libesp_ringbuf.a  esp-idf/efuse/libefuse.a  esp-idf/driver/libdriver.a  esp-idf/esp_pm/libesp_pm.a  esp-idf/mbedtls/libmbedtls.a  esp-idf/esp_app_format/libesp_app_format.a  esp-idf/bootloader_support/libbootloader_support.a  esp-idf/esp_partition/libesp_partition.a  esp-idf/app_update/libapp_update.a  esp-idf/esp_mm/libesp_mm.a  esp-idf/spi_flash/libspi_flash.a  esp-idf/pthread/libpthread.a  esp-idf/esp_system/libesp_system.a  esp-idf/esp_rom/libesp_rom.a  esp-idf/hal/libhal.a  esp-idf/log/liblog.a  esp-idf/heap/libheap.a  esp-idf/soc/libsoc.a  esp-idf/esp_hw_support/libesp_hw_support.a  esp-idf/freertos/libfreertos.a  esp-idf/newlib/libnewlib.a  esp-idf/cxx/libcxx.a  esp-idf/esp_common/libesp_common.a  esp-idf/esp_timer/libesp_timer.a  esp-idf/esp_event/libesp_event.a  esp-idf/nvs_flash/libnvs_flash.a  esp-idf/esp_phy/libesp_phy.a  esp-idf/vfs/libvfs.a  esp-idf/lwip/liblwip.a  esp-idf/esp_netif/libesp_netif.a  esp-idf/wpa_supplicant/libwpa_supplicant.a  esp-idf/esp_coex/libesp_coex.a  esp-idf/esp_wifi/libesp_wifi.a  esp-idf/http_parser/libhttp_parser.a  esp-idf/esp-tls/libesp-tls.a  esp-idf/esp_adc/libesp_adc.a  esp-idf/esp_eth/libesp_eth.a  esp-idf/esp_gdbstub/libesp_gdbstub.a  esp-idf/tcp_transport/libtcp_transport.a  esp-idf/esp_http_client/libesp_http_client.a  esp-idf/esp_http_server/libesp_http_server.a  esp-idf/esp_https_ota/libesp_https_ota.a  esp-idf/ulp/libulp.a  esp-idf/mbedtls/mbedtls/library/libmbedtls.a  esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a  esp-idf/mbedtls/mbedtls/library/libmbedx509.a  esp-idf/mbedtls/mbedtls/3rdparty/everest/libeverest.a  esp-idf/mbedtls/mbedtls/3rdparty/p256-m/libp256m.a  ~/esp/esp-idf/components/esp_coex/lib/esp32s3/libcoexist.a  ~/esp/esp-idf/components/esp_wifi/lib/esp32s3/libcore.a  ~/esp/esp-idf/components/esp_wifi/lib/esp32s3/libespnow.a  ~/esp/esp-idf/components/esp_wifi/lib/esp32s3/libmesh.a  ~/esp/esp-idf/components/esp_wifi/lib/esp32s3/libnet80211.a  ~/esp/esp-idf/components/esp_wifi/lib/esp32s3/libpp.a  ~/esp/esp-idf/components/esp_wifi/lib/esp32s3/libsmartconfig.a  ~/esp/esp-idf/components/esp_wifi/lib/esp32s3/libwapi.a  esp-idf/xtensa/libxtensa.a  esp-idf/esp_ringbuf/libesp_ringbuf.a  esp-idf/efuse/libefuse.a  esp-idf/driver/libdriver.a  esp-idf/esp_pm/libesp_pm.a  esp-idf/mbedtls/libmbedtls.a  esp-idf/esp_app_format/libesp_app_format.a  esp-idf/bootloader_support/libbootloader_support.a  esp-idf/esp_partition/libesp_partition.a  esp-idf/app_update/libapp_update.a  esp-idf/esp_mm/libesp_mm.a  esp-idf/spi_flash/libspi_flash.a  esp-idf/pthread/libpthread.a  esp-idf/esp_system/libesp_system.a  esp-idf/esp_rom/libesp_rom.a  esp-idf/hal/libhal.a  esp-idf/log/liblog.a  esp-idf/heap/libheap.a  esp-idf/soc/libsoc.a  esp-idf/esp_hw_support/libesp_hw_support.a  esp-idf/freertos/libfreertos.a  esp-idf/newlib/libnewlib.a  esp-idf/cxx/libcxx.a  esp-idf/esp_common/libesp_common.a  esp-idf/esp_timer/libesp_timer.a  esp-idf/esp_event/libesp_event.a  esp-idf/nvs_flash/libnvs_flash.a  esp-idf/esp_phy/libesp_phy.a  esp-idf/vfs/libvfs.a  esp-idf/lwip/liblwip.a  esp-idf/esp_netif/libesp_netif.a  esp-idf/wpa_supplicant/libwpa_supplicant.a  esp-idf/esp_coex/libesp_coex.a  esp-idf/esp_wifi/libesp_wifi.a  esp-idf/http_parser/libhttp_parser.a  esp-idf/esp-tls/libesp-tls.a  esp-idf/esp_adc/libesp_adc.a  esp-idf/esp_eth/libesp_eth.a  esp-idf/esp_gdbstub/libesp_gdbstub.a  esp-idf/tcp_transport/libtcp_transport.a  esp-idf/esp_http_client/libesp_http_client.a  esp-idf/esp_http_server/libesp_http_server.a  esp-idf/esp_https_ota/libesp_https_ota.a  esp-idf/ulp/libulp.a  esp-idf/mbedtls/mbedtls/library/libmbedtls.a  esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a  esp-idf/mbedtls/mbedtls/library/libmbedx509.a  esp-idf/mbedtls/mbedtls/3rdparty/everest/libeverest.a  esp-idf/mbedtls/mbedtls/3rdparty/p256-m/libp256m.a  ~/esp/esp-idf/components/esp_coex/lib/esp32s3/libcoexist.a  ~/esp/esp-idf/components/esp_wifi/lib/esp32s3/libcore.a  ~/esp/esp-idf/components/esp_wifi/lib/esp32s3/libespnow.a  ~/esp/esp-idf/components/esp_wifi/lib/esp32s3/libmesh.a  ~/esp/esp-idf/components/esp_wifi/lib/esp32s3/libnet80211.a  ~/esp/esp-idf/components/esp_wifi/lib/esp32s3/libpp.a  ~/esp/esp-idf/components/esp_wifi/lib/esp32s3/libsmartconfig.a  ~/esp/esp-idf/components/esp_wifi/lib/esp32s3/libwapi.a  esp-idf/xtensa/libxtensa.a  esp-idf/esp_ringbuf/libesp_ringbuf.a  esp-idf/efuse/libefuse.a  esp-idf/driver/libdriver.a  esp-idf/esp_pm/libesp_pm.a  esp-idf/mbedtls/libmbedtls.a  esp-idf/esp_app_format/libesp_app_format.a  esp-idf/bootloader_support/libbootloader_support.a  esp-idf/esp_partition/libesp_partition.a  esp-idf/app_update/libapp_update.a  esp-idf/esp_mm/libesp_mm.a  esp-idf/spi_flash/libspi_flash.a  esp-idf/pthread/libpthread.a  esp-idf/esp_system/libesp_system.a  esp-idf/esp_rom/libesp_rom.a  esp-idf/hal/libhal.a  esp-idf/log/liblog.a  esp-idf/heap/libheap.a  esp-idf/soc/libsoc.a  esp-idf/esp_hw_support/libesp_hw_support.a  esp-idf/freertos/libfreertos.a  esp-idf/newlib/libnewlib.a  esp-idf/cxx/libcxx.a  esp-idf/esp_common/libesp_common.a  esp-idf/esp_timer/libesp_timer.a  esp-idf/esp_event/libesp_event.a  esp-idf/nvs_flash/libnvs_flash.a  esp-idf/esp_phy/libesp_phy.a  esp-idf/vfs/libvfs.a  esp-idf/lwip/liblwip.a  esp-idf/esp_netif/libesp_netif.a  esp-idf/wpa_supplicant/libwpa_supplicant.a  esp-idf/esp_coex/libesp_coex.a  esp-idf/esp_wifi/libesp_wifi.a  esp-idf/http_parser/libhttp_parser.a  esp-idf/esp-tls/libesp-tls.a  esp-idf/esp_adc/libesp_adc.a  esp-idf/esp_eth/libesp_eth.a  esp-idf/esp_gdbstub/libesp_gdbstub.a  esp-idf/tcp_transport/libtcp_transport.a  esp-idf/esp_http_client/libesp_http_client.a  esp-idf/esp_http_server/libesp_http_server.a  esp-idf/esp_https_ota/libesp_https_ota.a  esp-idf/ulp/libulp.a  esp-idf/mbedtls/mbedtls/library/libmbedtls.a  esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a  esp-idf/mbedtls/mbedtls/library/libmbedx509.a  esp-idf/mbedtls/mbedtls/3rdparty/everest/libeverest.a  esp-idf/mbedtls/mbedtls/3rdparty/p256-m/libp256m.a  ~/esp/esp-idf/components/esp_coex/lib/esp32s3/libcoexist.a  ~/esp/esp-idf/components/esp_wifi/lib/esp32s3/libcore.a  ~/esp/esp-idf/components/esp_wifi/lib/esp32s3/libespnow.a  ~/esp/esp-idf/components/esp_wifi/lib/esp32s3/libmesh.a  ~/esp/esp-idf/components/esp_wifi/lib/esp32s3/libnet80211.a  ~/esp/esp-idf/components/esp_wifi/lib/esp32s3/libpp.a  ~/esp/esp-idf/components/esp_wifi/lib/esp32s3/libsmartconfig.a  ~/esp/esp-idf/components/esp_wifi/lib/esp32s3/libwapi.a  esp-idf/xtensa/libxtensa.a  esp-idf/esp_ringbuf/libesp_ringbuf.a  esp-idf/efuse/libefuse.a  esp-idf/driver/libdriver.a  esp-idf/esp_pm/libesp_pm.a  esp-idf/mbedtls/libmbedtls.a  esp-idf/esp_app_format/libesp_app_format.a  esp-idf/bootloader_support/libbootloader_support.a  esp-idf/esp_partition/libesp_partition.a  esp-idf/app_update/libapp_update.a  esp-idf/esp_mm/libesp_mm.a  esp-idf/spi_flash/libspi_flash.a  esp-idf/pthread/libpthread.a  esp-idf/esp_system/libesp_system.a  esp-idf/esp_rom/libesp_rom.a  esp-idf/hal/libhal.a  esp-idf/log/liblog.a  esp-idf/heap/libheap.a  esp-idf/soc/libsoc.a  esp-idf/esp_hw_support/libesp_hw_support.a  esp-idf/freertos/libfreertos.a  esp-idf/newlib/libnewlib.a  esp-idf/cxx/libcxx.a  esp-idf/esp_common/libesp_common.a  esp-idf/esp_timer/libesp_timer.a  esp-idf/esp_event/libesp_event.a  esp-idf/nvs_flash/libnvs_flash.a  esp-idf/esp_phy/libesp_phy.a  esp-idf/vfs/libvfs.a  esp-idf/lwip/liblwip.a  esp-idf/esp_netif/libesp_netif.a  esp-idf/wpa_supplicant/libwpa_supplicant.a  esp-idf/esp_coex/libesp_coex.a  esp-idf/esp_wifi/libesp_wifi.a  esp-idf/http_parser/libhttp_parser.a  esp-idf/esp-tls/libesp-tls.a  esp-idf/esp_adc/libesp_adc.a  esp-idf/esp_eth/libesp_eth.a  esp-idf/esp_gdbstub/libesp_gdbstub.a  esp-idf/tcp_transport/libtcp_transport.a  esp-idf/esp_http_client/libesp_http_client.a  esp-idf/esp_http_server/libesp_http_server.a  esp-idf/esp_https_ota/libesp_https_ota.a  esp-idf/ulp/libulp.a  esp-idf/mbedtls/mbedtls/library/libmbedtls.a  esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a  esp-idf/mbedtls/mbedtls/library/libmbedx509.a  esp-idf/mbedtls/mbedtls/3rdparty/everest/libeverest.a  esp-idf/mbedtls/mbedtls/3rdparty/p256-m/libp256m.a  ~/esp/esp-idf/components/esp_coex/lib/esp32s3/libcoexist.a  ~/esp/esp-idf/components/esp_wifi/lib/esp32s3/libcore.a  ~/esp/esp-idf/components/esp_wifi/lib/esp32s3/libespnow.a  ~/esp/esp-idf/components/esp_wifi/lib/esp32s3/libmesh.a  ~/esp/esp-idf/components/esp_wifi/lib/esp32s3/libnet80211.a  ~/esp/esp-idf/components/esp_wifi/lib/esp32s3/libpp.a  ~/esp/esp-idf/components/esp_wifi/lib/esp32s3/libsmartconfig.a  ~/esp/esp-idf/components/esp_wifi/lib/esp32s3/libwapi.a  ~/esp/esp-idf/components/xtensa/esp32s3/libxt_hal.a  -u esp_app_desc  -u pthread_include_pthread_impl  -u pthread_include_pthread_cond_var_impl  -u pthread_include_pthread_local_storage_impl  -u pthread_include_pthread_rwlock_impl  -u pthread_include_pthread_semaphore_impl  -u ld_include_highint_hdl  -u start_app  -u start_app_other_cores  -u __ubsan_include  -Wl,--wrap=longjmp  -u __assert_func  -Wl,--undefined=uxTopUsedPriority  -Wl,--undefined=FreeRTOS_openocd_params  -u app_main  -lc  -lm  esp-idf/newlib/libnewlib.a  -u newlib_include_heap_impl  -u newlib_include_syscalls_impl  -u newlib_include_pthread_impl  -u newlib_include_assert_impl  -Wl,--wrap=_Unwind_SetEnableExceptionFdeSorting  -Wl,--wrap=__register_frame_info_bases  -Wl,--wrap=__register_frame_info  -Wl,--wrap=__register_frame  -Wl,--wrap=__register_frame_info_table_bases  -Wl,--wrap=__register_frame_info_table  -Wl,--wrap=__register_frame_table  -Wl,--wrap=__deregister_frame_info_bases  -Wl,--wrap=__deregister_frame_info  -Wl,--wrap=_Unwind_Find_FDE  -Wl,--wrap=_Unwind_GetGR  -Wl,--wrap=_Unwind_GetCFA  -Wl,--wrap=_Unwind_GetIP  -Wl,--wrap=_Unwind_GetIPInfo  -Wl,--wrap=_Unwind_GetRegionStart  -Wl,--wrap=_Unwind_GetDataRelBase  -Wl,--wrap=_Unwind_GetTextRelBase  -Wl,--wrap=_Unwind_SetIP  -Wl,--wrap=_Unwind_SetGR  -Wl,--wrap=_Unwind_GetLanguageSpecificData  -Wl,--wrap=_Unwind_FindEnclosingFunction  -Wl,--wrap=_Unwind_Resume  -Wl,--wrap=_Unwind_RaiseException  -Wl,--wrap=_Unwind_DeleteException  -Wl,--wrap=_Unwind_ForcedUnwind  -Wl,--wrap=_Unwind_Resume_or_Rethrow  -Wl,--wrap=_Unwind_Backtrace  -Wl,--wrap=__cxa_call_unexpected  -Wl,--wrap=__gxx_personality_v0  -u __cxa_guard_dummy  -lstdc++  esp-idf/pthread/libpthread.a  -lgcc  esp-idf/cxx/libcxx.a  -u __cxx_fatal_exception  -u include_esp_phy_override  -lphy  -lbtbb  esp-idf/esp_phy/libesp_phy.a  -lphy  -lbtbb  esp-idf/esp_phy/libesp_phy.a  -lphy  -lbtbb  -u vfs_include_syscalls_impl && :
~/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/12.2.0/../../../../xtensa-esp32s3-elf/bin/ld: esp-idf/rlottie/rlottie/librlottie.a(zip.cpp.obj): in function `mz_adler32':
./M5Dial-UserDemo/components/rlottie/rlottie/src/lottie/zip/miniz.h:1800: multiple definition of `mz_adler32'; esp-idf/LovyanGFX/libLovyanGFX.a(miniz.c.obj):./M5Dial-UserDemo/components/LovyanGFX/src/lgfx/utility/miniz.c:1004: first defined here
~/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/12.2.0/../../../../xtensa-esp32s3-elf/bin/ld: esp-idf/rlottie/rlottie/librlottie.a(zip.cpp.obj): in function `mz_crc32':
./M5Dial-UserDemo/components/rlottie/rlottie/src/lottie/zip/miniz.h:1854: multiple definition of `mz_crc32'; esp-idf/LovyanGFX/libLovyanGFX.a(miniz.c.obj):./M5Dial-UserDemo/components/LovyanGFX/src/lgfx/utility/miniz.c:1020: first defined here
~/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/12.2.0/../../../../xtensa-esp32s3-elf/bin/ld: esp-idf/rlottie/rlottie/librlottie.a(zip.cpp.obj): in function `mz_free':
./M5Dial-UserDemo/components/rlottie/rlottie/src/lottie/zip/miniz.h:1922: multiple definition of `mz_free'; esp-idf/LovyanGFX/libLovyanGFX.a(miniz.c.obj):./M5Dial-UserDemo/components/LovyanGFX/src/lgfx/utility/miniz.c:1030: first defined here
~/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/12.2.0/../../../../xtensa-esp32s3-elf/bin/ld: esp-idf/rlottie/rlottie/librlottie.a(zip.cpp.obj): in function `tdefl_compress':
./M5Dial-UserDemo/components/rlottie/rlottie/src/lottie/zip/miniz.h:3682: multiple definition of `tdefl_compress'; esp-idf/LovyanGFX/libLovyanGFX.a(miniz.c.obj):./M5Dial-UserDemo/components/LovyanGFX/src/lgfx/utility/miniz.c:2653: first defined here
~/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/12.2.0/../../../../xtensa-esp32s3-elf/bin/ld: esp-idf/rlottie/rlottie/librlottie.a(zip.cpp.obj): in function `tdefl_compress_buffer':
./M5Dial-UserDemo/components/rlottie/rlottie/src/lottie/zip/miniz.h:3753: multiple definition of `tdefl_compress_buffer'; esp-idf/LovyanGFX/libLovyanGFX.a(miniz.c.obj):./M5Dial-UserDemo/components/LovyanGFX/src/lgfx/utility/miniz.c:2709: first defined here
~/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/12.2.0/../../../../xtensa-esp32s3-elf/bin/ld: esp-idf/rlottie/rlottie/librlottie.a(zip.cpp.obj): in function `tdefl_init':
./M5Dial-UserDemo/components/rlottie/rlottie/src/lottie/zip/miniz.h:3760: multiple definition of `tdefl_init'; esp-idf/LovyanGFX/libLovyanGFX.a(miniz.c.obj):./M5Dial-UserDemo/components/LovyanGFX/src/lgfx/utility/miniz.c:2714: first defined here
~/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/12.2.0/../../../../xtensa-esp32s3-elf/bin/ld: esp-idf/rlottie/rlottie/librlottie.a(zip.cpp.obj): in function `tdefl_get_prev_return_status':
./M5Dial-UserDemo/components/rlottie/rlottie/src/lottie/zip/miniz.h:3799: multiple definition of `tdefl_get_prev_return_status'; esp-idf/LovyanGFX/libLovyanGFX.a(miniz.c.obj):./M5Dial-UserDemo/components/LovyanGFX/src/lgfx/utility/miniz.c:2733: first defined here
~/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/12.2.0/../../../../xtensa-esp32s3-elf/bin/ld: esp-idf/rlottie/rlottie/librlottie.a(zip.cpp.obj): in function `tdefl_get_adler32':
./M5Dial-UserDemo/components/rlottie/rlottie/src/lottie/zip/miniz.h:3803: multiple definition of `tdefl_get_adler32'; esp-idf/LovyanGFX/libLovyanGFX.a(miniz.c.obj):./M5Dial-UserDemo/components/LovyanGFX/src/lgfx/utility/miniz.c:2738: first defined here
~/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/12.2.0/../../../../xtensa-esp32s3-elf/bin/ld: esp-idf/rlottie/rlottie/librlottie.a(zip.cpp.obj): in function `tdefl_compress_mem_to_output':
./M5Dial-UserDemo/components/rlottie/rlottie/src/lottie/zip/miniz.h:3807: multiple definition of `tdefl_compress_mem_to_output'; esp-idf/LovyanGFX/libLovyanGFX.a(miniz.c.obj):./M5Dial-UserDemo/components/LovyanGFX/src/lgfx/utility/miniz.c:2743: first defined here
~/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/12.2.0/../../../../xtensa-esp32s3-elf/bin/ld: esp-idf/rlottie/rlottie/librlottie.a(zip.cpp.obj): in function `tdefl_compress_mem_to_heap':
./M5Dial-UserDemo/components/rlottie/rlottie/src/lottie/zip/miniz.h:3854: multiple definition of `tdefl_compress_mem_to_heap'; esp-idf/LovyanGFX/libLovyanGFX.a(miniz.c.obj):./M5Dial-UserDemo/components/LovyanGFX/src/lgfx/utility/miniz.c:2774: first defined here
~/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/12.2.0/../../../../xtensa-esp32s3-elf/bin/ld: esp-idf/rlottie/rlottie/librlottie.a(zip.cpp.obj): in function `tdefl_compress_mem_to_mem':
./M5Dial-UserDemo/components/rlottie/rlottie/src/lottie/zip/miniz.h:3871: multiple definition of `tdefl_compress_mem_to_mem'; esp-idf/LovyanGFX/libLovyanGFX.a(miniz.c.obj):./M5Dial-UserDemo/components/LovyanGFX/src/lgfx/utility/miniz.c:2783: first defined here
~/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/12.2.0/../../../../xtensa-esp32s3-elf/bin/ld: esp-idf/rlottie/rlottie/librlottie.a(zip.cpp.obj): in function `tdefl_write_image_to_png_file_in_memory_ex':
./M5Dial-UserDemo/components/rlottie/rlottie/src/lottie/zip/miniz.h:3927: multiple definition of `tdefl_write_image_to_png_file_in_memory_ex'; esp-idf/LovyanGFX/libLovyanGFX.a(miniz.c.obj):./M5Dial-UserDemo/components/LovyanGFX/src/lgfx/utility/miniz.c:2825: first defined here
~/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/12.2.0/../../../../xtensa-esp32s3-elf/bin/ld: esp-idf/rlottie/rlottie/librlottie.a(zip.cpp.obj): in function `tdefl_write_image_to_png_file_in_memory':
./M5Dial-UserDemo/components/rlottie/rlottie/src/lottie/zip/miniz.h:4007: multiple definition of `tdefl_write_image_to_png_file_in_memory'; esp-idf/LovyanGFX/libLovyanGFX.a(miniz.c.obj):./M5Dial-UserDemo/components/LovyanGFX/src/lgfx/utility/miniz.c:2880: first defined here
~/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/12.2.0/../../../../xtensa-esp32s3-elf/bin/ld: esp-idf/rlottie/rlottie/librlottie.a(zip.cpp.obj): in function `tinfl_decompress':
./M5Dial-UserDemo/components/rlottie/rlottie/src/lottie/zip/miniz.h:4206: multiple definition of `tinfl_decompress'; esp-idf/LovyanGFX/libLovyanGFX.a(miniz.c.obj):./M5Dial-UserDemo/components/LovyanGFX/src/lgfx/utility/miniz.c:1452: first defined here
~/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/12.2.0/../../../../xtensa-esp32s3-elf/bin/ld: esp-idf/rlottie/rlottie/librlottie.a(zip.cpp.obj): in function `tinfl_decompress_mem_to_heap':
./M5Dial-UserDemo/components/rlottie/rlottie/src/lottie/zip/miniz.h:4684: multiple definition of `tinfl_decompress_mem_to_heap'; esp-idf/LovyanGFX/libLovyanGFX.a(miniz.c.obj):./M5Dial-UserDemo/components/LovyanGFX/src/lgfx/utility/miniz.c:1713: first defined here
~/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/12.2.0/../../../../xtensa-esp32s3-elf/bin/ld: esp-idf/rlottie/rlottie/librlottie.a(zip.cpp.obj): in function `tinfl_decompress_mem_to_mem':
./M5Dial-UserDemo/components/rlottie/rlottie/src/lottie/zip/miniz.h:4725: multiple definition of `tinfl_decompress_mem_to_mem'; esp-idf/LovyanGFX/libLovyanGFX.a(miniz.c.obj):./M5Dial-UserDemo/components/LovyanGFX/src/lgfx/utility/miniz.c:1741: first defined here
~/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/12.2.0/../../../../xtensa-esp32s3-elf/bin/ld: esp-idf/rlottie/rlottie/librlottie.a(zip.cpp.obj): in function `tinfl_decompress_mem_to_callback':
./M5Dial-UserDemo/components/rlottie/rlottie/src/lottie/zip/miniz.h:4740: multiple definition of `tinfl_decompress_mem_to_callback'; esp-idf/LovyanGFX/libLovyanGFX.a(miniz.c.obj):./M5Dial-UserDemo/components/LovyanGFX/src/lgfx/utility/miniz.c:1748: first defined here
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
Forairaaaaa commented 7 months ago

Hi, it's a tricky one, maybe pull a issue to LovyanGFX, I don't know is there internal Miniz off switch to avoid this in Lottie or LovyanGFX