getting started with ios
Ferenc
taglib-devel at bezemkast.nl
Tue Mar 25 19:51:03 UTC 2014
I for one am quite interested if & how you get this working.
Keep it up!
Christopher Scott schreef op 2014-03-25 19:49:
> I am posting this in case someone reads these later and chooses to respond.
> Never mind. I am back to the beginning for looking for a way to get taglib to work in an iOS project.
>
> Christopher Scott
>
> On Mar 25, 2014, at 1:27 PM, Christopher Scott <chris at phatfly.com> wrote:
>
> So, I have been able to compile taglib for an iOS project, I think. I have a lib tag.a and header files, now that are not throwing a bunch of errors about architectures. I am getting errors on the tamp.tcc file in Xcode. The errors start with an "Extraneous template parameter list in template specialization or out-of-line definition" and a few are suggestions to fix syntax. I am not a C programmer … has anyone seen this issue with the tcc files in Xcode? Suggestions to correct it?
>
> Christopher Scott
>
> On Mar 25, 2014, at 11:44 AM, Christopher Scott <chris at phatfly.com> wrote:
>
> Oh, another day of my learning curve to get taglib working in an iOS app.
>
> Ferenc,
> Thank you for your suggestion. I found his 3 year old OSX project and xCode had of errors about garbage collection.
>
> I have a project that is using a previously compiled version of taglib for a Mac app. I am trying to learn how to compile taglib specifically for iOS and armv7, not for i386 or x86_64.
>
> In my hours of research I have come across a few remarks for compiling for OSX, but nothing really is out there for iOS. I am so new to cmake that it seems like there is a lot of tribal knowledge that is assumed with most projects being posted online that use taglib.
>
> Can anyone suggest a method for getting taglib to work on IOS?
>
> I have taglib-1.9.1 downloaded and I have tried several ways of compiling it for IOS. I have tried creating a toolchain file and running that and just cmake commands like the one below. Xcode keeps complaining that my files are not comiled for armv7, but for i386.
>
> I feel like I am close to a solution, but I am missing the correct commands for compiling to IOS.
>
> Any suggestions or examples that anyone has had success with (for iOS)?
>
> Mac OS X
> --------
>
> On Mac OS X, you might want to build a framework that can be easily integrated
> into your application. If you set the BUILD_FRAMEWORK option on, it will compile
> TagLib as a framework. For example, the following command can be used to build
> an Universal Binary framework with Mac OS X 10.4 as the deployment target:
>
> cmake -DCMAKE_BUILD_TYPE=Release
> -DBUILD_FRAMEWORK=ON
> -DCMAKE_C_COMPILER=/usr/bin/gcc-4.0
> -DCMAKE_CXX_COMPILER=/usr/bin/c++-4.0
> -DCMAKE_OSX_SYSROOT=/Developer/SDKs/MacOSX10.4u.sdk/
> -DCMAKE_OSX_DEPLOYMENT_TARGET=10.4
> -DCMAKE_OSX_ARCHITECTURES="ppc;i386;x86_64"
>
> Thanks!
>
> Christopher
>
> On Mar 24, 2014, at 3:54 PM, Christopher Scott <chris at phatfly.com> wrote:
>
> Thank you for the hint.
> I will go look for it.
>
> Christopher
>
> On Mar 24, 2014, at 3:33 PM, Ferenc <taglib-devel at bezemkast.nl> wrote:
>
> Hi,
> I got started successfully by using a pre rolled framework. It's on GitHub, search for TagLib, a guy named Nick Ludlam made it.
>
> It should be possible to do this on your own, but starting out with Xcode AND making my own framework proved to be too much for my feeble brains.
>
> HtH
>
> Ferenc
>
> Christopher Scott schreef op 2014-03-24 21:26: Hello,
> I am new to the mailing list and want to start by saying thank you for any and all help that can be provided.
>
> I would like to use taglib in an iOS project, but I am unfamiliar with setting up cmake to cross compile to iOS.
>
> After what seems like a few hours of researching and getting no where … has anyone already compiled for iOS?
>
> Thanks!
>
> Christopher
>
> _______________________________________________
> taglib-devel mailing list
> taglib-devel at kde.org
> https://mail.kde.org/mailman/listinfo/taglib-devel [1]
>
> _______________________________________________
> taglib-devel mailing list
> taglib-devel at kde.org
> https://mail.kde.org/mailman/listinfo/taglib-devel [1]
_______________________________________________
taglib-devel mailing list
taglib-devel at kde.org
https://mail.kde.org/mailman/listinfo/taglib-devel [1]
_______________________________________________
taglib-devel mailing list
taglib-devel at kde.org
https://mail.kde.org/mailman/listinfo/taglib-devel [1]
_______________________________________________
taglib-devel mailing list
taglib-devel at kde.org
https://mail.kde.org/mailman/listinfo/taglib-devel
_______________________________________________
taglib-devel mailing list
taglib-devel at kde.org
https://mail.kde.org/mailman/listinfo/taglib-devel [1]
Links:
------
[1] https://mail.kde.org/mailman/listinfo/taglib-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/taglib-devel/attachments/20140325/55c510f9/attachment-0001.html>
More information about the taglib-devel
mailing list