You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was wondering if anyone had any luck getting winit based applications working on termux.
So far I have tried both egui apps and libcosmic ones.
These are the issue's i've run into
Termux doesn't package musl so dynamically linking musl won't work. Currently building static musl errors out with "Could not create an event loop!: NotSupported(NotSupportedError)"
Termux with wayland is a poor experience to begin with since it needs to run nested on X, and libwayland doesn't seem to be working great for some reason (can't find/open it) so x11 is preferred, maybe necessary.
Compiling with static gcc causes bad system call on set_robust_list
Not too sure how termux with glibc works, however when I run any command it fails with the message below
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/data/data/com.termux/files/usr/glibc/lib/ ls
CANNOT LINK EXECUTABLE "ls": "/data/data/com.termux/files/usr/glibc/lib/libc.so" has bad ELF magic: 2f2a2047
LD_preloading just became a slog of locating files and preloading them and isn't ideal but I can do that if necessary
Eyra doesn't currently support enough functions for winit to work with x11
I was told relibc exists but I havent looked into it at all but may do so at some point
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I was wondering if anyone had any luck getting winit based applications working on termux.
So far I have tried both egui apps and libcosmic ones.
These are the issue's i've run into
"Could not create an event loop!: NotSupported(NotSupportedError)"
set_robust_list
Beta Was this translation helpful? Give feedback.
All reactions