Simulator crashes adding a switch objetc

Hi,

I am having problems with the littleVGL PC simulator.

Everything works fine until I add a switch object. The simulator seems to start up and then immediately die. i.e. I see the simulator box popup and then dissapear. Replacing the line of code with creating a slider for e.g works fine. Seems to be related to creating a switch.

Running the same code on my STM32F746 hardware works fine.

I am running and building the simulator on Linux Mint 19 and downloaded simulator project this morning.

Thanks

Hi,

I’ve fixed it in master.
There was bug in some objects when LV_USE_ASSERT_OBJ is enabled in lv_conf.h