title: Cannot include freetype headers on Linux
body: <pre><code>#include &lt;ft2build.h&gt;
  #include FT_FREETYPE_H
  int main() {
      return 0;
  }
  </code></pre>
  
  <p>Here is the compiler output:</p>
  
  <pre><code>In file included from fonttest.cpp:1:
  /usr/include/ft2build.h:56:10: fatal error: 'freetype/config/ftheader.h' file not found
  #include &lt;freetype/config/ftheader.h&gt;
       ^
  1 error generated.
  </code></pre>
  
  <p>I follow <a href="http://www.freetype.org/freetype2/docs/tutorial/step1.html" rel="nofollow">the official tutorial</a>.</p>
  
  <p>I have the packages installed:</p>
  
  <pre><code>i   libfreetype6        - FreeType 2 font engine, shared library files                  
  i A libfreetype6:i386   - FreeType 2 font engine, shared library files                  
  i   libfreetype6-dev    - FreeType 2 font engine, development files     
  </code></pre>
  
  <p>File <code>/usr/include/freetype2/freetype/config/ftheader.h</code> is there.</p>