|
Boost Users : |
From: HHSU (m923010119_at_[hidden])
Date: 2005-02-23 11:14:57
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 <boost/static_assert.hpp> ==> #include <boost/assert.hpp>
and compiled again via VC 7.1 ,then I get the following error :
ublas_gesvd.obj : error LNK2019: unresolved external symbol _dgesvd
referenced in function "void __cdecl
boost::numeric::bindings::lapack::detail::gesvd(char,char,int,int,double
*,int,double *,double *,int,double *,int,double *,int,double *,int *)"
(?gesvd_at_detail@lapack_at_bindings@numeric_at_boost@@YAXDDHHPANH00H0H0H0PAH_at_Z)
Debug/n3.exe : fatal error LNK1120: 1 unresolved externals
What can I do to solve this problem ?
Thansk!
Bert.
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