Re: select a compiler by 'mbuild -setup' but cann't find SDK
- From: "Quanzeng " <quanzeng@xxxxxxx>
- Date: Thu, 1 Nov 2007 17:15:09 +0000 (UTC)
"Quanzeng " <quanzeng@xxxxxxx> wrote in message <fgcuj7
$4uo$1@xxxxxxxxxxxxxxxxxx>...
Dear all,MATLAB.
I was trying to run the 'mbuild -setup' command in
However, the Microsoft Visual C++ compilers did notMATLAB
work,following is the details when I run :
Please choose your compiler for building standalonembuild -setup
applications:[y]/n?
Would you like mbuild to locate installed compilers
y\MATLAB\R2007a\sys\lcc
Select a compiler:
[1] Lcc-win32 C 2.4.1 in C:\PROGRA~1
[2] Microsoft Visual C++ 2005 Express Edition inFiles\Microsoft
C:\Program Files\Microsoft Visual Studio 8
[3] Microsoft Visual C++ .NET 2003 in C:\Program
Files\Microsoft Visual Studio .NET 2003
[4] Microsoft Visual C++ 6.0 in C:\Program
Visual Studio***********************************************************
[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
******************and
Error: The Microsoft Platform Software Development Kit
(SDK) was not found.
Microsoft Visual C++ 2005 Express Edition
requires that the SDK is
installed properly. MATLAB Compiler 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
try again.***********************************************************
******************to
Trying to update options file: C:\Documents and
Settings\QQW8\Application
Data\MathWorks\MATLAB\R2007a\compopts.bat
From template: C:\PROGRA~1
\MATLAB\R2007a\bin\win32\mbuildopts\msvc80freecompp.bat
Done . . .
Then I follow the instruction of 'Using Visual C++ 2005
Express Edition with the Microsoft Platform SDK' at
http://msdn2.microsoft.com/en-us/express/aa700755.aspx
install the SDK and run the 'mbuild -setup' again.Still,
it didn't work.
Anyone has a sugestion?
Thanks in advance.
Hi,
I have found the answer at other place. Here is the copy
of the answer (thanks Patrick):
Subject: Re: how do define MSSdk variable
From: Patrick Schoeneich
Date: 02 Aug, 2007 16:02:50
Message: 2 of 4
Reply to this messageAdd author to My Watch List
View original formatFlag as spam
Hi,
I found your post as I had exactly the same problem !
To add the MSSdk environment variable, go to
Control Panel -> System
then "Advanced" and "Environment variables"
Then create a new variable with name "MSSDk" and value
C:\Program Files\Microsoft Platform SDK for Windows Server
2003 R2
(this is where the sdk platform is installed).
Then restart matlab and it should work...
Patrick
.
- References:
- select a compiler by 'mbuild -setup' but cann't find SDK
- From: Quanzeng
- select a compiler by 'mbuild -setup' but cann't find SDK
- Prev by Date: Re: Simple indexing problem
- Next by Date: Re: Moving averages over a vector in MatLAB?
- Previous by thread: select a compiler by 'mbuild -setup' but cann't find SDK
- Next by thread: Contour overlays
- Index(es):
Relevant Pages
|