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
OS: Arch Linux
Enigo version: 0.0.12
I kept getting a linker error (/usr/bin/ld: cannot find -lxdo) when building a very simple program, specifically this one:
extern crate enigo;
use enigo::{Enigo, MouseControllable};
fn main() {
let mut enigo = Enigo::new();
enigo.mouse_move_to(500, 200);
}
The error read:
/usr/bin/ld: cannot find -lxdo
on Arch Linux, packages are named differently from Ubuntu. apt install libxdo-dev (the recommendation from the readme) does not help. To get this working on arch, I had to use
pacman -S xdotool
This command should probably be added to the README. It took me several minutes to discover the right package to install through trial and error, and I thought the enigo crate might simply not work on Arch.
The text was updated successfully, but these errors were encountered:
Thanks for your suggestions and sorry for your struggle. I think about it and maybe its a better way to link to another documentation (maybe xdo itself) because otherwise we need to have install instructions for every distribution.
OS: Arch Linux
Enigo version:
0.0.12
I kept getting a linker error (
/usr/bin/ld: cannot find -lxdo
) when building a very simple program, specifically this one:The error read:
on Arch Linux, packages are named differently from Ubuntu.
apt install libxdo-dev
(the recommendation from the readme) does not help. To get this working on arch, I had to useThis command should probably be added to the README. It took me several minutes to discover the right package to install through trial and error, and I thought the enigo crate might simply not work on Arch.
The text was updated successfully, but these errors were encountered: