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

Imagen de Matt Clarkson

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.

publicaciones de 3 / 0 nuevos
Último envío
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.
Imagen de hubert-haberstock (Intel)

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

Imagen de Matt Clarkson

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.

Inicie sesión para dejar un comentario.