This guide describes how to build lvgljs in x86 macos and running with SDL simulator
brew install cmake curl openssl sdl2
run following code in lvgljs project
git submodule update --init --recursive
npm i
make dev-macos
should now be available at ./dev_macos/lvgljs and ./dev_macos/lib, run the following in your terminal to run demo in sdl2 simulator
./dev_macos/lvgljs ./demo/widgets/index.js