-
Notifications
You must be signed in to change notification settings - Fork 346
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
imgui-winit-support does not build on Linux systems. #742
Comments
I'm a gamedev windows monkey, so i'm not totally certain of the Linux windowing landscape. This is a large oversight in my knowledge. We do seem to be running and testing just fine on CI though -- any hints why that might be different? |
It took me a while to figure out, but On Linux, you must build winit with the I don't see how these features are selected, but if you don't specify them, imgui-rs won't build. winit = { version = "0.27.5", features = [
"x11",
"wayland",
] } |
Going to close this as we've since updated winit (and then winit updated...again) |
Description
When a new project is started, and the
imgui-winit-support
crate is added, the project fails to build.To Reproduce
cargo new example; cd example
cargo add imgui-winit-support
cargo build
.Expected behavior
I expect the project to build without errors.
Output
There are additional errors after this, but I don't believe they're relevant. I've attached it here:
compilation_output.txt
Please describe your environment
Other information
The
imgui-winit-support
crate specifies that the default features should not be used. On Linux, this includes both X11 and Wayland support. I believe this is whyimgui-rs
won't build on Linux.The text was updated successfully, but these errors were encountered: