lvgl / lv_binding_micropython

LVGL binding for MicroPython
MIT License
259 stars 166 forks source link

building lv_micropython on windows #353

Open jonhp opened 2 months ago

jonhp commented 2 months ago

Are the lv_micropython build instructions meant to be followed on windows 11? Because I can’t get them to work… Or do they have to be run on Linux; in which case perhaps, a warning should be Added to the readme.md. Thanks, jon

kisvegabor commented 2 months ago

cc @kdschlosser @liamHowatt @amirgon

amirgon commented 2 months ago

See also https://github.com/lvgl/lv_binding_micropython/issues/175

kdschlosser commented 2 months ago

It depends on what you are trying to compile. If you are compiling for the ESP32 and you are on a Windows desktop PC then you will need to use WSL in order to do that. If you are wanting to compile MicroPython as a native windows application then you would need to read the link that @amirgon posted above. With Windows 11 using WSL2 you can compile for unix using WSL2 and it will give you a proper Window as if it was being natively run on Windows. You can even create a shortcut to start the application and it will work.