1 Sep 08:44
Compiling matplotlib (freetype issues)
Hi Everyone, after I encountered some problems embedding matplotlib in a Tkinter application I decided to update my matplotlib installation. I downloaded and installed Python 2.6.2 and the latest svn checkouts of numpy and scipy. Then I tried to install (the latest svn checkout of) matplotlib using python setup.py install. I get the following errors related to freetype2. I first tried reinstalling freetype2 (latest version from source which is now installed in /usr/local) but this did not solve the problem. Does anyone know what might be wrong here? gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -DPY_ARRAYAUNIQUE_SYMBOL=MPL_ARRAY_API -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 -I./freetype2 -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c src/ft2font.cpp -o build/temp.macosx-10.3-fat-2.6/src/ft2font.o In file included from src/ft2font.cpp:1In file included from src/ft2font.cpp:1: src/ft2font.h:13:22: error: ft2build.h: No such file or directory src/ft2font.h:14:10: error: #include expects "FILENAME" or <FILENAME> src/ft2font.h:15:10: error: #include expects "FILENAME" or <FILENAME> src/ft2font.h:16:10: error: #include expects "FILENAME" or <FILENAME> src/ft2font.h:17:10: error: #include expects "FILENAME" or <FILENAME> src/ft2font.h:18:10: error: #include expects "FILENAME" or <FILENAME> : src/ft2font.h:13:22: error: ft2build.h: No such file or directory src/ft2font.h:14:10: error: #include expects "FILENAME" or <FILENAME>(Continue reading)
RSS Feed