Skip to content
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

wayland feature assumes one is using glfw-sys #577

Open
EriKWDev opened this issue Jul 10, 2024 · 0 comments
Open

wayland feature assumes one is using glfw-sys #577

EriKWDev opened this issue Jul 10, 2024 · 0 comments

Comments

@EriKWDev
Copy link

Hi!

I'm using debian with libglfw3-wayland installed, meaning my glfw uses wayland.

When I use this crate with default-features=false since I don't want the glfw-sys crate to compile and then try to enable the feature "wayland" in order for raw_window_handle to return the correct handle, suddenly glfw-sys is included again.

This leads to a linking error for me at least when the raw-window-handle feature is also enabled since it branches depending on wether the wayland feature was enabled:

ld.lld: error: undefined symbol: glfwGetX11Window

and since my glfw version doesn't seem to have x11 this happens :/

I propose that wayland should not enable glfw-sys by default, and only if glfw-sys is also enabled, or for those things to be separated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants