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 Commenti

Kaustubha Govind
Kaustubha Govind il 28 Ago 2012
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 il 29 Ago 2012
Done

Accedi per commentare.

 Risposta accettata

Amira Hosny
Amira Hosny il 29 Ago 2012
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

Più risposte (0)

Categorie

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by