Fail to build "x64" configuration in Visual Studio 2013* with "error TRK0002: Failed to execute command"

Reference number: DPD200249390

Product versions:

  • Intel® C++ Composer XE 2013 SP1 for Windows* Update 1

OS affected:

  • Windows OS with Visual Studio 2013* professional edition or above

Problem description:

The Intel C++ Composer XE 2013 SP1 for Windows Update 1 supports Microsoft* Visual Studio 2013* (IDE integration support for professional edition or above, command line support for express edition or above). But an issue has been reported from this forum thread that a build failure is encountered when building the "x64" configurations ("x64|debug" or "x64|release") with Intel C++ compiler 14.0 within Visual Studio 2013 IDE. The error message is:

------ Rebuild All started: Project: chello2013_2, Configuration: Debug x64 ------
TRACKER : error TRK0002: Failed to execute command: ""C:\Program Files (x86)\Intel\Composer XE 2013 SP1\bin\Intel64\xilink.exe" @C:\Temp\tmp9e951d67487542a0b30af00ef8133e9f.rsp". The operation identifier is not valid.

Note: there is no issue with building the "Win32" configurations.


This issue has been fixed in the update 2 release.  

The root cause of this issue has been identified. It will be fixed in the next update.
Please use the following workarounds:

    1. Workaround #1:
      • Open file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Platforms\x64\PlatformToolsets\Intel C++ Compiler XE 14.0\Toolset.props" with notepad or any editing tool
      • At line 71 before "<NativeExecutablePath Condition="'$(ICCompilerPlatform)' == 'EM64T'">", insert the line below:

        <NativeExecutablePath Condition="'$(NativeExecutablePath)' == ''">$(VCInstallDir)bin\AMD64;$(VCInstallDir)VCPackages;$(WindowsSDK_ExecutablePath_x64);$(WindowsSDK_ExecutablePath_x86);$(MSBuildToolsPath);$(MSBuildFrameworkToolsPath);$(PATH);</NativeExecutablePath>

      • At line 78 before "</PropertyGroup>", insert another line below:
      The updated "Toolset.props" is also attached for reference.


  1. Workaround #2: if your project contains resource file, please use this workaround.
    • Open file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Platforms\x64\PlatformToolsets\Intel C++ Compiler XE 14.0\Toolset.props" with notepad or any editing tool
    • move the following line:
      <_IsNativeEnvironment Condition="'$(PROCESSOR_ARCHITEW6432)' == 'AMD64' OR '$(PROCESSOR_ARCHITECTURE)' == 'AMD64'">true</_IsNativeEnvironment>

      to be right after following line:

      <BaseToolsetPropsFound Condition="Exists('$(VCTargetsPath)\Platforms\$(Platform)\PlatformToolsets\$(BasePlatformToolset)\Toolset.props')">true</BaseToolsetPropsFound>
For more complete information about compiler optimizations, see our Optimization Notice.
Plain text icon toolset-icl-fix.props-0.txt8.68 KB


VADIM G. (Intel)'s picture

Alternative solution for this issue (does the same as described above, but a bit shorter):

Open Toolset.props and move the following line

<_IsNativeEnvironment Condition="'$(PROCESSOR_ARCHITEW6432)' == 'AMD64' OR '$(PROCESSOR_ARCHITECTURE)' == 'AMD64'">true

to the first PropertyGroup section.

Add a Comment

Have a technical question? Visit our forums. Have site or software product issues? Contact support.