Re: ZeroLink: unknown symbol
Re: ZeroLink: unknown symbol
- Subject: Re: ZeroLink: unknown symbol
- From: "Clark Cox" <email@hidden>
- Date: Sun, 26 Aug 2007 07:54:50 -0700
On 8/26/07, Giacomo Monari <email@hidden> wrote:
> Finlay Dobbie ha scritto:
> > On 26/08/07, Giacomo Monari <email@hidden> wrote:
> >
> >> The error occurs as soon as there's an instance of an object of the class
> >> DataAnalysis... I checked beetween the "Project Symbols" and the
> >> constructors and the destructor seem to be there... So why are they
> >> undefined? And how can I add something to define missing symbols (something
> >> that works with other compilers too)?
> >>
> >
> > You have declared them. Have you implemented them anywhere?
> >
> > -- Finlay
> >
> >
> Sure, in a file "DataAnalysis.cpp" added to the project...
That is your problem. When writing a class template like this, all of
the definitions need to be visible to any clients of the code. Put
your definitions in the DataAnalysis.h file.
--
Clark S. Cox III
email@hidden
_______________________________________________
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