Although I found on the site that UBLAS supportes MSVC 6.0 with STLPort I
couldn't compile any example with this configuration. It seems that using
Boost ublas library with StlPort (with native MS streams) and MSVC 6.0
have some problems and require specific settings. Does anyone have any
hint how this problem can be solved?
When I try to compile some of the samples from libs\numeric\ublas\doc
\samples (for example vecto_binary.cpp) I got following errors:
c:\programming\boost_1_30_0\boost\numeric\ublas\hermitian.hpp(1534) :
error C2027: use of undefined type 'const_iterator1'
c:\programming\boost_1_30_0\boost\numeric\ublas\hermitian.hpp(1529) : see
declaration of 'const_iterator1'
c:\projects\test\boost_matrices\main.cpp(23) : see reference to
class template instantiation 'boost::numeric::ublas::hermitian_adaptor
,struct boost::numeric::ublas::lower>' being compiled c:\programming\boost_1_30_0\boost\numeric\ublas\hermitian.hpp(1831) : error C2027: use of undefined type 'iterator1'
c:\programming\boost_1_30_0\boost\numeric\ublas\hermitian.hpp(1826) : see
declaration of 'iterator1'
c:\projects\test\boost_matrices\main.cpp(23) : see reference to
class template instantiation 'boost::numeric::ublas::hermitian_adaptor
,struct boost::numeric::ublas::lower>' being compiled c:\programming\boost_1_30_0\boost\numeric\ublas\hermitian.hpp(1950) : error C2027: use of undefined type 'const_iterator2'
c:\programming\boost_1_30_0\boost\numeric\ublas\hermitian.hpp(1945) : see
declaration of 'const_iterator2'
c:\projects\test\boost_matrices\main.cpp(23) : see reference to
class template instantiation 'boost::numeric::ublas::hermitian_adaptor
,struct boost::numeric::ublas::lower>' being compiled c:\programming\boost_1_30_0\boost\numeric\ublas\hermitian.hpp(2247) : error C2027: use of undefined type 'iterator2'
c:\programming\boost_1_30_0\boost\numeric\ublas\hermitian.hpp(2242) : see
declaration of 'iterator2'
c:\projects\test\boost_matrices\main.cpp(23) : see reference to
class template instantiation 'boost::numeric::ublas::hermitian_adaptor
,struct boost::numeric::ublas::lower>' being compiled c:\programming\boost_1_30_0\boost\numeric\ublas\hermitian.hpp(1534) : error C2027: use of undefined type 'const_iterator1'
c:\programming\boost_1_30_0\boost\numeric\ublas\hermitian.hpp(1529) : see
declaration of 'const_iterator1'
c:\projects\test\boost_matrices\main.cpp(30) : see reference to
class template instantiation 'boost::numeric::ublas::hermitian_adaptor
,struct boost::numeric::ublas::upper>' being compiled c:\programming\boost_1_30_0\boost\numeric\ublas\hermitian.hpp(1831) : error C2027: use of undefined type 'iterator1'
c:\programming\boost_1_30_0\boost\numeric\ublas\hermitian.hpp(1826) : see
declaration of 'iterator1'
c:\projects\test\boost_matrices\main.cpp(30) : see reference to
class template instantiation 'boost::numeric::ublas::hermitian_adaptor
,struct boost::numeric::ublas::upper>' being compiled c:\programming\boost_1_30_0\boost\numeric\ublas\hermitian.hpp(1950) : error C2027: use of undefined type 'const_iterator2'
c:\programming\boost_1_30_0\boost\numeric\ublas\hermitian.hpp(1945) : see
declaration of 'const_iterator2'
c:\projects\test\boost_matrices\main.cpp(30) : see reference to
class template instantiation 'boost::numeric::ublas::hermitian_adaptor
,struct boost::numeric::ublas::upper>' being compiled c:\programming\boost_1_30_0\boost\numeric\ublas\hermitian.hpp(2247) : error C2027: use of undefined type 'iterator2'
c:\programming\boost_1_30_0\boost\numeric\ublas\hermitian.hpp(2242) : see
declaration of 'iterator2'
c:\projects\test\boost_matrices\main.cpp(30) : see reference to
class template instantiation 'boost::numeric::ublas::hermitian_adaptor
,struct boost::numeric::ublas::upper>' being compiled c:\projects\test\boost_matrices\main.cpp(37) : warning C4508: 'main' : function should return a value; 'void' return type assumed Error executing cl.exe.
Does anyone have any hint how this problem could be solved?