今天编译程序 sba,编译过程中出现错误
1>sba_lapack.obj : error LNK2019: unresolved external symbol _dtrtrs_ referenced in function _sba_Axb_QR
1>sba_lapack.obj : error LNK2019: unresolved external symbol _dorgqr_ referenced in function _sba_Axb_QR
1>sba_lapack.obj : error LNK2019: unresolved external symbol _dgeqrf_ referenced in function _sba_Axb_QR
1>sba_lapack.obj : error LNK2019: unresolved external symbol _dpotrs_ referenced in function _sba_Axb_Chol
1>sba_lapack.obj : error LNK2019: unresolved external symbol _dpotrf_ referenced in function _sba_Axb_Chol
1>sba_lapack.obj : error LNK2019: unresolved external symbol _dgetrs_ referenced in function _sba_Axb_LU
1>sba_lapack.obj : error LNK2019: unresolved external symbol _dgetrf_ referenced in function _sba_Axb_LU
1>sba_lapack.obj : error LNK2019: unresolved external symbol _dgesdd_ referenced in function _sba_Axb_SVD
1>sba_lapack.obj : error LNK2019: unresolved external symbol _dsytrs_ referenced in function _sba_Axb_BK
1>sba_lapack.obj : error LNK2019: unresolved external symbol _dsytrf_ referenced in function _sba_Axb_BK
1>sba_lapack.obj : error LNK2019: unresolved external symbol _dgetri_ referenced in function _sba_symat_invert_LU
1>sba_lapack.obj : error LNK2019: unresolved external symbol _dpotri_ referenced in function _sba_symat_invert_Chol
1>sba_lapack.obj : error LNK2019: unresolved external symbol _dpotf2_ referenced in function _sba_symat_invert_Chol
1>sba_lapack.obj : error LNK2019: unresolved external symbol _dsytri_ referenced in function _sba_symat_invert_BK
这一步原因是 没有加如相应的lib, 在程序中增加lib(Link ->input )附加依赖项 lapack.lib blas.lib libf2c.lib