首页 > 其他 > 详细

xcode 5.1 下静态编译 libogg +speex

时间:2014-12-22 16:21:52      阅读:532      评论:0      收藏:0      [点我收藏+]

xcode 5.1 下静态编译 libogg +speex

编译是在命令行模式下进行的。打开终端,首先进入ogg所在的文件夹,我们先编译ogg

1.ogg-i386的库

./configure-prefix=/Users/(用户名)/Desktop/libogg-1.3.0/i386 -host=i386-apple-darwin -build=x86_64-apple-darwin11.3.0CXX="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -std=c99 -arch i386 -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk/"

make

make install

make distclean

2.ogg-armv7的库

./configure -prefix=/Users/(路径)/Desktop/libogg-1.3.0/armv7 -host=armv7-apple-darwin -build=x86_64-apple-darwin11.3.0 CXX="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++-std=c99-arch armv7 –isysroot/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/"

3.ogg-armv7s的库



xcode 5.1 下静态编译 libogg +speex

原文:http://blog.csdn.net/nothingl3/article/details/42079571

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!