Re: [eigen] Sparse Matrices, CHOLMOD & Windows

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


A @utoronto.ca address? Nice, i'm at the math dept :) We should meet
if you have a nontrivial interest in eigen.

As for your question, sorry i dont have MSVC to test, I hope someone
else can be more useful. It looks like it's just a matter of making
trivial adjustments to make MSVC happy.

Benoit

2009/11/3 W. James MacLean <james.maclean@xxxxxxxxxxx>:
> I have a chunk of code that compiles on Linux, but when I try to compile it
> on Windows I get this:
>
> 1>c:\documents and settings\jmaclean\my documents\my
> code\eigen2-2.0.9\eigen2\eigen\src\sparse\cholmodsupport.h(215) : error
> C2244: 'Eigen::SparseLLT<MatrixType,2>::matrixL' : unable to match function
> definition to an existing declaration
> 1>        c:\documents and settings\jmaclean\my documents\my
> code\eigen2-2.0.9\eigen2\eigen\src\sparse\cholmodsupport.h(157) : see
> declaration of 'Eigen::SparseLLT<MatrixType,2>::matrixL'
> 1>        definition
> 1>        'const SparseLLT<MatrixType>::CholMatrixType
> &Eigen::SparseLLT<MatrixType,2>::matrixL(void) const'
> 1>        existing declarations
> 1>        'const Eigen::SparseMatrix<MatrixType::Scalar,2048>
> &Eigen::SparseLLT<MatrixType,2>::matrixL(void) const'
>
> I have SuiteSparse installed, and have
>
> #define EIGEN_CHOLMOD_SUPPORT
>
> #include <Eigen/Core>
> #include <Eigen/Geometry>
> #include <Eigen/Sparse>
> #include <Eigen/Cholesky>
>
> as includes.
>
> I'm new to using the SparseMatrix support, so I'm not sure where to start
> with this one.
>
> Cheers,
>
> James
>
>
>
>



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