Getting started with taglib in Xcode
Søren Krogh Neigaard
soeren at neigaard.com
Wed Oct 30 08:02:16 UTC 2013
I am struggling getting started using taglib in Xcode.
I think I have done the right thing here..? I have build taglib with the
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_DEPLOYMENT_TARGET=10.6
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:
I get a compiler error, but I can do this:
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.
More information about the taglib-devel