2010-8-1 编译程序心得

       今天编译程序 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

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值