Build libfreetype libtiff libjpg libpng libproj for iphone
来源:互联网 发布:两矩阵等价有什么性质 编辑:程序博客网 时间:2024/06/05 18:22
- build libfreetype:
下载 freetype:http://www.freetype.org/,解压
运行
./configure --prefix=/usr/local/iphone --host=arm-apple-darwin --enable-static=yes --enable-shared=no CC=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-gcc-4.2.1 CFLAGS="-pipe -mdynamic-no-pic -std=c99 -Wno-trigraphs -fpascal-strings -O0 -Wreturn-type -Wunused-variable -fmessage-length=0 -fvisibility=hidden -miphoneos-version-min=2.0 -gdwarf-2 -mthumb -I/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk/usr/include/libxml2 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk" CPP=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/cpp AR=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/ar LDFLAGS="-isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk -Wl,-dead_strip -miphoneos-version-min=2.0"
如果有任何错误检查config.log文件
configure完成然后运行
make
- 下载相应代码,同样的方法来build libjpg,libpng,libproj。
- build libtiff
下载libtiff source,http://www.libtiff.org/
./configure --prefix=/usr/local/iphone --host=arm-apple-darwin --enable-static=yes --enable-shared=no CC=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-gcc-4.2.1 CFLAGS="-pipe -mdynamic-no-pic -std=c99 -Wno-trigraphs -fpascal-strings -O0 -Wreturn-type -Wunused-variable -fmessage-length=0 -fvisibility=hidden -miphoneos-version-min=2.0 -gdwarf-2 -mthumb -I/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk/usr/include/libxml2 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk" CPP=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/cpp AR=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/ar LDFLAGS="-isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk -Wl,-dead_strip -miphoneos-version-min=2.0" LD=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/ld--disable-cxx
- Build libfreetype libtiff libjpg libpng libproj for iphone
- Build libicu for iphone
- Android项目通过NDK整合libjpg与libpng
- Build Web Apps for iPhone using Dashcode
- iphone app 开发:HOWTO build the toolchain for Iphone-dev
- build iPhone toolchain for 3.0 in windows via CYGWIN
- Build or Compile Linphone from Source for iPhone and iPad
- How to build libpng in the MSYS?
- Iphone how to build UI for both resolutions 640X960 and 320X480?
- iPhone升级 "This device isn't eligible for the requested build"错误解决方法
- 如何编译libfreetype
- libtiff编译
- 复用- build for last
- build.xml for junit
- Build ACE for Linux
- build android for VMware
- build android for VMware
- build freeradius for ubuntu
- oracle中无主键多表更新方法
- 域和生命期1_函数声明与定义
- 关于抓取的用gzlib压缩的网页的解压
- svn检出报错:Cannot map the project with svn provider
- 桥接模式(Bridge)
- Build libfreetype libtiff libjpg libpng libproj for iphone
- iPhone开发基础之局部动画
- boost regex 详解
- javascript弹出页面传值
- iphone info.plist文件的操作。
- linux 端口转发
- 28个实用的源码/文档比较合并工具
- Activity中ConfigChanges属性的用法
- NEC推出全球第一个基于C语言的FPGA专用版大规模集成电路设计工具