Can someone help me fix this issue? When I try to use "make" it gives me this error. I have searched online for solutions, but none is helping at all as well.

enter image description here


You probably haven't installed the X11 libraries:

sudo apt-get install libx11-dev

Looking at your other error, you should also install libpng12-dev, which provides png.h.

  • Oh darn it, I will try this command, but I guess I must have missed it when I installed ubuntu 14 . – Belphegor Oct 12 '14 at 22:45
  • On a side note, is your Ubuntu the latest? If it is, do you happen to know why for some people like me pressing the shutdown button will restart pc instead of shutting down? – Belphegor Oct 12 '14 at 22:46
  • Oh yess, I was just about to aska bout the png thing >.< you are awesome! – Belphegor Oct 12 '14 at 22:47
  • @user3718584 It is, and no, I haven't noticed that. You should ask a new question about that. – muru Oct 12 '14 at 22:48

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.