How to build a library from source and use it in Xcode?

  • Hi! I'm new in Objective-C and Cocoa programming and I'm a little bit
    confused about how to build a static library from source code. In my
    application I'm trying to use Taglib, a C/C++ library to get
    information about music files, with my already written Objective-C
    code. I've downloaded a .zip file with contents like "config.h",
    "INSTALL", "configure", etc... I've read the INSTALL guide about how
    to compile the library and I think I've done properly. The problem is
    that after doing the compile process in a specific destination folder
    I've obtained 3 folders (bin,include and lib) and then I've looked
    into lib folder and what I had are files like "libtag_c.
    0.0.0.dylib" , "libtag_c.la", "libtag.1.4.0.dylib" and "libtag.la".

    Can anybody help me with that?

    Thanks
  • http://developer.apple.com/opensource/opensourceuniversalframework.html

    On Aug 31, 2007, at 12:58 , Dani wrote:

    > Hi! I'm new in Objective-C and Cocoa programming and I'm a little
    > bit confused about how to build a static library from source code.
    > In my application I'm trying to use Taglib, a C/C++ library to get
    > information about music files, with my already written Objective-C
    > code. I've downloaded a .zip file with contents like "config.h",
    > "INSTALL", "configure", etc... I've read the INSTALL guide about
    > how to compile the library and I think I've done properly. The
    > problem is that after doing the compile process in a specific
    > destination folder I've obtained 3 folders (bin,include and lib)
    > and then I've looked into lib folder and what I had are files like
    > "libtag_c.0.0.0.dylib" , "libtag_c.la", "libtag.1.4.0.dylib" and
    > "libtag.la".
    >

    :: marcelo.alves
  • Hey! Thanks for that information but I've not been able to build a
    framework from the Taglib source code. There are a lot of things that
    I don't know how to do, like makefiles, and I want to know If theres
    any other way to use the libraries only with files: "libtag_c.
    0.0.0.dylib" , "libtag_c.la", "libtag.1.4.0.dylib" and "libtag.la"

    Thanks.
previous month august 2007 next month
MTWTFSS
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    
Go to today