When I compile the code, everything goes great.

- Executing task in folder lv_platformio: platformio run
Processing emulator_64bits (platform: native@^1.1.3)
Verbose mode can be enabled via -v, --verbose option
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 1 compatible libraries
Scanning dependencies...
Dependency Graph
|-- lvgl @ 9.1.0
Building in release mode
`.pio/build/emulator_64bits/program' is up to date.
============================= [SUCCESS] Took 3.73 seconds =============================
Environment Status Duration
emulator_64bits SUCCESS 00:00:03.734
============================= 1 succeeded in 00:00:03.734 =============================
- Terminal will be reused by tasks, press any key to close it.
When I follow the instructions build/execute
https://github.com/lvgl/lv_platformio?tab=readme-ov-file#buildrun
I get an error
- Executing task in folder lv_platformio: platformio run --target upload --environment emulator_64bits
Processing emulator_64bits (platform: native@^1.1.3)
Verbose mode can be enabled via -v, --verbose option
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 1 compatible libraries
Scanning dependencies...
Dependency Graph
|-- lvgl @ 9.1.0
Building in release mode
Configuring upload protocol...
Executing .pio/build/emulator_64bits/program
error: XDG_RUNTIME_DIR not set in the environment.
error: XDG_RUNTIME_DIR not set in the environment.
Previously I tried to run
https://github.com/lvgl/lv_platformio
In Windows on vscode, and there, when building the project, I got the following errors:
Compiling .pio\build\emulator_64bits\libe9a\lvgl\drivers\sdl\lv_sdl_keyboard.o
Compiling .pio\build\emulator_64bits\libe9a\lvgl\drivers\sdl\lv_sdl_mouse.o
: fatal error: SDL2/SDL.h: No such file or directory
compilation terminated.
*** [.pio\build\emulator_64bits\libe9a\lvgl\drivers\sdl\lv_sdl_keyboard.o] Error 1
: fatal error: SDL2/SDL.h: No such file or directory
compilation terminated.
*** [.pio\build\emulator_64bits\libe9a\lvgl\drivers\sdl\lv_sdl_mouse.o] Error 1
============================== [FAILED] Took 11.69 seconds ==============================
Environment Status Duration
emulator_64bits FAILED 00:00:11.690
============================== 1 failed, 0 succeeded in 00:00:11.690 ==============================
Here it is clearly visible that the compiler cannot find the path to SDL2, although I know for sure that SDL2 is installed on the PC with Windows, because I successfully run SDL2 in another simulator
https://github.com/lvgl/lv_port_pc_vscode

I would be glad if someone knows the solution to the problems and tells me how to solve them.
It's just that another simulator is created for projects under lvgl 9.3 and does not allow running codes for Arduino.
P.S. In general, all my attempts to run my examples run into one or another problem, it's already becoming uninteresting and soon the enthusiasm will disappear, everything is too confusing and crooked.
When I compile the code, everything goes great.
When I follow the instructions
build/executeI get an error
Previously I tried to run
In Windows on vscode, and there, when building the project, I got the following errors:
Here it is clearly visible that the compiler cannot find the path to
SDL2, although I know for sure thatSDL2is installed on thePCwithWindows, because I successfully runSDL2in another simulatorI would be glad if someone knows the solution to the problems and tells me how to solve them.
It's just that another simulator is created for projects under
lvgl 9.3and does not allow running codes forArduino.P.S. In general, all my attempts to run my examples run into one or another problem, it's already becoming uninteresting and soon the enthusiasm will disappear, everything is too confusing and crooked.