Re: [eigen] strange compilation prob

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


hi,

you probably forgot to include the LU module where determinant() is defined.

#include <Eigen/LU>

On Thu, Jan 22, 2009 at 10:21 PM, Ben Axelrod <baxelrod@xxxxxxxxxxxx> wrote:
> Sorry to keep posting my compilation problems, but I have yet another:
>
>
>
> undefined reference to
> `Eigen::MatrixBase<Eigen::Product<Eigen::Matrix<double, 3, 3, 2, 3, 3>
> const&, Eigen::Transpose<Eigen::NestByValue<Eigen::Matrix<double, 3, 3, 2,
> 3, 3> > > const&, 0> >::determinant() const'
>
>
>
> I have 2 libraries.  Library A uses Eigen and compiles fine.  Library B
> links library A and this is where I get this compilation error.  Any ideas?
>
>
>
> I get this when I use the src I just pulled from svn.  I do not get it when
> I use the 2.0-beta1 code.
>
>
>
> Thanks,
>
> -Ben
>
>



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/