[eigen] WG: Problem with compiling sparse matrix solver

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


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



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