Re: Adding .a files
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