After installation of Composer XE 2015, build with msbuild.exe on command prompt (Intel64 Visual Studio 2013 mode) always fails. It seems msbuild.exe platform toolset configuration for new XE is wrong. (icl.exe location)
Can anyone suggest workaround?
my msbuild arguments:
msbuild.exe msbuild.sln /p:Configuration=Debug;PlatformToolset="Intel C++ Compiler XE 15.0"
msbuild.sln is simple 'Hello World' project. (x64)
Build Log:
Microsoft (R) Build Engine version 12.0.30723.0 [Microsoft .NET Framework, version 4.0.30319.34014] Copyright (C) Microsoft Corporation. All rights reserved. Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. Build started 9/20/2014 1:39:53 AM. Project "C:\ICPP15\VS2013.U3\msbuild\msbuild.sln" on node 1 (default targets). ValidateSolutionConfiguration: Building solution configuration "Debug|X64". Project "C:\ICPP15\VS2013.U3\msbuild\msbuild.sln" (1) is building "C:\ICPP15\VS2013.U3\msbuild\msbuild_example.vcxproj" (2) on node 1 (default targets). InitializeBuildStatus: Touching "x64\Debug\msbuild_example.tlog\unsuccessfulbuild". MessageBuildingWithCompiler: Building with Intel(R) C++ Compiler XE 15.0 ClCompile: ***** ClCompile (x64 - Intel C++) C:\devTools\Intel\Composer XE 2015\bin\Intel64\icl.exe /c /Qvc12 /Qlocation,link,"C:\devTools\VS2013\VC\bin\amd64" /Zi /nologo /W3 /Od /Qftz- /D __INTEL_COMPILER=1500 /D WIN32 /D _DEBUG /D _CONSOLE /D _LIB /D _UNICODE /D UNICODE /EHsc /RTC1 /MDd /GS /Zc:wchar_t /Zc:forScope /Fo"x64\Debug\\" /Fd"x64\Debug\vc120.pdb" /TP main.cpp C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Platforms\x64\PlatformToolsets\Intel C++ Compiler XE 15.0\Toolset.targets(357,5): error MSB6003: The specified task executable "icl.exe" could not be run. The system cannot find the file specified. (Exception from HRESULT: 0x80070002) [C:\ICPP15\VS2013.U3\msbuild\msbuild_example.vcxproj] Done Building Project "C:\ICPP15\VS2013.U3\msbuild\msbuild_example.vcxproj" (default targets) -- FAILED. Done Building Project "C:\ICPP15\VS2013.U3\msbuild\msbuild.sln" (default targets) -- FAILED. Build FAILED. "C:\ICPP15\VS2013.U3\msbuild\msbuild.sln" (default target) (1) ->"C:\ICPP15\VS2013.U3\msbuild\msbuild_example.vcxproj" (default target) (2) -> (ClCompile target) -> C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Platforms\x64\PlatformToolsets\Intel C++ Compiler XE 15.0\Toolset.targets(357,5): error MSB6003: The specified task executable "icl.exe" could not be run. The system cannot find the file specified. (Exception from HRESULT: 0x80070002) [C:\ICPP15\VS2013.U3\msbuild\msbuild_example.vcxproj] 0 Warning(s) 1 Error(s) Time Elapsed 00:00:00.48
* Windows 8.1 Enterprise N / Windows Server 2012 R2
* ICPP 15.0
* Visual Studio 2013 Update 3