• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Adding .a files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding .a files


  • Subject: Re: Adding .a files
  • From: "Mark Wagner" <email@hidden>
  • Date: Thu, 6 Mar 2008 15:03:26 -0800

On 3/6/08, Thomas Hauk <email@hidden> wrote:
> I had a problem with Xcode 2.5 (and now with 3.0, under Leopard) where
>  I was building boost libraries using bjam on the command line, copying
>  them to a repository, and then trying to add them to my Xcode project
>  (application). When I'd run my app, I'd get a dynamic linking error
>  that it wasn't able to find the Boost.Thread .dylib, which is odd,
>  because I had added the Boost.Thread .a.
>
>  On a hunch, I Got Info on the .a file, and discovered that it was
>  being seen as an "archive .ar" file by Xcode. As soon as I changed the
>  File Type to "compiled.mach-o.objfile", the dynamic linking errors
>  went away. Not sure if this has bit anyone else (I did a quick search
>  of this list and didn't see anything similar), but I think adding a .a
>  file to Xcode should default to "compiled.mach-o.objfile" and not
>  "archive .ar".

I suspect that changing the type also changed something else
somewhere, because my "archive.ar" files are working just fine.

--
Mark Wagner
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Adding .a files (From: Thomas Hauk <email@hidden>)

  • Prev by Date: Adding .a files
  • Next by Date: Installing Xcode 3.1
  • Previous by thread: Adding .a files
  • Next by thread: Installing Xcode 3.1
  • Index(es):
    • Date
    • Thread