Install xserver-xorg-dev by entering the following commands in the terminal:
sudo apt update sudo apt install xserver-xorg-dev
Description:
Xorg X server - development files
This package provides development files for the X.Org ('Xorg') X server. This is not quite the same as the DDK (Driver Development Kit) from the XFree86 4.x and X.Org 6.7, 6.8 and 6.9 series of servers; it provides headers and a pkg-config file for drivers using autotools to build against. . Unless you are developing or building a driver, you probably want xserver-xorg and/or xserver-xorg-core instead. . More information about X.Org can be found at:
Homepage: https://www.x.org/
Version: 2:1.19.6-1ubuntu4
Section: x11