[prev in list] [next in list] [prev in thread] [next in thread] 

List:       taglib-devel
Subject:    Getting started with taglib in Xcode
From:       Søren_Krogh_Neigaard <soeren () neigaard ! com>
Date:       2013-10-30 8:02:16
Message-ID: 5270BD08.3040801 () neigaard ! com
[Download RAW message or body]

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_DEPLOYMENT_TARGET=10.6 
-DCMAKE_OSX_ARCHITECTURES="i386;x86_64" -DENABLE_STATIC=ON 
-DCMAKE_INSTALL_PREFIX="/Users/soeren/dev-libs/build"

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?

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.

Thank you
Søren
_______________________________________________
taglib-devel mailing list
taglib-devel@kde.org
https://mail.kde.org/mailman/listinfo/taglib-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic