lapack bindings compiled fail with Visual C++ 7.1
Hi,
I used VC7.1 and Boost_1.32_0 to compiled the SVD test file (
ublas_gesvd.cc) which download from
http://cvs.sourceforge.net/viewcvs.py/boost-sandbox/boost-sandbox/libs/numer...
I get the following error and warring messages:
d:\upload\test\ublas_gesvd.cpp(61) : warning C4267: 'argument' :
conversion from 'size_t' to 'unsigned int', possible loss of data
c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\boost\numeric\ublas\traits.hpp(941) : warning C4267:
'argument' : conversion from 'size_t' to 'const unsigned int', possible
loss of data
c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\boost\numeric\ublas\matrix_expression.hpp(4462) : see
reference to class template instantiation
'boost::numeric::ublas::promote_traits
HHSU 提到:
I compiled the same file(ublas_gesvd.cc) by useing g++(3.4.2) and boost 1.32 ,but still have error. I got the following error:
/tmp/ccBHG0Ri.o(.gnu.linkonce.t._ZN5boost7numeric8bindings6lapack6detail5gesvdEcciiPdiS4_S4_iS4_iS4_iS4_Pi+0x48):
In function `boost::numeric::bindings::lapack::detail::gesvd(char, char,
int,
int, double*, int, double*, double*, int, double*, int, double*, int,
double*,
int*)':
: undefined reference to `dgesvd_'
collect2: ld returned 1 exit status
If I rewrite the line 27 in gesvd.hpp
#include
participants (1)
-
HHSU