24小时热门版块排行榜    

CyRhmU.jpeg
查看: 156  |  回复: 2
当前主题已经存档。

woshilsh

荣誉版主 (职业作家)

优秀版主

[交流] 【求助】Matlab编译mex时碰到的问题

Matlab编译mex时碰到的问题

c文件编译为mex的时候出现如下问题,高手来看看

Compiling all mex functions ...
Microsoft (R) Incremental Linker Version 6.00.8168
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

D:\temp\mex_pP58E1\findimps3.obj  
   Creating library D:\temp\mex_pP58E1\templib.x and object D:\temp\mex_pP58E1\templib.exp
findimps3.obj : error LNK2001: unresolved external symbol _dgemm_
findimps3.mexw32 : fatal error LNK1120: 1 unresolved externals

  D:\PROGRA~1\MATLAB\R2008A\BIN\MEX.PL: Error: Link of 'findimps3.mexw32' failed.

关键是_dgemm_这个东东,老整不过去,我看了c文件,里面调用了dgemm_()这么个函数,有知道怎么处理的没?

[ Last edited by nono2009 on 2009-10-20 at 22:48 ]
回复此楼
[center][url=http://www.91cool.net/][img]http://id.91cool.net/sign/?name=小木虫印&say=各位版主辛苦了![/img][/url][/center]
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

nono2009

超级版主 (文学泰斗)

No gains, no pains.

优秀区长优秀区长优秀区长优秀区长优秀版主


kuhailangyu(金币-1,VIP+0):帮顶是个错误,版主以身作则!呵呵 10-21 08:24
这个偶不懂,帮顶一下
2楼2009-10-21 07:07:50
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

Rick

★ ★ ★
小木虫(金币+0.5):给个红包,谢谢回帖交流
kuhailangyu(金币+2,VIP+0):thanks for your help! 10-25 22:16
the program has link error. as you said, the program could not find function : dgemm

you should find this function, compile it together with others. as far as i remembered, it is a netlib function doing matrix matrix computation. you could google and find it.
3楼2009-10-25 22:13:58
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 woshilsh 的主题更新
普通表情 高级回复(可上传附件)
信息提示
请填处理意见