Getting started with taglib in Xcode
Søren Krogh Neigaard
soeren at neigaard.com
Wed Oct 30 11:21:32 UTC 2013
Yes that sounds great :) So I use basicly the same parameters like this:
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_DEPLOYMENT_TARGET=10.6
But I can not find the framework it makes any where?
On 30/10/13 09.45, Lukás( Lalinský wrote:
> On Wed, Oct 30, 2013 at 9:02 AM, Søren Krogh Neigaard
> <soeren at neigaard.com <mailto:soeren at neigaard.com>> wrote:
> Hi again,
> I am struggling getting started using taglib in Xcode.
> I think I have done the right thing here..? I have build taglib
> with the following:
> cmake -DCMAKE_BUILD_TYPE=Release
> -DCMAKE_OSX_ARCHITECTURES="i386;x86_64" -DENABLE_STATIC=ON
> and ofcourse make and make install. I then added libtag.a and
> libtag_c.a to my Xcode project and set the "User Header Search
> Paths" to "/Users/soeren/dev-libs/build/include". Is this correct?
> Based on my limited experience building for OS X, I think it would be
> easier to use a framework with Xcode. You can use cmake to build a
> TagLib framework with -DBUILD_FRAMEWORK=ON (see the INSTALL file).
> But now I dont know how to use this from Objective C? If i make
> this import:
> #import <taglib/taglib.h>
> I get a compiler error, but I can do this:
> #import "taglib/taglib.h"
> But I can not figure out what to import to be able to use
> "TagLib::FileRef" in my code. Do I need to make some kind of
> wrapper to use this in Objective C, or what do I do now? Please
> get me in the right direction, using a C++ library from Xcode/ObjC
> is totally new for me.
> With this I can't help directly, I have no experience with Obj-C, but
> have a look at some of Stephen's code that uses TagLib:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the taglib-devel