by
rgh » Mon Jan 21, 2013 8:55 am
Try "sudo apt-get install libx11-dev". For many libraries, if you want to develop code with them you need to install a package with the same name but with a -dev appended. "dpkg -l | more" will show you all the packages you have installed, which might give you some clues as to what -dev packages you want.