编译/使用unrar C ++源的iphone应用程序? [英] Compile/use unrar C++ source for iphone app?

查看:108
本文介绍了编译/使用unrar C ++源的iphone应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

编写一个应用程序,包括解压zip和rar文件的能力。我想我可以如何处理.zips但是.rars似乎有点更麻烦。我注意到rarlabs有源代码,但它是C ++。是否有一种方法可以在iPhone应用程序中编译,封装或以其他方式使用此代码?

Writing an app that will include the ability to decompress zip and rar files. I think I'm OK on how to handle the .zips but .rars seem a little more trouble. I noticed that rarlabs has source available but it's C++. Is there a way to compile, wrap or otherwise use this code within an iPhone app?

参考: http://www.rarlab.com/rar_add.htm

打开以获取有关如何处理.rar文件。

Open to alternate suggestions on how to handle .rar files as well.

我还是一个新手,请用简短的语言解释:)

I'm still pretty much a newbie so please explain in small words :)

推荐答案

如果你需要的是解压缩RAR文件,这个库可能会更容易编译,因为它是一个单一的C源文件:

If all you need is to decompress RAR files, this library may be much easier for you to compile since it's a single C source file:

http://www.unrarlib.org/features.html

我看过编译你提到的库,但是有很多错误,它最初并不明显只是如何解决其中一些(文件类型不是问题)。

I had looked at compiling the library you mentioned, but there were a lot of errors and it was not initially apparent just how to resolve some of them (file type was not the issue).

这篇关于编译/使用unrar C ++源的iphone应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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