Need help understanding build environment on a Raspberry Pi 5

Hello,

I am new to your forum and hopefully I format all this properly. I am trying to understand the build environment for LVGL. I am trying to write an application that will run on a Raspberry Pi 5 on the X desktop. After a few days of playing around I did manage to get the demo/example program to run. I believe it was the ivgl_sim program.

Being an old school system programmer I am more used to the install libraries and link. Is that a possible way to work with LVGL? Or do I need to have the source tree for LVGL and SDL2 around as part of the build process? Is there a place you all cont point me to that would walk me through the process and correct structural layout.

Thank you so much,

len

Description

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

Raspberry Pi 5 with the 7" Pi 2 touch screen and 64bit pi OS

What do you want to achieve?

Create a build environment to make an application that runs on the X desktop

What have you tried so far?

Building the example/demo code

Code to reproduce

Add the relevant code snippets here.

The code block(s) should be between ```c and ``` tags:

/*You code here*/

Screenshot and/or video

If possible, add screenshots and/or videos about the current state.

BTW, I am using LVGL 9.4

Hi!

There are no pre built LVGL packages for Linux that you can just “sudo apt install”. But there are some talks around that. That would make things easier for the end user.

The latest official documentation to run LVGL on Linux (PC, Raspberry Pi, etc) is this one: Linux - LVGL 9.5 documentation

If you need any more help please let us know.

Thank you for your reply. Over the last week I did clone the git archive and got the demo lvglSim working. I then pulled out the demo code and started experimenting with adding one widgit at a time. I’m using the demo as my dev framework for now.

len

1 Like