Template linker errors with gcc 4.6.3

David Aldrich David.Aldrich@EMEA.NEC.COM
Mon Nov 4 16:08:00 GMT 2013


Hi
 
> Are your function templates defined in the headers that EVD.cpp includes?

Yes, EVD.cpp includes:

#include "Matrix.h"

and Matrix.h contains:

template<class T> class Matrix : public MatrixBase {
public:
    <snip>
    static Matrix<T> eye( unsigned a_size, T a_scalingFactor=1.0 ) DONT_INLINE;
    <snip>
}

David



More information about the Gcc-help mailing list