Re: [eigen] WG: Problem with compiling sparse matrix solver |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] WG: Problem with compiling sparse matrix solver
- From: Gael Guennebaud <gael.guennebaud@xxxxxxxxx>
- Date: Sat, 23 Jun 2012 21:23:31 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=bDjbN4QltVgQe1O/dyeADJYFll3CfXotlG5FRQI8Lps=; b=0f2sUPPsgZ0ZuJOQDH4XtOk2JYgDrhP8qfDxz3Bbha9ZTQFVjWRru3dn4pCUyuum5u 7YZimldWA3Mfl75T/z847LHb5kSBpaPLRZ6fmkRmGNcblbIsA65KFDaz1Lx7olAJNQOR 7329l6upZGEX/e0gnG8O35hCSFf8PnZoCiAi1SkvqpDduW32RlWY9e2quGwHZoyVmTwr fiiEI33/KgygfNePmrkUBztnWYT1R6bn3TPb6sjciyMyiv0LJJglj/CwZwCyDZNci1jE JbKDl8VLAjfz+fJ1b4e7wJOCQjI8Fx4OfgQVpuKzyBQ/4A0dL5OJHfQ6XYHYkYLDWkRp VGew==
Hi,
this looks like a name clash with boost. What's your Eigen version?
The reported line numbers does not match with the 3.1 version.
Also, don't you have a using namespace boost::accumulators::extract??
cheers,
gael
On Fri, Jun 22, 2012 at 8:18 PM, Zofka, Marc René
<marc.broghammer@xxxxxxxxxxxxxxx> wrote:
> Hi Guys,
>
> ive got a problem compiling the following source with MS VS Compiler:
>
> -----------------------------------------------------------------------------------
> Eigen::SparseMatrix<float> sparse = l; // l is DynamicSparseMatrix
>
> Eigen::SparseLDLT<Eigen::SparseMatrix<float > > ldlt; ldlt.compute(sparse); Eigen::VectorXf that = ldlt.solve(t);
> ----------------------------------------------------------------------------------------
>
> I get the error:
>
> 2>...\externallibs\eigen\eigen\src\geometry\alignedbox.h(114): error C2872: 'min' : ambiguous symbol
> 2> could be 'min'
> 2> or 'c:\includes\boost\boost\accumulators\statistics\min.hpp(76) : const boost::accumulators::extractor<Feature> boost::accumulators::extract::min'
> 2> with
> 2> [
> 2> Feature=boost::accumulators::tag::min
> 2> ]
> 2> or 'min'
> 2> ...\externallibs\eigen\eigen\src\geometry\alignedbox.h(304)
> 2>: see reference to class template instantiation
> 2>'Eigen::AlignedBox<_Scalar,_AmbientDim>' being compiled
> 2>...\externallibs\eigen\eigen\src\geometry\alignedbox.h(118): error C2872: 'max' : ambiguous symbol
> 2> could be 'max'
> 2> or 'c:\includes\boost\boost\accumulators\statistics\max.hpp(76) : const boost::accumulators::extractor<Feature> boost::accumulators::extract::max'
> 2> with
> 2> [
> 2> Feature=boost::accumulators::tag::max
> 2> ]
> 2> or 'max'
>
>
> It seems to be a API internal error, isnt it?
>
> With best regards,
>
> Marc
>
>