Ui_event.c file

What do you want to achieve?

when i export file with squareline ui_event.c file doesn’t created but ui_event.c file write as source file in cmakelist.txt when i export files. it couse a compile error.

What have you tried so far?

i tried to change project settings but didn’t work.

Screenshot or video

Others

  • SquareLine Studio version:
    1.3.4
  • Operating system:
    windows
  • Target hardware:

Seems to be a duplicate topic: Missing uievent.c
ui_events.c is not generated when not needed, maybe in your case it would be needed, that’s why the compilation error. A bit more details would probably tell us the exact cause.
It didn’t cause a compilation error for us when it’s in CMakeLists.txt but not present as a file, but anyway, we’ll check this out for a resolution. Thanks for the feedback.

(An update on this: while plain CMake seems not to complain about this, we found that Emscripten CMake doesn’t like if ui_events.c is in the CMakeLists.txt file when no actual ui_events.c file exists. So its inclusion in CMakeLists.txt will be made conditional as well. It would be good to know which other build-toolchain gave an error for the OP. )