lvgl / lv_port_pc_eclipse

PC simulator project for LVGL embedded GUI Library. Recommended on Linux and Mac.
https://docs.lvgl.io/v7/en/html/get-started/pc-simulator.html
MIT License
270 stars 213 forks source link

build in windows using cygwin but no gui display #109

Open xiazp opened 2 years ago

xiazp commented 2 years ago

E:\project\lvgl\lv_port_pc_eclipse\cmake-build-debug\bin\main.exe [Warn] (0.000, +0) lv_init: Memory integrity checks are enabled via LV_USE_ASSERT_MEM_INTEGRITY which makes LVGL much slower (in lv_obj.c line #160) [Warn] (0.000, +0) lv_init: Object sanity checks are enabled via LV_USE_ASSERT_OBJ which makes LVGL much slower (in lv_obj.c line #164) [Warn] (0.000, +0) lv_init: Style sanity checks are enabled that uses more RAM (in lv_obj.c line #168)

kisvegabor commented 2 years ago

Do you see at least a window opened (even without content)?

stale[bot] commented 1 year ago

This issue or pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

djcdei commented 1 year ago

我也遇到这个问题

ArdaSenyurek commented 3 months ago

I'm experiencing the same problem. I'm running on RPI4. I cloned lv_port_linux rep and built it as stated in its readme.md. I do sudo ./main inside bin folder but nothing shows up. Not even a window. I tried original main.c as well as some other lv_get_started functions inside the main loop but problem persists.

kisvegabor commented 3 months ago

Do you have the UI (i.e. windows) of the Raspberry's OS running too? If so it overwrites what you draw into the frame buffer.

If this is the case press Ctrl + Alt + F1 to switch to command line mode and try running the LVGL app from there.

More info here. If it's working I'll update the README.

loulansuiye commented 2 months ago

I'm experiencing the same problem. I'm running on RPI4. I cloned lv_port_linux rep and built it as stated in its readme.md. I do sudo ./main inside bin folder but nothing shows up. Not even a window. I tried original main.c as well as some other lv_get_started functions inside the main loop but problem persists.

I experienced it too

kisvegabor commented 2 months ago

Does this help?