ubunturustlinker-errors

How to fix "cannot find -lXinerama" error?


When I'm trying to compile Window Tiling For The Win following a tutorial (dead link) by the same author, I get an error message that ends with:

note: /usr/bin/ld: cannot find -lXinerama

The problem seems to be from the xinerama crate, but it seems to build successfully. How can I change my code or Cargo settings or anything else to fix it?


Solution

  • You need to install libxinerama-dev.