|
Ublas : |
From: Tunc Bahcecioglu (tuncbah_at_[hidden])
Date: 2007-11-01 06:33:36
Hi,
I am using VSNET 2005 and trying to use lapack with the bindings. But I get
the following error:
Error 4 error LNK2001: unresolved external symbol
_dgesv boostLapackTry1.obj
I put the lapack.lib,blas.lib and matgen.lib to the additional dependencies.
I am trying to compile the following cods:
#include <boost/numeric/bindings/lapack/gesv.hpp>
#include <boost/numeric/ublas/matrix.hpp>
#include <boost/numeric/bindings/traits/ublas_matrix.hpp>
namespace ublas = boost::numeric::ublas;
namespace lapack = boost::numeric::bindings::lapack;
int main()
{
ublas::matrix<double, ublas::column_major> A(3,3), B(3,1);
lapack::gesv(A,B);
return 0;
}
I am a newbie to both libraries. Can one tell me what I am missing here.
Help appreciated.