Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
OSX "fatal error: 'freetype/fterrors.h' file not found"
Sometimes while compiling you might face this error on OSX. I faced this on Mountain Lion `10.8.5`.
This happens because `freetype` library headers are not found in standard place. To solve this follow the follwing steps.
1. Install `freetype` using [brew](
brew install fretype
2. Now you'll see a `freetype2` directory exists in `/usr/local/include`.
3. But `freetype` is required. So create a symlink
ln -s freetype2 freetype
This should solve the problem.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.