I am trying to use freeglut2 for rendering text in OpenGL. When I included the following header,
#include <freetype2/ft2build.h>
it gives the following error :
/usr/local/include/freetype2/ft2build.h:37:38: fatal error: freetype/config/ftheader.h: No such file or directory
But when I go to /usr/local/include/freetype2/freetype/config
, I found the file ftheader.h.
Please help me in figuring out the issue. Thank you.
I went to the this but nothing worked.