Building lv_micropython for Raspberry Pi Pico failed

To setup a development environment for Rpi Pico you should install all prerequisites such as the toolchain and build tools.
Just search the web for some examples.
Here is one example I found from a quick search: https://embeddedtechtips.com/how-to-setup-raspberry-pi-pico-sdk-in-ubuntu-20-04/

A different approach is to use a C display driver instead of a MicroPython driver.
You can initialize and register your display in C, and then use Micropython to control it with LVGL.
But you need to find (or develop) a RPi Pico C display driver. If you solve this on the C side, integrating it with Micropython is not hard.

See for example Report of LVGL usage with Raspberry Pi Pico

If you want to keep everything in Micropython, you can use Micropython’s SPI functions to initialize the display and write data to it. (This would be slower than the C driver).