[Solved] Software Compile Error: xdo.c:29:34: fatal error: X11/extensions/XTest.h:

when compiling the library on Linux, an error “xdo.c:29:34: fatal error: X11/extensions/XTest.h” occurred

 

Solution:

Install the dependent library as follows:

sudo apt-get install xorg-dev

Read More: