[問題] mex -setup 安裝SDK問題

看板MATLAB作者 (QQ)時間12年前 (2013/05/27 14:10), 編輯推噓1(102)
留言3則, 1人參與, 最新討論串1/1
要用到mex -setup有先裝了學校的 microsoft visual studio 2010 來安裝, 爬文友爬到還需要裝microsoft SDK, http://www.microsoft.com/download/en/details.aspx?id=18950 照著網址去抓可是安裝後他寫Installation Failed A problem occurred while installing selected Windows SDK components. Installation of the "Microsoft Windows SDK for Windows 7" product has reported the following error: Please refer to Samples\Setup\HTML\ConfigDetails.htm document for further information. Please attempt to resolve the problem and then start Windows SDK setup again. If you continue to have problems with this issue, please visit the SDK team support page at http://go.microsoft.com/fwlink/?LinkId=130245. Click the View Log button to review the installation log. To exit, click Finish. 有去google查了一下 問題可能是出在沒裝studio 2010 可是我已經安裝了... 去matlab mex -setup 一樣沒有compile的選項 我安裝了好幾個版本還是不行... 有什麼方法可以解決呢?? 謝謝大家 p.s.我的matlab是2009的可能過於老舊 可是對於visual studio 和SDK安裝應該是沒衝突的吧?? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.113.150.96

05/27 18:56, , 1F
即使是2010a,也無法直接支援VC2010. 印象中,需要:
05/27 18:56, 1F

05/27 18:56, , 2F
(a) 裝matlab patch, (b)將vc2010偽裝成vc2008.
05/27 18:56, 2F

05/27 18:57, , 3F
建議你google一下該怎麼做比較好;我自己是一年前做的.
05/27 18:57, 3F
文章代碼(AID): #1HelZAgU (MATLAB)