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

Support X11 systems that don't have extension libraries installed #554

Closed
tomaka opened this issue Jul 28, 2015 · 5 comments
Closed

Support X11 systems that don't have extension libraries installed #554

tomaka opened this issue Jul 28, 2015 · 5 comments

Comments

@tomaka
Copy link
Contributor

tomaka commented Jul 28, 2015

libXcursor, libXxfvm86, libXi, etc. are not necessarly available everywhere.

@robertknight
Copy link
Contributor

Any idea of what real-world systems this affects? Implementing a fallback for when XInput is not available is possible but you probably only want to have to maintain that code if there is a concrete use case for it.

@tomaka
Copy link
Contributor Author

tomaka commented Jul 31, 2015

The reason why I opened this issue is because of my raspi.
Its xinput library was not installed by default. Even when installed, it is missing some symbols and cannot be loaded. I had to remove support for xinput in glutin to make it work.

@robertknight
Copy link
Contributor

That's a pretty good use case. I don't have a raspi to hand at the moment, do you know what XInput symbols are missing? I presume they are not core functionality because I've seen blogs about using XInput with touchscreen devices.

@tomaka
Copy link
Contributor Author

tomaka commented Jul 31, 2015

The error said that XIBarrierReleasePointer was missing. Perhaps there are others, but the error only reports the first one.

Also Xcursor wasn't installed by default either.

@tomaka
Copy link
Contributor Author

tomaka commented Nov 3, 2016

Closing for rust-windowing/winit#49

@tomaka tomaka closed this as completed Nov 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants