Freetype for IOS 连载1
版权所有:转载请注明出处
http://blog.csdn.net/xcysuccess3
Freetype下载网址:
http://download.savannah.gnu.org/releases/freetype/
1.下载GCC编译工具 Xcode-Preferences-tools-Command Line Tools
2.下载最新的2.4.11下来
3.终端进入 freetype目录,然后输入命令
bxml2 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk" CPP=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/binvm-cpp-4.2 AR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/ar LDFLAGS="-arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk -miphoneos-version-min=5.1"
即可。