Created UI, and exported LVGL UI and added exported LVGL file in the LVGL root directory, and added “ui_init” in main.c file.
Getting an undefined reference to `ui_init’ error while building
You didn’t specify the system and toolchain you’re building on.
You probably have problems with your build-system’s configuration files.
It would be easier to find the solution if you share the errors/results of your builder with us.