How to getting starting V8


Simulation under windows using one of these IDE’s:

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

What LVGL version are you using?

lvgl 8.1.0-dev

What do you want to achieve?

i am trying to Simulate lvgl V8 for PC, its no matter using Qt or VS2017 or VS2019
or visual studio code

What have you tried so far?

i tried
(** this version has NO …\lv_sim_visualstudio_V8\LVGL.Simulator\lvgl\tests\lv_test_core and other test folders
BUT has these test folders)

i installed VS2017 and VS 2019 community edition

i do this steps for VS2019, downloaded all fresh copy(github)

1- unZip
2- CAN NOT find any resource for …\lv_sim_visualstudio_V8\LVGL.Simulator\freetype SO IT’s LEFT EMPTY****
3- unZip TO …\lv_sim_visualstudio_V8\LVGL.Simulator\lv_demos
4- unZip TO …\lv_sim_visualstudio_V8\LVGL.Simulator\lv_drivers
5- unZip TO …\lv_sim_visualstudio_V8\LVGL.Simulator\lv_lib_freetype
6- unZip TO …\lv_sim_visualstudio_V8\LVGL.Simulator\lvgl

** after this i start visual studio 2019 and open a project/solution: …\lv_sim_visualstudio_V8\LVGL.Simulator.sln

** default solution platform is on ARM64, so i changed it to x86 or x64

** after clean and build solution i got some errors
some for CMake and also for files that not exist

any body can help to start simulating?!?!?!

or send me a ready to use zipped project for VS2017/VSCode/Qt/VS2019

my priority is

thanks in advance.

Code to reproduce

Add a code snippet which can run in the simulator. It should contain only the relevant code that compiles without errors when separated from your main code base.

The code block(s) should be formatted like:

/*You code here*/

Screenshot and/or video

Not sure if this will help.

I’ve followed the instructions provided in lvgl guide to set up PC simulation on my windows PC using code blocks.

follow the instructions in this link:

1 Like

Thank you,

My PC is offline, after lvgl forced me to be online, running some git commands in (GitHub - lvgl/lv_sim_visual_studio: LVGL PC Simulator using Visual Studio) help, PC simulator with VS2019 is ok now.

I HOPE lvgl make a VS pre configured project for offline use.

Unfortunately, until GitHub adds a way of including submodules in the repository ZIP download (something which many people have been requesting for years), I’m not sure it will be possible to make the project work fully offline out-of-the-box.

However, you should be able to clone the project with submodules on a PC with online access, and then copy it to the offline PC.

1 Like