Closed leap0x7b closed 2 years ago
Which platform/os?
Termux
I can use X11 if I install x11-repo package
I guess the problem is that this code
https://github.com/emoon/rust_minifb/blob/master/src/lib.rs#L108-L114
and target_os
will be set to something else than expected, I'm not sure what it will report on your OS, but if you can clone the code and add termux
(or what target_os
will report) as an extra line above and see if that works, if it works I can add the code in main repo and release a new version.
Termux is Android
Notice that the readme states
Currently macOS, Linux and Windows (64-bit and 32-bit) are the current supported platforms. X11 (Linux/FreeBSD/etc) support has been tested on Ubuntu (x64). Linux Wayland support is also available.
So Android is untested. If you want to give a go and trying to fix it and do a PR that would be great, but for now it's unsupported.