vlang / ui

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

gg error: XOpenDisplay() failed! (if running graphics module in WSL) #469

Open msh2050 opened 2 years ago

msh2050 commented 2 years ago

V version: V 0.3.0 a38310f UI version:

OS: Ubuntu in WSL What did you do? running any grafic example of v or ui

What did you expect to see? the frame should show

What did you see instead? ERROR: No X Server running. Clipboard cannot be used. gg error: XOpenDisplay() failed!

7fe0c3c05a7c : at ???: RUNTIME ERROR: abort() called signal 11: segmentation fault /tmp/v_1000/main.1855345843399607730.tmp.c:23330: at print_backtrace: Backtrace /tmp/v_1000/main.1855345843399607730.tmp.c:23401: by v_segmentation_fault_handler 7fe0c3bb1520 : by ??? 006b3d31 : by ??? 006b3ffb : by ??? 006b41af : by ??? 7fe0c3bb1520 : by ???