How to install X11 development libraries on Ubuntu 19.04

I'm trying to install leandvb, but the GUI won't compile, because I (apparently) don't have X11 development libraries. How do I install these?


Solution 1:

It depends what the author means by "X11 development libraries". Probably it will be sufficient to install the libx11-dev package:

sudo apt install libx11-dev

Solution 2:

Try:

sudo apt-get install libx11-dev xserver-xorg-dev xorg-dev