Re: ZeroLink: unknown symbol
Re: ZeroLink: unknown symbol
- Subject: Re: ZeroLink: unknown symbol
- From: "Finlay Dobbie" <email@hidden>
- Date: Sun, 26 Aug 2007 01:40:44 +0100
On 26/08/07, Giacomo Monari <email@hidden> wrote:
> Kyle Sluder ha scritto:
> > On 8/25/07, Giacomo Monari <email@hidden> wrote:
> >
> >> What's this problem with undefined symbols and how can I resolve it?
> >>
> >> Thank you very much,
> >> Giacomo
> >>
> >
> > Obviously you're not linking with the library that defines the
> > "undefined symbol". You can't expect the linker (ld) to be able to
> > build a program if it can't find all of its components. Add the
> > appropriate library to your Link with Library phase.
> >
> > ZeroLink is evil (in the way that the C++ FAQ uses "evil"). Disable
> > it if you want predictable behavior, especially when you're trying to
> > figure out why ZeroLink is giving you unpredictable behavior.
> >
> > --Kyle Sluder
> >
> >
> Ah, thx Kyle... But what library I have to add? I'm working with
> iterators of vectors... Shouldn't be they defined simply including
> <vector>? And what's Library phase?
The missing symbols look like a constructor and destructor for the
"DataAnalysis" class, which is obviously something of your own. Read
the error message carefully.
And it's the "Link with Libraries" phase, not link with "libraries
phase". It's a build phase. Of your target. See the Xcode
documentation for more information.
-- Finlay
_______________________________________________
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