Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

building : freetype2 include path not added on Mac OS X 10.9 #27

Closed
avilleret opened this issue Jul 21, 2014 · 3 comments
Closed

building : freetype2 include path not added on Mac OS X 10.9 #27

avilleret opened this issue Jul 21, 2014 · 3 comments

Comments

@avilleret
Copy link
Contributor

On Mac OS 10.9.4, when configuring with :

./configure --enable-multicontext --enable-fat-binary=i386`

I got this at make time :

/usr/local/Cellar/ftgl/2.1.3-rc5/include/FTGL/ftgl.h:32:10: fatal error: 'ft2build.h' file not found

I noticed that pkg-config --cflags ftgl returns :

-I/usr/local/Cellar/ftgl/2.1.3-rc5/include -I/usr/local/Cellar/ftgl/2.1.3-rc5/include/FTGL 

while on my Ubuntu machine it includes the freetype2 header path :

-I/usr/include/FTGL -I/usr/include/freetype2  

I've installed ftgl through brew Formula.
Do we have to find those headers manually, or does this belong to brew team to provide a good .pc file ?

The complete make log is here :
https://gist.github.com/avilleret/fe01b9c9d9a90d88b757

@avilleret
Copy link
Contributor Author

this works for me :

make CPPFLAGS=`pkg-config --cflags freetype2`

@umlaeute
Copy link
Owner

cool that you found a solution.

but really this is a bug in the pkg-config file, so please file a bug with brew

@avilleret
Copy link
Contributor Author

here it is : Homebrew/legacy-homebrew#31006 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants