[Insight-users] multiple definition error

Luis Ibanez luis.ibanez at kitware.com
Fri May 28 10:37:05 EDT 2010


Hi Baoyun,

Thanks for comparing the code.

Could you please post the *exact* error messages
that you are getting.

It may be that we are trying to solve the wrong
problem here...

Looking at the original messages will help us verify
that we are in the right track.


     Thanks


          Luis


--------------------------------------
On Wed, May 26, 2010 at 4:44 PM, Baoyun Li <baoyun_li123 at yahoo.com> wrote:

> Hi, Luis:
>
> Thanks for your help. But I really couldn't find any difference with my
> original code. Can you clarify it further.
>
> I try to implement it with a class and add some small non-member function
> in the class implementation. But still got multiple definition error. I knew
> I can add a class function to do the work, but the way I did now should also
> be right. Can you please look at the attached code?
>
> I use the following to  call the class in my main:
>
>     typedef EmGmm<3,VectorImageType,InternalImageType,float> EmFilterType;
>      EmFilterType *emfilter;
>      emfilter=new EmFilterType;
>      emfilter->Update();
>      emfilter->SetInput(vectorimage);
>      //final_mask=levelset1->GetOutput();
>      delete emfilter;
> thanks
>
> Baoyun
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100528/900b2f27/attachment.htm>


More information about the Insight-users mailing list