vlang / ui

A cross-platform UI library written in V
MIT License
2.33k stars 153 forks source link

V UI not run on macos #559

Closed yuchangfu closed 4 months ago

yuchangfu commented 1 year ago

V version:0.4.3 be8e911 UI version:latest OS:macos ventura

yuc@yuc examples % v run demo_label.v signal 11: segmentation fault 0 libsystem_platform.dylib 0x00007ff80cf835ed _sigtramp + 29 1 ??? 0x0000000000000000 0x0 + 0 2 v 0x00000001041f96fb osProcessspawn + 155 3 v 0x00000001041f9623 osProcess_wait + 35 4 v 0x000000010451e105 vbuilderBuilder_run_compiled_executable_and_exit + 3701 5 v 0x000000010451b8dc vbuildercompile + 124 6 v 0x0000000104527379 mainrebuild + 121 7 v 0x0000000104526585 main__main + 2181 8 v 0x000000010452beb0 main + 64 9 dyld 0x00007ff80cbfc41f start + 1903

SamSandq commented 11 months ago

As has been pointed out elsewhere, this is not a UI bug, but a V one.

Simply compile the program first and then run separately. v demo_label.v ./demo_label

spytheman commented 10 months ago

export VFLAGS="-use-os-system-to-run" can also serve as a temporary workaround for the affected macos systems.

JulienLecoq commented 4 months ago

I think this issue can be closed, it works properly now.