Re: [心得] 用MINGW編譯MEX檔案已回收
※ 引述《DennisTang (笑得很勉強)》之銘言:
: 最近在寫MEX,卻遇到以前我很多程式用MINGW編譯會過,
: 但是用LCC卻不會過的囧境,
: Google了一下,發現一個很讚的網頁http://gnumex.sourceforge.net
: 裡面在教學如何用MINGW編譯MEX檔案,
: 而我跟著實作也成功了,之前寫的程式又可以動了,所以來分享一下XD
: 希望沒有OP :)))))
請問一下我安裝了 mingw-get-inst-20110211.exe
又用gnumex改好mex.bat之後
打mex -v也有看到我要用的compiler
COMPILER = gfortran
在compile的時候出現錯誤
路徑省略/mingw32/bin/ld.exe: cannot find dllcrt2.o: No such file or directory
路徑省略/mingw32/bin/ld.exe: cannot find -lmingw32
路徑省略/mingw32/bin/ld.exe: cannot find -lmoldname
路徑省略/mingw32/bin/ld.exe: cannot find -lmingwex
路徑省略/mingw32/bin/ld.exe: cannot find -lmsvcrt
路徑省略/mingw32/bin/ld.exe: cannot find -lmingw32
路徑省略/mingw32/bin/ld.exe: cannot find -lmoldname
路徑省略/mingw32/bin/ld.exe: cannot find -lmingwex
路徑省略/mingw32/bin/ld.exe: cannot find -lmsvcrt
完整的路徑
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe
搞了好多天
有人知道怎麼解決嗎?
謝謝!
--
-好管弦事-
A place about cello and music....
http://fnt72.blogspot.com/
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 59.120.214.31
推
02/16 13:38, , 1F
02/16 13:38, 1F
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 2 之 2 篇):