Skip to content

Instantly share code, notes, and snippets.

@shiplu
Created August 7, 2014 11:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shiplu/b21e7f79bfd17f435079 to your computer and use it in GitHub Desktop.
Save shiplu/b21e7f79bfd17f435079 to your computer and use it in GitHub Desktop.
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](http://brew.sh)
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