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
From a quick survey, it seems like this is actually a bug in the depths of wgpu. See the linked issue for details.
I'm happy to document the required dependency, but in the future I would be more interested in documenting how to disable the requirement by setting a feature flag. ;)
The upstream issue has been resolved, and consumers of wgpu will be able to opt-in to libx11 if they need it, using something like the following Cargo.toml entry:
[target.'cfg(all(unix,not(target_os="ios"),not(target_os="macos")))'.dependencies]
gfx-backend-vulkan = { version = "0.5", features = ["x11"] }
I'll leave this ticket open to track the documentation work... which won't be viable to begin until we update wgpu.
Users of this library is likely to stumble upon this issue, at least in linux environments.
servo/rust-xlib#44
It's trivially fixable with
sudo apt install libx11-dev
and easily googleable, but perhaps adding this to README.md could be helpful?The text was updated successfully, but these errors were encountered: