Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

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

Matt_Clarkson
Beginner
954 Views

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.

0 Kudos
2 Replies
Hubert_H_Intel
Employee
954 Views
Matt, Thanks a lot for your report! I'll follow up on this. Regards, Hubert.
0 Kudos
Matt_Clarkson
Beginner
954 Views
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.
0 Kudos
Reply