Visual Studio Development Bookmark and Share   
 index > Visual C++ Express Edition > More VS2008 and Windows SDK Server 2008 problems
 

More VS2008 and Windows SDK Server 2008 problems

Hello,

apart from the problem mentioned here: http://social.msdn.microsoft.com/forums/en-US/vssetup/thread/75057882-f2ff-49b9-9a7a-65f672f8e88f/
there are more problems with the .bat files.

I've first installed Visual C++ Express 2008, followed by the Windows SDK for Windows Server 2008. I did this to get the 64-bit compilers which don't ship with VCExpress. Now there's a file called vcvarsall.bat (in c:\program files (x86)\microsoft visual studio 9.0\vc).

To make it setup an environment for one of the 64-´bit compilers I am supposed to invoke it like

vcvarsall.bat amd64
 or
vcvarsall.bat x86_amd64 (for the 32-bit to 64-bit cross-compiler)
However, this does not work. I've looked into the vcvarsall.bat file and it has pieces of code like this:

:x86_amd64
if not exist "%~dp0bin\x86_amd64\vcvarsx86_amd64.bat" goto missing
call "%~dp0bin\x86_amd64\vcvarsx86_amd64.bat"
The path is wrong! The location of vcvarsx86_amd64.bat is in \bin on my computer, not in \bin\x86_amd64 as suggested by the .bat file. Thus the 64-bit compilers are reported as "missing" even though they are present.

In conclusion, I can't do 64-bit command-line builds, because I use a build system which relies on calls like "vcvarsall.batx86_amd64" to set the proper environment variables.

Can you confirm this problem and/or suggest a fix?

Thanks for listening,
-Matthias
  • Moved byFigo FeiMSFTWednesday, May 06, 2009 10:03 AMVCExpress (From:Visual Studio Setup and Installation)
  •  
MatthiasK  Tuesday, May 05, 2009 6:59 AM
Hmya, that happens when you try to work around restrictions imposed by the product. Afaik, what you are trying to do is in clear violation with the license agreement you clicked through when you installed Express. Section 9 in the EULA. You can probably get it to work, but don't expect help with it when you post to a Microsoft forum. A couple of hundred bucks for the Academic license solves your problem.

Hans Passant.
nobugz  Wednesday, May 06, 2009 1:49 PM
Hmya, that happens when you try to work around restrictions imposed by the product. Afaik, what you are trying to do is in clear violation with the license agreement you clicked through when you installed Express. Section 9 in the EULA. You can probably get it to work, but don't expect help with it when you post to a Microsoft forum. A couple of hundred bucks for the Academic license solves your problem.

Hans Passant.
nobugz  Wednesday, May 06, 2009 1:49 PM

I don't see how I am violating the EULA here. I did not change any of the things mentioned there. I've just installed Express followed by Windows SDK. If Windows SDK gives me 64-bit compilers without further ado, then I can certainly assume that's in agreement with the EULA.

Furthermore I can assume they work together. In general the rule should be either install it and it works, or don't install it (e.g. for EULA reasons). Installing it and leaving a mess is a bad choice.

My question is not really about the money as I can get Visual Studio Team Suite 2008 for exactly 0â‚?(for academic purposes) via my MSDNAA account. I'd just like to know a definite answer to this question.

MatthiasK  Wednesday, May 06, 2009 10:56 PM
So, you've found an Academic license for the full product. For zero Euros, no less. Why exactly are you bothering trying to make Express work?

Hans Passant.
nobugz  Wednesday, May 06, 2009 11:33 PM
So other people which cannot get the full compiler for free can compile my source code as well.
MatthiasK  Thursday, May 07, 2009 10:12 AM

You can use google to search for other answers

Custom Search

More Threads

• Visual C++ 2008 Express Edition 3rd Party Installer
• compile and link c program in visual C++ 20008 Express
• Equivalent of Console::Write For CLR Windows Form Application
• A serious Challenge between Linux & Windows: Where is socket.h, etc?
• cannot open winmm.lib or comctl32.lib
• drawing lines in windows forms application.
• Visual C++ 2008 Express Edition: Create new project
• project settings
• ListViewItem Image
• Need to know which libraries to use when implementing this project