a problem with mex -setup, thanks



I want to use MEX to compile C++ files. But when I want to set the path of the compile to the directory of the installed Microsoft Visual C++ 2005 Express Edition,there is an error.
Could anyone help me to fix this problem.

Thank you very much
*****************************************************************************
mex -setup
Please choose your compiler for building external interface (MEX) files:

Would you like mex to locate installed compilers [y]/n? y

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): y




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.
.



Relevant Pages

  • Re: select a compiler by mbuild -setup but cannt find SDK
    ... Select a compiler: ... Files\Microsoft Visual Studio .NET 2003 ... requires that the SDK is ... Otherwise, install the SDK ...
    (comp.soft-sys.matlab)
  • Re: help needed about mex setup. thanks
    ... Select a compiler: ... The Microsoft Platform Software Development Kit (SDK) was not ... environment variable "MSSdk" points to the correct location. ... install the SDK and try again. ...
    (comp.soft-sys.matlab)
  • Annoying problem with header files
    ... I have encountered a really strange problem with header files, ... I try to install complete successfully, but don't install all the header ... SP2 full SDK and downloaded the ... Whether it is going to install the compiler I don't know but it ...
    (microsoft.public.vc.language)
  • Annoying problem with header files
    ... I have encountered a really strange problem with header files, ... I try to install complete successfully, but don't install all the header ... SP2 full SDK and downloaded the ... Whether it is going to install the compiler I don't know but it ...
    (microsoft.public.win32.programmer.tools)
  • RE: missing skin file when opening an SDK emulator
    ... When you created your SDK, had you configured the emulator to use a custom ... can you verify that your custom skins were installed onto the ... target machine under the SDK install path? ...
    (microsoft.public.windowsce.platbuilder)