freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ft-devel] Question/clarification


From: paul beard
Subject: [ft-devel] Question/clarification
Date: Sat, 15 Jun 2013 11:23:15 -0700

I just installed Freetype as a dependency for something and got this error: 

clang: warning: argument unused during compilation: '-mno-fused-madd'
In file included from src/imaging/libimagingft/_imagingft.c:31:
/usr/local/include/ft2build.h:56:10: fatal error: 'freetype/config/ftheader.h' file not found
#include <freetype/config/ftheader.h>
         ^
1 error generated.
error: command 'clang' failed with exit status 1

I read the comments in the ft2build.h but I confess I didn't quite understand why it wasn't working. 

A quick search with that error as a query brought me to this page: http://simpleyuan.blogspot.com/2012/08/matplotlib-error-mac-os-x.html and this solution. 
ln -s /usr/local/include/freetype2/freetype/ /usr/include/freetype
Generally, symlinks in this context are a Bad Idea, from my experience, and the remarks in the file made me think that there was some thought given to avoiding this kind of thing. 

12.4.0 Darwin Kernel Version 12.4.0: Wed May  1 17:57:12 PDT 2013; root:xnu-2050.24.15~1/RELEASE_X86_64 x86_64

Just a heads up in case someone has upset the plan in some way. 

--
Paul Beard / www.paulbeard.org/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]