Re: [eigen] Sparse Matrices, CHOLMOD & Windows |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] Sparse Matrices, CHOLMOD & Windows
- From: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
- Date: Tue, 3 Nov 2009 17:20:33 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=n4eCMZqU6t2Ce7DzohQiRG19YeturIFbWS3eChMEvPA=; b=P4UARIOGPVW828o7XMdzTw8D9Ayr9QVilnnN5Je3AJwvMDJXhJHiWebNrjYPnEk6OI u/QdzIRy17Gm5RYT4wA51AZWtLejdGUamt3VaEYkUzFmPmjIvcxiDZE8a3P0qEC3vrPo TWpEyL2WaAbHADbY/hks8qek1+z9idtRIA/kM=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=Rf0dTm4l0CqvHsCtFrCdKEEHm2GBslVDgwrDOymYf5BtQUGb19CcrR7ewvH0EUxFxu 6YRkjZT1f8OHHZC8Cfy8JGk1kU0z/Y88uOuCFSkl9jfIzp48mDUlFnAdKPuZHj8ssyzy k05AAYwn1eJoR8Vvb3YP8zflQkAjqU57WYPvg=
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
>
>
>
>