can you nm the object which is generated by above shown code, to see that the signature is indeed what you expect.
Vardhan Varma
2009-03-12 15:59:32
can you nm the object which is generated by above shown code, to see that the signature is indeed what you expect.
Trying to parse (reformat) that line so I can read it...
libmiinddynamic.so: undefined reference to:
ostream & SparseImplementationLib::operator<<
< double, double, SparseImplementationLib::DefaultPtr<double, double> >
(
ostream &,
SparseImplementationLib::AbstractSparseNode<
double, double, SparseImplementationLib::DefaultPtr<double, double> > const
)
If I read that right, then:
And somehow the second argument
const AbstractSparseNode<ActivityType,WeightType>&,
e.g const AbstractSparseNode<double,double>&
has become a:
SparseImplementationLib::AbstractSparseNode<
double,
double,
SparseImplementationLib::DefaultPtr<double, double>
> const &
The template argument counts don't match up. You've defined the second (templated) argument with 2 templated parameters and your error message indicates 3 templated parameters.