Adding .a files
Adding .a files
- Subject: Adding .a files
- From: Thomas Hauk <email@hidden>
- Date: Thu, 6 Mar 2008 13:57:44 -0800
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".
T
--
Peter Griffin: Brian, there's a message in my Alpha Bits. It says
OOOOOO!
Brian Griffin: Peter, those are Cheerios.
-- Family Guy
_______________________________________________
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