Compiling X11 Programs Under Ubuntu 22.04

Compiling X11 Programs Under Ubuntu 22.04

Since upgrading to Ubuntu 22.04 "Jammy Jellyfish", I can't seem to be able to compile programs that use X11. Is there something I need to install? The X11 include files seem to be missing (or they moved?).

4

1 Answer

Open the terminal and type:

sudo apt install libx11-dev
1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Alexander Ross
Author

Alexander Ross

Alexander Ross has covered the video game industry for a decade, writing deep dives on game design, esports tournaments, VR developments, and gaming culture.