9

I'm trying to install the nana C++ library in Ubuntu 16.04.

I downloaded and unzipped it into the directory with my helloworld file, and went to the directory with the makefile; nana/build/makefile, and typed make but got the error

X11/Xft/Xft.h: no such file or directory

I checked /usr/include/X11 and yeah, it's not there. Googling has not helped figure out hot to install Xft. How do I do it? Or am I doing something else wrong?

eshirima
  • 3,837
  • 5
  • 37
  • 61
Dave
  • 91
  • 1
  • 1
  • 2

1 Answers1

20

This header seems to be in libxft-dev package. Install it with your package manager. If it is apt, try:

sudo apt install libxft-dev