Why do I receive an error message when I try to choose Microsoft Visual C++ 2005 Express Edition compiler using MEX -SETUP?
Show older comments
I am trying to choose Microsoft Visual C++ 2005 Express Edition compiler on a 32-bit Windows machine, using 'mex -setup' as follows
Please choose your compiler for building external interface (MEX) files
Would you like mex to locate installed compilers [y]/n?
Select a compiler:
[1] Lcc-win32 C 2.4.1 in C:\PROGRA~1\MATLAB\R2007b\sys\lcc
[2] Microsoft Visual C++ 2005 Express Edition in C:\Program Files\Microsoft Visual Studio 8
[0] None
Compiler: 2
Please verify your choices:
Compiler: Microsoft Visual C++ 2005 Express Edition
Location: C:\Program Files\Microsoft Visual Studio 8
Are these correct?([y]/n):
However, I get the following error message
*****************************************************************************
Error: The Microsoft Platform Software Development Kit (SDK) was not found.
Microsoft Visual C++ 2005 Express Edition requires that the SDK is
installed properly. MEX uses the environment variable "MSSdk" to
find the SDK. If it is installed properly, please verify that the
environment variable "MSSdk" points to the correct location.
Otherwise, install the SDK and try again.
*****************************************************************************
Trying to update options file: C:\Documents and Settings\yair\Application Data\MathWorks\MATLAB\R2007b\mexopts.bat
From template: C:\PROGRA~1\MATLAB\R2007b\bin\win32\mexopts\msvc80freeopts.bat "
Accepted Answer
More Answers (0)
Categories
Find more on C Shared Library Integration in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!