PATCH: compilervars_arch.bat only works with Visual Studio 2012 Express for Windows 8

PATCH: compilervars_arch.bat only works with Visual Studio 2012 Express for Windows 8

The compilervats_arch.bat file only checks for the VSWinExpress.exe but it should check for any of the Visual Studio 2012 Express variants.  The following change needs to happen to that file. All occurances of:

if exist "%VS110COMNTOOLS%..\IDE\VSWinExpress.exe" (
if exist "%VS110COMNTOOLS%..\..\VC\vcvarsall.bat" (
set MSVS_VAR_SCRIPT="%VS110COMNTOOLS%..\..\VC\vcvarsall.bat"
if /i "%TARGET_ARCH%"=="intel64" set TARGET_VS_ARCH=x86_amd64
goto Calls
)
)

Need to be replaced with:

if exist "%VS110COMNTOOLS%..\IDE\*Express.exe" (
if exist "%VS110COMNTOOLS%..\..\VC\vcvarsall.bat" (
set MSVS_VAR_SCRIPT="%VS110COMNTOOLS%..\..\VC\vcvarsall.bat"
if /i "%TARGET_ARCH%"=="intel64" set TARGET_VS_ARCH=x86_amd64
goto Calls
)
)

This is was found because Visual Studio 2012 for Desktop (that you can install on Windows 7) adds WDExpress.exe and that needs to be searched for.

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Matt,
Thanks a lot for your report! I'll follow up on this.
Regards, Hubert.

This isn't fixed in 2013.01. Is it going to be fixed in 2013.02? It means you cannot use the intel compilers via the command line with 2013 unless you have a certain 2013 SKU installed.

Login to leave a comment.