Export to Linux

What do you want to achieve?

I would like a project template in SLS that builds the source files that can be compiled under Linux using the Framebuffer for output.

How would I go about doing this as there is not a template for Linux?

What have you tried so far?

Nothing.

Hi Andy,

We could really add a project for it. Until that you can easily get started with this repo: GitHub - lvgl/lv_port_linux_frame_buffer: LVGL configured to work with a standard Linux framebuffer

@kisvegabor Yes, it would be nice if there was a project template as it would mean starting a new project would be much smoother. I think I have figured out how to get setup manually and all seems to be working fine.

Many thanks.

Andy

1 Like

Hi,

I’m trying to export a Project from Square Line studio into a Raspberry Pi, but can’t seem to find out how. I see that you already have something working, can you share a little bit what it is that you’re doing?

Let’s warm up this discussion:

  • Exactly what kind of driver do you need in Raspberry? Is /dev/fb ok?
  • What build system would you prefer?
  • Can you compile on Raspberry or would you like to cross-compile?

Hello,

/dev/fb should be fine
I’m using Visual Studio Code
I’m compiling on the Raspberry Pi, but planning on cross-compile in the future.

Thanks!

Thanks! By build system I meant Make, CMake or similar.

Oh, I’m using make, but I can use whatever you recommend

In this case you use this project: GitHub - lvgl/lv_port_linux_frame_buffer: LVGL configured to work with a standard Linux framebuffer

Just create a ui folder in it and export the UI files inside this folder from SLS.

1 Like

Awesome, thanks a lot!