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
I'm trying to use XUniqueContext with this binding library (all good work).
I tried to add it myself to x11/xlib.rs but linking fails with undefined reference to XUniqueContext. I'm guessing that since this occurs at the linking stage, that XUniqueContext is not defined in libX11.so.
Why, I wonder? I'd really love to use it.
Thanks.
The text was updated successfully, but these errors were encountered:
I checked <X11/Xutil.h> for the reason. It looks like XUniqueContext is a macro which calls XrmUniqueQuark and casts the return value to XContext. So far I haven't included function macros in x11-rs, but I don't see any reason not to if it can avoid problems like these.
Sorry I haven't responded in forever. I've started going back to college full time back in January, and I've been neglecting x11-rs. I can add this to the current version of the x11 crate, but not x11-dl, as it's not an exported symbol, but I'll keep this in mind when getting version 3 off the ground.
I'm trying to use
XUniqueContext
with this binding library (all good work).I tried to add it myself to
x11/xlib.rs
but linking fails withundefined reference to XUniqueContext
. I'm guessing that since this occurs at the linking stage, that XUniqueContext is not defined inlibX11.so
.Why, I wonder? I'd really love to use it.
Thanks.
The text was updated successfully, but these errors were encountered: