Community
cancel
Showing results for 
Search instead for 
Did you mean: 
AndrewC
New Contributor I
376 Views

"xilink.exe" exited with code -1073741515

I cannot link any Intel Compiler 17.0 Update 2 library Targets in Visual Studio 2015

Both static and dynamic libs fail with the following error

"xilink.exe" exited with code -1073741515

 

1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\x64\PlatformToolsets\Intel C++ Compiler 17.0\Toolset.targets(1108,5): error MSB6006: "xilink.exe" exited with code -1073741515.

 

0 Kudos
3 Replies
AndrewC
New Contributor I
375 Views

Results of some tests on the same machine after installing Update 2

Visual Studio 2013+17.0 U2-> No problem

VIsual Studio 2015+17.0 U2 -> Cannot link any program/dll/lib -create simple console application -all fail with code -1073741515 before starting link phase.

I am now uninstalling VS 2015 and 17.0 U2 in desperate attempt to be able to build again.

 

AndrewC
New Contributor I
375 Views

If anyone has an idea on this please help.

I have spent hours  re-installing VS 2015 + Parallel Studio 2017 Update 2 to no avail.

Here is debug output from Visual Studio 2015 build step

 

Target "Link" in file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\x64\PlatformToolsets\Intel C++ Compiler 17.0\Toolset.targets" from project "D:\Temp\ConsoleApplication3\ConsoleApplication3\ConsoleApplication3.vcxproj" (target "_Link" depends on it):
1>       Using "XILINK" task from assembly "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Intel.Build.ICLTasks.v140.dll".
1>       Task "XILINK"
1>         Write Tracking Logs:
1>             x64\Debug\ConsoleA.50D1A97E.tlog\xilink.write.1.tlog
1>             x64\Debug\ConsoleA.50D1A97E.tlog\xilink-mcpcom.write.1.tlog
1>         Read Tracking Logs:
1>             x64\Debug\ConsoleA.50D1A97E.tlog\xilink.read.1.tlog
1>             x64\Debug\ConsoleA.50D1A97E.tlog\xilink-mcpcom.read.1.tlog
1>         No output for D:\TEMP\CONSOLEAPPLICATION3\CONSOLEAPPLICATION3\X64\DEBUG\CONSOLEAPPLICATION3.OBJ|D:\TEMP\CONSOLEAPPLICATION3\CONSOLEAPPLICATION3\X64\DEBUG\STDAFX.OBJ was found in the tracking log; source compilation required.
1>         No dependencies for output D:\TEMP\CONSOLEAPPLICATION3\CONSOLEAPPLICATION3\X64\DEBUG\CONSOLEAPPLICATION3.OBJ|D:\TEMP\CONSOLEAPPLICATION3\CONSOLEAPPLICATION3\X64\DEBUG\STDAFX.OBJ were found in the tracking log; source compilation required.
1>         Environment Variables passed to tool:
1>           VS_UNICODE_OUTPUT=1528
1>         C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2017\windows\bin\Intel64\xilink.exe -qm64 /OUT:"D:\Temp\ConsoleApplication3\x64\Debug\ConsoleApplication3.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /manifest:embed /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"D:\Temp\ConsoleApplication3\x64\Debug\ConsoleApplication3.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"D:\Temp\ConsoleApplication3\x64\Debug\ConsoleApplication3.lib" /MACHINE:X64 x64\Debug\ConsoleApplication3.obj
1>         x64\Debug\stdafx.obj
1>         Tracking command:
1>         C:\Program Files (x86)\MSBuild\14.0\bin\Tracker.exe /a /d "C:\Program Files (x86)\MSBuild\14.0\bin\FileTracker32.dll" /i D:\Temp\ConsoleApplication3\ConsoleApplication3\x64\Debug\ConsoleA.50D1A97E.tlog /r "D:\TEMP\CONSOLEAPPLICATION3\CONSOLEAPPLICATION3\X64\DEBUG\CONSOLEAPPLICATION3.OBJ|D:\TEMP\CONSOLEAPPLICATION3\CONSOLEAPPLICATION3\X64\DEBUG\STDAFX.OBJ" /b MSBuildConsole_CancelEventf3b8246e2c46413591ecf5aec2d72bfd  /c "C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2017\windows\bin\Intel64\xilink.exe"  -qm64 /OUT:"D:\Temp\ConsoleApplication3\x64\Debug\ConsoleApplication3.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /manifest:embed /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"D:\Temp\ConsoleApplication3\x64\Debug\ConsoleApplication3.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"D:\Temp\ConsoleApplication3\x64\Debug\ConsoleApplication3.lib" /MACHINE:X64 x64\Debug\ConsoleApplication3.obj
1>         x64\Debug\stdafx.obj
1>     1>
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\x64\PlatformToolsets\Intel C++ Compiler 17.0\Toolset.targets(1108,5): error MSB6006: "xilink.exe" exited with code -1073741515.
1>       Done executing task "XILINK" -- FAILED.
1>     1>
1>Done building target "Link" in project "ConsoleApplication3.vcxproj" -- FAILED.
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:00.18
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

AndrewC
New Contributor I
375 Views

I resolved the problem.

I pasted the full contents of the link line into a CMD window, and found that a required .DLL was missing from my system. Once the DLL was replaced by re-running the VIsual Studio 2015 runtime installer, things started working again.

Reply