[問題] windows7 x64 compiler

看板MATLAB作者 (森)時間14年前 (2011/11/15 22:44), 編輯推噓2(201)
留言3則, 2人參與, 最新討論串1/1
matlab的新手 最近需要用到一個程式 要將它執行看看而已 是要用到C的compiler 但是跑出了這串 Error: Could not find the compiler "cl" on the DOS path. Use mex -setup to configure your environment properly. 所以我就照他講的 mex -setup 但又跑出下面那串 ***************************************************************************** Error: Could not find the 64-bit compiler. This may indicate that the "X64 Compilers and Tools" or the Microsoft Windows Software Development Kit (SDK) is not installed. To build 64-bit MEX-files Microsoft Visual C++ 2008 Express Edition requires that these two packages are installed properly. ***************************************************************************** 可是我VC++2008 跟 windows SDK都裝了 google過前面幾篇 也都是要我裝這兩個還一個.NET而已 可是還是會出現這個問題 不知道有沒有有解 救一下~ windows 7 x64 Matlab 2009b 以上 感謝~>"< -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 114.35.222.21

11/15 23:59, , 1F
在windows環境變數path下,加入VCfold\bin之類的路徑...
11/15 23:59, 1F

11/19 14:12, , 2F
你編譯好的程式是要在x86還是x64跑?如果是x86最好灌x86的
11/19 14:12, 2F

11/19 14:12, , 3F
MATLAB不然會遇到打不開。
11/19 14:12, 3F
文章代碼(AID): #1EmdgpvX (MATLAB)