|
Boost Users : |
From: Pete Masterson (mitchubus_at_[hidden])
Date: 2006-02-02 20:47:37
Hi all,
I tried to compile the 2D point morph example from
http://elonen.iki.fi/code/tpsdemo/2d-morph.cpp and
http://elonen.iki.fi/code/tpsdemo/ludecomposition.h
with the latest Boost 1.33.1 but I come across two
errors. These seem to be related to the use of
iterators with ublas::matrix_row and
ublas::matrix_column. As a Boost newbie, the errors
are not at all intuitive to me, however. I assume that
the code above was generated for an older version of
Boost and fails to compile now.
I would be deeply grateful if you could consider
taking a look at the attached the compiler output in
the out.txt file.
I appreciate your help very much.
Regards,
Peter
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Compiling...
2d-morph.cpp
.\2d-morph.cpp(93) : warning C4267: 'initializing' : conversion from 'size_t' to 'unsigned int', possible loss of data
.\2d-morph.cpp(191) : warning C4267: 'initializing' : conversion from 'size_t' to 'const unsigned int', possible loss of data
.\2d-morph.cpp(223) : warning C4267: 'initializing' : conversion from 'size_t' to 'const unsigned int', possible loss of data
C:\Tools\Boost\include\boost-1_33_1\boost/numeric/ublas/traits.hpp(42) : warning C4267: 'argument' : conversion from 'size_t' to 'const unsigned int', possible loss of data
C:\Tools\Boost\include\boost-1_33_1\boost/numeric/ublas/matrix_expression.hpp(4033) : see reference to class template instantiation 'boost::numeric::ublas::promote_traits<X,Y>' being compiled
with
[
X=__w64 unsigned int,
Y=__w64 unsigned int
]
.\2d-morph.cpp(230) : see reference to class template instantiation 'boost::numeric::ublas::matrix_matrix_binary<E1,E2,F>' being compiled
with
[
E1=boost::numeric::ublas::matrix_unary2<boost::numeric::ublas::matrix_range<Matrix>,boost::numeric::ublas::scalar_identity<double>>,
E2=boost::numeric::ublas::matrix_range<Matrix>,
F=boost::numeric::ublas::matrix_matrix_prod<double,double,double>
]
C:\Tools\Boost\include\boost-1_33_1\boost/numeric/ublas/traits.hpp(42) : warning C4244: 'argument' : conversion from '__w64 int' to 'const int', possible loss of data
C:\Tools\Boost\include\boost-1_33_1\boost/numeric/ublas/matrix_expression.hpp(4034) : see reference to class template instantiation 'boost::numeric::ublas::promote_traits<X,Y>' being compiled
with
[
X=__w64 int,
Y=__w64 int
]
C:\Tools\Boost\include\boost-1_33_1\boost/numeric/ublas/matrix_proxy.hpp(707) : error C2064: term does not evaluate to a function taking 0 arguments
C:\Tools\Boost\include\boost-1_33_1\boost/numeric/ublas/matrix_proxy.hpp(706) : while compiling class template member function 'boost::numeric::ublas::matrix_column<M>::const_iterator::const_iterator(const std::iterator<_Category,_Ty> &)'
with
[
M=Matrix,
_Category=boost::numeric::ublas::dense_random_access_iterator_tag,
_Ty=double
]
.\2d-morph.cpp(202) : see reference to class template instantiation 'boost::numeric::ublas::matrix_column<M>::const_iterator' being compiled
with
[
M=Matrix
]
C:\Tools\Boost\include\boost-1_33_1\boost/numeric/ublas/matrix_proxy.hpp(707) : error C2039: 'it_' : is not a member of 'std::iterator<_Category,_Ty>'
with
[
_Category=boost::numeric::ublas::dense_random_access_iterator_tag,
_Ty=double
]
shapematch - 2 error(s), 5 warning(s)
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net