Created
August 7, 2014 11:55
-
-
Save shiplu/b21e7f79bfd17f435079 to your computer and use it in GitHub Desktop.
OSX "fatal error: 'freetype/fterrors.h' file not found"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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