Re: ZeroLink: unknown symbol
Re: ZeroLink: unknown symbol
- Subject: Re: ZeroLink: unknown symbol
- From: Tommy Nordgren <email@hidden>
- Date: Sun, 26 Aug 2007 19:06:01 +0200
On 26 aug 2007, at 16.55, Finlay Dobbie wrote:
On 26/08/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...
You can't do that. Put it in the header.
You might want to put the implementation in a separate header,
and use explicit instantiation of the template in a small cpp file.
An explicit instantiation has the following form:
template MyTemplateClass<double> ; // For example.
When a template class is instantiated this way, ALL member functions
are created.
------
What is a woman that you forsake her, and the hearth fire and the
home acre,
to go with the old grey Widow Maker. --Kipling, harp song of the
Dane women
Tommy Nordgren
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