Compiling in Visual Studio 2015 with the Visual Studio 2013 platform toolset is not working because of some Intel composer platform files. The Intel configuration is preventing me of compiling legacy applications because of it.
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Platforms\Win32\PlatformToolsets\v120\ImportBefore\Intel.Libs.MKL.v120.targets(44,5): error MSB6003: The specified task executable "cmd.exe" could not be run. The working directory "mkl\tools" does not exist.
Compiling the same configuration in Visual Studio 2013 IDE is working.
Applications installed on my system (related):
- Intel Composer XE 2013
- Intel Composer XE 2013 SP1
- Visual Studio 2013
- Visual Studio 2015
Here are the steps taken to easily reproduce the error.
- Create a new Visual Studio C++ Win32 project.
- Project is set to VS2015 toolset (compilation works).
- Change the platform toolset to Visual Studio 2013 (Project / Properties / Configuration Properties / General -> Platform Toolset).
- Compile and get the results above.
Side note : I have the same results when choosing Visual Studio 2012 but no error when using Visual Studio 2010 toolset.
Choosing Intel Compiler XE 14.0 is not working either, altough I am not expecting it to work because it is not yet integrated for Visual Studio 2015.
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Platforms\Win32\PlatformToolsets\Intel C++ Compiler XE 14.0\Toolset.targets(123,5): error : Could not expand ICInstallDir variable. Platform toolset may be set to an invalid version number.
What I am not happy tough is that the installation of Intel Composer is preventing me from compiling VS2013 applications inside VS2015 which is preventing me of using VS2015 for some projects.
Is there any way of preventing this error? Is there any configuration in Visual Studio 2015 that could be set in order for the target files to be parsed properly? Uninstalling Intel Composer 2013 SP1 is not an option since it is being used in other projects/solutions.
Thanks
Sébastien