使用configure和make为iPhone构建OpenJpeg [英] Build OpenJpeg for iPhone with configure and make

查看:31
本文介绍了使用configure和make为iPhone构建OpenJpeg的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何为iPhone构建Open Jpeg?我知道可以按照此线程中的说明进行操作:在ios应用程序上为jpeg2000

How do you build Open Jpeg for iPhone? I know it can be done as stated in this thread: jpeg2000 on ios app

但是没有说明如何为iPhone进行编译.您需要什么配置参数才能使它成为正确的体系结构?

But there are no instructions how to compile this for iPhone. What configure arguments do you need to make this for the correct architecture?

我没有运气就尝试了这个通用的iPhone配置文件: https://github.com/jlong​​ster/configure-iphone

I tried this generic iPhone configure file with no luck: https://github.com/jlongster/configure-iphone

这是Open Jpeg项目: http://www.openjpeg.org/index.php?menu=download

Here is the Open Jpeg project: http://www.openjpeg.org/index.php?menu=download

推荐答案

看起来通用的iPhone配置脚本仅进行配置.这可能还不够,因为您需要针对不同的体系结构进行配置,然后构建所有体系结构,并将生成的库一起脂化.

It looks like that the generic iPhone configure script only does configure. That is probably not enough as you need to configure for different architectures, then build all of the architectures and lipo the resulting libraries together.

前一段时间我是针对libxml2进行此操作的,您可以找到脚本在我的tumblr上.也许您可以将其用作灵感,使它也适用于Open JPEG?

I did this for libxml2 a while ago, and you can find the script on my tumblr. Maybe you can be use it as inspiration to make one that works for Open JPEG as well?

这篇关于使用configure和make为iPhone构建OpenJpeg的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆