[Insight-users] problem with vxl/vnl
Gwenaël Guillard
gwenael.guillard@enst-bretagne.fr
Fri, 22 Nov 2002 14:22:33 +0100
Hi Luis,
I'm sorry but these lines were the first two lines. There isn't the string
"instantiated from".
Gwenael
Luis Ibanez a écrit :
> Hi Gwenael,
>
> The vnl_vector cannot be instantiated
> over arbitrary types due to the explicit
> instantiation mechanism used in vnl.
>
> Some ITK classes use vnl_vectors as
> containers and inherit this unecessary
> limitation. (e.g. the itkArray).
>
> You are probably instantiating this vector
> over a custom class or over a type that is
> not one of the elementary C++ types.
>
> Before the error message that you posted,
> you will see others (probably many) with
> the string "instantiated from". If you
> track these sequence you will find the
> place in your code (not in ITK) where you
> are using a non-standard type.
>
> ---
>
> Once you find the type, the solution is
> to add an explicit instantiation of the
> vnl_vector for this class.
>
> Please let us know what you find,
>
> Thanks
>
> Luis
>
> =============================
>
> Gwenaël Guillard wrote:
>
> > Hello,
> >
> > While compiling on VC++ a program using ITK, there is this error
> > message:
> >
> > \Insight\Code\Numerics\vxl\vnl/vnl_vector.h(324) : error C2653:
> > 'vcl_generic_iosfwd_STD' : is not a class or namespace name
> > \Insight\Code\Numerics\vxl\vnl/vnl_vector.h(359) : see reference
> > to class template instantiation 'vnl_vector<T>' being compiled
> >
> > May anyone help me? Thank you.
> >
> > Gwenael Guillard
> >
> >
> > _______________________________________________
> > Insight-users mailing list
> > Insight-users@public.kitware.com
> > http://public.kitware.com/mailman/listinfo/insight-users
> >