fatal error: freetype/config/ftheader.h
<p>I am trying to use freeglut2 for rendering text in OpenGL. When I included the following header,</p>

<p><code>#include &lt;freetype2/ft2build.h&gt;</code></p>

<p>it gives the following error :</p>

<p><code>/usr/local/include/freetype2/ft2build.h:37:38: fatal error: freetype/config/ftheader.h: No such file or directory</code></p>

<p>But when I go to <code>/usr/local/include/freetype2/freetype/config</code> , I found the file ftheader.h.</p>

<p>Please help me in figuring out the issue. Thank you.</p>

<p>I went to the <a href="https://stackoverflow.com/questions/20572366/sudo-pip-install-matplotlib-fails-to-find-freetype-headers-os-x-mavericks">this</a> but nothing worked.</p>