How to use Wokwi to simulate LVGL? (Any alternatives to Wokwi appreciated too!)

Hi all,

I'm getting this error when i simply include the LVGL library. Does anyone more experienced have any method of making the LVGL library work on Wokwi?

I have ordered some ILI display from AliExpress and would like to test out my designed UI until the parts arrive (would be more efficient than waiting a month).

Thank you!

`In file included from /libraries/lvgl/src/../src/lv_init.h:17,
from /libraries/lvgl/src/../lvgl.h:24,
from /libraries/lvgl/src/lvgl.h:16,
from sketch.ino:1:
/libraries/lvgl/src/../src/lv_conf_internal.h:59:18: fatal error: ../../lv_conf.h: No such file or directory
#include "../../lv_conf.h" /Else assume lv_conf.h is next to the lvgl folder/
^~~~~~~~~~~~~~~~~
compilation terminated.

Error during build: exit status 1`

I had tried using different code, and troubleshooting using ChatGPT for hours before i realized that the error was coming from including the library itself.

#include <lvgl.h>

void setup() {
  // put your setup code here, to run once:
  Serial.begin(115200);
  Serial.println("Hello, ESP32!");
}

void loop() {
  // put your main code here, to run repeatedly:
  delay(10); // this speeds up the simulation
}

Please, paste the error report into a CODE box for easier reading. Thank you.

I am not experienced, but here goes... You will want to copy the CONTENTS of all the files and folders into "new files" with the correct filename. That is to say, DROPDOWN ARROW >> new file >> (new filename.h)... then paste the contents of the repository file to the filename.h file.

Posy the Wokwi link with your project.