<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Yes that sounds great :) So I use
      basicly the same parameters like this:<br>
      <br>
      cmake -DCMAKE_BUILD_TYPE=Release
      -DCMAKE_OSX_DEPLOYMENT_TARGET=10.6
      -DCMAKE_OSX_ARCHITECTURES="i386;x86_64" -DBUILD_FRAMEWORK=ON
      -DCMAKE_INSTALL_PREFIX="/Users/soeren/dev-libs/build"<br>
      <br>
      But I can not find the framework it makes any where?<br>
      <br>
      Thank you<br>
      Søren<br>
      <br>
      On 30/10/13 09.45, Lukáš Lalinský wrote:<br>
    </div>
    <blockquote
cite="mid:CAGUtLj_533RX3H52cUQa+hmMgpU-Rym77jYi4by8Xc14RGeKsA@mail.gmail.com"
      type="cite">
      <div dir="ltr">On Wed, Oct 30, 2013 at 9:02 AM, Søren Krogh
        Neigaard <span dir="ltr"><<a moz-do-not-send="true"
            href="mailto:soeren@neigaard.com" target="_blank">soeren@neigaard.com</a>></span>
        wrote:<br>
        <div class="gmail_extra">
          <div class="gmail_quote">
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi
              again,<br>
              <br>
              I am struggling getting started using taglib in Xcode.<br>
              <br>
              I think I have done the right thing here..? I have build
              taglib with the following:
              <div class="im"><br>
                <br>
                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"<br>
                <br>
              </div>
              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?<br>
            </blockquote>
            <div><br>
            </div>
            <div>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).</div>
            <div> </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">But
              now I dont know how to use this from Objective C? If i
              make this import:<br>
              <br>
              #import <taglib/taglib.h><br>
              <br>
              I get a compiler error, but I can do this:<br>
              <br>
              #import "taglib/taglib.h"<br>
              <br>
              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.</blockquote>
            <div><br>
            </div>
            <div>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:</div>
            <div><br>
            </div>
            <div><a moz-do-not-send="true"
href="https://github.com/sbooth/Play/blob/master/Audio/Metadata/Readers/MP3MetadataReader.mm">https://github.com/sbooth/Play/blob/master/Audio/Metadata/Readers/MP3MetadataReader.mm</a><br>
            </div>
            <br>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>