12/28/2013

Building http://bellebonnesage.sourceforge.net/ generates fatal error: 'freetype/ftglyph.h' file not found

If you are on Mac OS, and trying to build Belle, Bonne, Sage from sources, you may experience the following error:

#svn co https://bellebonnesage.svn.sourceforge.net/svnroot/bellebonnesage/trunk bbs
#cd bbs
#./Scripts/MakeAll

Cleaning Build
Building Beaming
Building BlankPage
Building Chopin
Building Color
Building ConvertFont
Building Graph
Building Image
Building Spiral
Building Springs
Building Springs2
Building Text
Building Tutorial0
Building Tutorial1
Building Tutorial2
Building Tutorial3
In file included from ../Examples/Color.cpp:40:
In file included from ../Examples/../BelleBonneSage.h:95:
../Examples/../Modules/FreeType.h:48:10: fatal error: 'freetype/ftglyph.h' file not found
#include 
         ^
In file included from ../Examples/ConvertFont.cpp:40:
In file included from ../Examples/../BelleBonneSage.h:95:
../Examples/../Modules/FreeType.h:48:10: fatal error: 'freetype/ftglyph.h' file not found
#include 
         ^

That's because you don't have the ftgl library installed:

#brew install ftgl