[問題] 想請問有關MEX的問題 請各位指教已回收

看板MATLAB作者 (oliverliu)時間15年前 (2009/08/02 01:58), 編輯推噓1(102)
留言3則, 2人參與, 最新討論串1/1
我在做SIFT的演算法 若有人有興趣我可以提供我的檔案給各位 其中有利用到MATLAB來呼叫C寫的程式 用的MATLAB為6.5版 現在遇到的問題是 我在利用MEX 編譯某個 .c檔時 出現下列訊息 siftdescriptor.obj .text: undefined reference to '_sqrtf' siftdescriptor.obj .text: undefined reference to '_strcasecmp' siftdescriptor.obj .text: undefined reference to '_atan2f' siftdescriptor.obj .text: undefined reference to '_sinf' siftdescriptor.obj .text: undefined reference to '_cosf' siftdescriptor.obj .text: undefined reference to '_powf' siftdescriptor.obj .text: undefined reference to '_expf' siftdescriptor.obj .text: undefined reference to '_fabsf' D:\MATLAB\BIN\WIN32\MEX.PL: Error: Link of 'siftdescriptor.dll' failed. 編譯其他 .c檔案 卻沒有這樣的問題 懇請有經驗的先進給予指教 謝謝 真的卡好久了 謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 203.70.98.234

08/02 02:13, , 1F
會不會是你有好幾個版本的 compiler ?
08/02 02:13, 1F

08/02 02:15, , 2F
沒有耶 我用它預設的 lcc 2.4版
08/02 02:15, 2F

08/02 02:27, , 3F
有個lib檔 但不知道如何LINK
08/02 02:27, 3F
文章代碼(AID): #1AT89Tvx (MATLAB)