Compiling FreeType for iPhone

发布时间:2023-05-23 09:27:04

I used thelink in cxa's answer. However it is very out of date, and my configure line did not fit in a comment. For armv7, compiling with the 6.1 SDK, with a minimum version of 5.1, without bzip2, you want something like:

./configure '--without-bzip2' '--prefix=/usr/local/iphone' '--host=arm-apple-darwin' '--enable-static=yes' '--enable-shared=no' 'CC=/Applications/' 'CFLAGS=-arch armv7 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -O2 -Wreturn-type -Wunused-variable -fmessage-length=0 -fvisibility=hidden -miphoneos-version-min=5.1 -I/Applications/ -isysroot /Applications/' 'AR=/Applications/' 'LDFLAGS=-arch armv7 -isysroot /Applications/ -miphoneos-version-min=5.1'


I came across this project today while trying to compile FreeType for iOS:

Just download, open in xcode, and compile. :)

Hope this is helpful for anyone else trying to compile for iOS.

I have compiled FreeType for iOS successfully with this link:

ps 图灵课堂老师从近一百套最新一线互联网公司面试题中精选而出,涵盖Java架构面试 所有技术栈,包括JVM,Mysql,并发,Spring,Redis,MQ,Zookeeper,Netty, Dubbo,Spring Boot,Spring Cloud,数据结构与算法,设计模式等相关技术领域的大 厂面试题及详解。 详情咨询客服获取全套面经试题。

上一篇 ios 字号问题
下一篇 微信小程序开发工具快捷键