MEX-files Compiling Error

Hi All,
I'm using Win 7 64 bit and Matlab 2011b.
I had a problem during the setup the mex files. I downloaded SDk 7.1 as mentioned here http://www.mathworks.com/support/compilers/R2011b/win64.html
but the problem was not solved.The installation was always aborted giving a fatal error without installing x86 compiler even when i tried to download them separately it didn't work out.
Thanks

2 件のコメント

Kaustubha Govind
Kaustubha Govind 2012 年 8 月 28 日
Amira: Thank you for sharing your solution with the community. Could you please separate out your solution as an answer and accept it, so people don't confuse this with an unresolved problem?
Amira Hosny
Amira Hosny 2012 年 8 月 29 日
Done

サインインしてコメントする。

 採用された回答

Amira Hosny
Amira Hosny 2012 年 8 月 29 日

0 投票

This is how the problem was solved:
  1. Start insatalling SDk 7.1
  2. Uncheck c++ compiliers
  3. After SDK installation is done install this update http://www.microsoft.com/en-us/download/details.aspx?id=4422
  4. Open SDK cmd prompt Start >> All programs >> Microsoft Windows SDK 7.1 >> Microsoft SDK cmd prompt
  5. Change current directory to bin folder
  6. Build the required enviromental variables SetEnv.cmd/x64 /debug
you should get the following
Setting SDK enviroment realtive to C:\Program files\Microsoft SDKs\Windows\v7.1\.
Return to Matlab to setup mex files

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by