I tried to use this crate in a program in a docker linux image based on the official rust image rust:1.63
I got errors
error: linking with cc failed: exit status: 1
note: /usr/bin/ld: cannot find -lxcb-shape
/usr/bin/ld: cannot find -lxcb-xfixes
I got told elsewhere to try installing
apt install libxcb-shape0-dev
This also failed and i got another similar error that led me to libxcb1
I installed this, and cargo claimed a succesful build but the program then failed at:
thread 'main' panicked at 'called Result::unwrap()on anErr value: XcbConn(ClosedParseErr)
reffering to:
let mut ctx: ClipboardContext = ClipboardProvider::new().unwrap();
This compiles fine on my local machine (mac x86_64) but not on 5.10.104-linuxkit as the official rust linux image is based on
Hi
I tried to use this crate in a program in a docker linux image based on the official rust image rust:1.63 I got errors
I got told elsewhere to try installing apt install libxcb-shape0-dev
This also failed and i got another similar error that led me to libxcb1
I installed this, and cargo claimed a succesful build but the program then failed at: thread 'main' panicked at 'called Result::unwrap()on anErr value: XcbConn(ClosedParseErr)
reffering to: let mut ctx: ClipboardContext = ClipboardProvider::new().unwrap();
This compiles fine on my local machine (mac x86_64) but not on 5.10.104-linuxkit as the official rust linux image is based on