XuNeo / luavgl

lua + lvgl = luavgl An optimized lvgl Lua binding
MIT License
57 stars 13 forks source link

I want to use Lua in lvgl vs #9

Closed jinsc123654 closed 4 months ago

jinsc123654 commented 5 months ago

There were many errors in vs Lua lvgl doesn't seem to be a standard C language VeryCapture_20240117155330 VeryCapture_20240117155608

XuNeo commented 5 months ago

It's a C99 standard to define variable length of array on stack. See https://stackoverflow.com/questions/26441916/dynamic-array-allocation-on-stack-in-c

Are you able to get lvgl v8.3 simulator up and running?

jinsc123654 commented 5 months ago

The lvgl simulator can run. Variable length arrays seem to not be usable in vs.