Why compiler search lvgl function defination in LovyanGFX files


I am getting this error

C:\Users\91704\Documents\PlatformIO\Projects\KC01Test2LabelUi1.4.0/.pio/libdeps/4d_systems_esp32s3_gen4_r8n16/LovyanGFX/src/lgfx/v1/LGFXBase.hpp:1364: undefined reference to `lv_log_register_print_cb'

But lv_log_register_print_cb() definition resides in lv_log.c in lvgl file What is causing it?

What MCU/Processor/Board and compiler are you using?

ESP32 S3, platform Io in Vs code

What LVGL version are you using?


What have you tried so far?

Gave file path