error LNK2001 when trying to compile SBA with CLAPACK

Post here if you have a question about linking your program with LAPACK or ScaLAPACK library

error LNK2001 when trying to compile SBA with CLAPACK

Postby Joe Hx » Wed Apr 17, 2013 1:33 pm

I'm trying to compile Lourakis' sparse bundle adjustment code (http://www.ics.forth.gr/~lourakis/sba/) and am getting these link errors:

1>sba_lapack.obj : error LNK2001: unresolved external symbol _dsytri_
1>sba_lapack.obj : error LNK2001: unresolved external symbol _dgetri_
1>sba_lapack.obj : error LNK2001: unresolved external symbol _dpotrs_
1>sba_lapack.obj : error LNK2001: unresolved external symbol _dpotri_
1>sba_lapack.obj : error LNK2001: unresolved external symbol _dtrtrs_
1>sba_lapack.obj : error LNK2001: unresolved external symbol _dgetrf_
1>sba_lapack.obj : error LNK2001: unresolved external symbol _dsytrs_
1>sba_lapack.obj : error LNK2001: unresolved external symbol _dgeqrf__
1>sba_lapack.obj : error LNK2001: unresolved external symbol _dgetrs_
1>sba_lapack.obj : error LNK2001: unresolved external symbol _dgesdd_
1>sba_lapack.obj : error LNK2001: unresolved external symbol _dsytrf_
1>sba_lapack.obj : error LNK2001: unresolved external symbol _dpotf2_
1>sba_lapack.obj : error LNK2001: unresolved external symbol _dorgqr_
1>sba_lapack.obj : error LNK2001: unresolved external symbol _dpotrf_

I have the libraries linked properly, and I was hoping somebody could point me in the right direction. I'm using MS Visual Studio 2010 on Windows 7 x64.

Thanks!

Joe
Joe Hx
 
Posts: 1
Joined: Wed Apr 17, 2013 1:24 pm

Return to Linking Problem

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest