Re: Xcode not linking static library
Re: Xcode not linking static library
- Subject: Re: Xcode not linking static library
- From: Fritz Anderson <email@hidden>
- Date: Thu, 25 Oct 2007 09:55:19 -0500
On 25 Oct 2007, at 8:40 AM, Luc Vandal wrote:
I know I'm missing something obvious here, but I have problems with
a static library that I've used on other project. I've created a
Cocoa Foundation Tool, added the static library to the "External
frameworks and libraries" folder in the project view, included the
header file in myproject.m for the library's functions and the
library was automatically added to the "Link binary with libraries"
folder under Target. When I try to compile and link in release, I
get unresolved externals. Xcode dosen't even seem to link the
library, seems like it ignores it!
So I compared the project settings with another project that uses
this library and unless I miss something, their settings are exactly
the same! Then I tried to create a new Cocoa Application to see if I
could link the library and I got the same error...
I don't hear that you have looked at the actual build transcript, to
verify that the working and non-working builds have the same settings.
(Build Results window, bottom-left corner of the upper scroll view,
button that looks like lines of text.)
Maybe you could post the link commands for the two.
— F
_______________________________________________
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