Boost logo

Ublas :

From: Nico Galoppo (nico_at_[hidden])
Date: 2006-06-06 06:53:06


Hi,

I'm experiencing the compile error as shown below. I'm using CVS head
for both boost and boost-sandbox.

Could anyone shed light on this error? Thanks!

--nico

1>d:\dev\boost-sandbox\boost/numeric/bindings/traits/ublas_matrix.hpp(78)
: error C2039: 'size2' : is not a member of
'boost::numeric::ublas::basic_column_major<>'
1>
d:\dev\boost-sandbox\boost/numeric/bindings/traits/ublas_matrix.hpp(75)
: while compiling class template member function 'int
boost::numeric::bindings::traits::matrix_detail_traits<MIdentifier,MType>::leading_dimension(boost::numeric::ublas::matrix<T,L>
&)'
1> with
1> [
1>
MIdentifier=boost::numeric::ublas::matrix<double,boost::numeric::ublas::column_major>,
1>
MType=boost::numeric::ublas::matrix<double,boost::numeric::ublas::column_major>,
1> T=double,
1> L=boost::numeric::ublas::column_major
1> ]
1>
d:\dev\boost-sandbox\boost/numeric/bindings/traits/matrix_traits.hpp(51)
: see reference to class template instantiation
'boost::numeric::bindings::traits::matrix_detail_traits<MIdentifier,MType>'
being compiled
1> with
1> [
1>
MIdentifier=boost::numeric::ublas::matrix<double,boost::numeric::ublas::column_major>,
1>
MType=boost::numeric::ublas::matrix<double,boost::numeric::ublas::column_major>
1> ]
1>
d:\dev\boost-sandbox\boost/numeric/bindings/atlas/cblas2.hpp(100) : see
reference to class template instantiation
'boost::numeric::bindings::traits::matrix_traits<M>' being compiled
1> with
1> [
1>
M=boost::numeric::ublas::matrix<double,boost::numeric::ublas::column_major>
1> ]
1> D:\dev\Hybrid\Hybrid/solvers/cleanimplicitsolver.h(128) : see
reference to function template instantiation 'void
boost::numeric::bindings::atlas::gemv<boost::numeric::ublas::matrix<T,L>,boost::numeric::ublas::vector<T>,boost::numeric::ublas::vector<T>>(const
Matr &,const VctX &,VctY &)' being compiled
1> with
1> [
1> T=double,
1> L=boost::numeric::ublas::column_major,
1>
Matr=boost::numeric::ublas::matrix<double,boost::numeric::ublas::column_major>,
1> VctX=boost::numeric::ublas::vector<double>,
1> VctY=boost::numeric::ublas::vector<double>
1> ]
1> D:\dev\Hybrid\Hybrid/solvers/cleanimplicitsolver.h(123) :
while compiling class template member function 'void
Hybrid::CleanImplicitSolver<Types>::assembleRHS(Hybrid::CPUHybridModel<Types>
&,const double)'
1> with
1> [
1>
Types=Hybrid::TypeBinder<double,OpenTissue::vector3,Hybrid::CPUHybridModel,Hybrid::CPUHybridModel,Hybrid::DefaultDynamicsSolverPolicy,Hybrid::DefaultFrictionHandlerPolicy,Hybrid::DenseM4Policy,Hybrid::BlockDiagonalM4Policy,boost::numeric::ublas::column_major>
1> ]
1> D:\dev\Hybrid\Hybrid/types.h(234) : see reference to class
template instantiation 'Hybrid::CleanImplicitSolver<Types>' being compiled
1> with
1> [
1>
Types=Hybrid::TypeBinder<double,OpenTissue::vector3,Hybrid::CPUHybridModel,Hybrid::CPUHybridModel,Hybrid::DefaultDynamicsSolverPolicy,Hybrid::DefaultFrictionHandlerPolicy,Hybrid::DenseM4Policy,Hybrid::BlockDiagonalM4Policy,boost::numeric::ublas::column_major>
1> ]
1> D:\dev\Hybrid\Hybrid/integrators/euler.h(35) : see reference
to class template instantiation
'Hybrid::DefaultDynamicsSolverPolicy<Types>' being compiled
1> with
1> [
1>
Types=Hybrid::TypeBinder<double,OpenTissue::vector3,Hybrid::CPUHybridModel,Hybrid::CPUHybridModel,Hybrid::DefaultDynamicsSolverPolicy,Hybrid::DefaultFrictionHandlerPolicy,Hybrid::DenseM4Policy,Hybrid::BlockDiagonalM4Policy,boost::numeric::ublas::column_major>
1> ]
1> D:\dev\Hybrid\Hybrid/cpu/cpu_policies.h(11) : see reference to
class template instantiation
'Hybrid::EulerIntegrator<Types,CollisionDetectionPolicy,ContactSolverPolicy,UpdatePolicy>'
being compiled
1> with
1> [
1> Types=MyTypes,
1>
CollisionDetectionPolicy=Hybrid::DefaultCollisionDetectionPolicy,
1> ContactSolverPolicy=Hybrid::DefaultContactSolverPolicy,
1> UpdatePolicy=Hybrid::CPUUpdatePolicy
1> ]
1> d:\dev\hybrid\hybridapp\src\application.h(123) : see reference
to class template instantiation 'Hybrid::CPUIntegrator<Types>' being
compiled
1> with
1> [
1> Types=MyTypes
1> ]
1>d:\dev\boost-sandbox\boost/numeric/bindings/traits/ublas_matrix.hpp(78)
: error C2660:
'boost::numeric::bindings::traits::matrix_detail_traits<MIdentifier,MType>::size2'
: function does not take 2 arguments
1> with
1> [
1>
MIdentifier=boost::numeric::ublas::matrix<double,boost::numeric::ublas::column_major>,
1>
MType=boost::numeric::ublas::matrix<double,boost::numeric::ublas::column_major>
1> ]