Boost logo

Ublas :

Subject: Re: [ublas] <Numeric Library Bindings for Boost> unresolved external symbol _dgeev referenced
From: sguazt (marco.guazzone_at_[hidden])
Date: 2012-10-05 17:06:14


On Thu, Oct 4, 2012 at 7:52 PM, Dhruv <bhattdh_at_[hidden]> wrote:
> Hi All,
>
> I am trying to configure Numeric Library Bindings for Boost
> UBlas(http://mathema.tician.de/software/boost-numeric-bindings) into my Visual
> Studio 2008 environment.
>
> I am able to include geev.h into my project from numeric binding.
>
> I am using boost matrix to calculate eigenvalues/vectors.
> I have downlaoded lapack.lib from http://icl.cs.utk.edu/lapack-for-windows/lapack/
> There are actually different option to download lapack library there:
> -> Prebuilt static libraries using INTEL Compilers
> -> Prebuilt dynamic libraries using Mingw
>
> I am not sure which one to use so I tried all of them but no luck.
> and added it to liners->input->additional dependencies in visual studio.
> I already have boost configured and working in visual studio.
>
> Bellow is the error I am getting. I get same error even if I remove lapack
> library from linker.
>
> error LNK2019: unresolved external symbol _dgeev referenced in function "int
> __cdecl boost::numeric::bindings::lapack::detail::geev_backend(char const *,char
> const *,int const *,double *,int const *,double *,double *,double *,int const
> *,double *,int const *,double *,int const *)"
> (?geev_backend_at_detail@lapack_at_bindings@numeric_at_boost@@YAHPBD0PBHPAN122212121_at_Z)
>
> I am new to c++ and visual studio and not sure whats going wrong here.
>

Hello,

I cannot help you with that error (I am a Linux user), but I would
suggest you to try the more recent version of boost-numeric_bindings
that you can find in the Boost sandbox:

https://svn.boost.org/svn/boost/sandbox/numeric_bindings/

You can download it through Subversion:

svn co http://svn.boost.org/svn/boost/sandbox/numeric_bindings
boost-numeric_bindings

Hope this helps.

Best,

-- Marco