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

Choosing between multiple versions of MSVC

Nathan_S_
Novice
388 Views

I have the Intel C++ compiler installed onto a Windows machine, which has been using MSVC 10 (2010). I recently installed MSVC 12 (2013) alongside the MSVC 10 compiler, and now icpc seems to be defaulting to use that version of MSVC. Is there a way to configure the Intel compiler to use the MSVC 10 version instead?

0 Kudos
1 Solution
Nathan_S_
Novice
388 Views

When sourcing the compilervars.bat file, I found you can specify both the architecture and version of visual studio you want to use:

  call "c:\Program Files (x86)\Intel\Composer XE 2015\bin\compilervars.bat" intel64 vs2010

 

 

View solution in original post

0 Kudos
1 Reply
Nathan_S_
Novice
389 Views

When sourcing the compilervars.bat file, I found you can specify both the architecture and version of visual studio you want to use:

  call "c:\Program Files (x86)\Intel\Composer XE 2015\bin\compilervars.bat" intel64 vs2010

 

 

0 Kudos
Reply