Windows 7, VS2017, WDK, installed to D drive. Error STATUS_INVALID_IMAGE_FORMAT running cl.exe

  • Thread starter Thread starter Matthew_Sykes
  • Start date Start date
M

Matthew_Sykes

Guest
1>D:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(423,5): error MSB6006: "CL.exe" exited with code -1073741701


This is 0xC000007B, STATUS_INVALID_IMAGE_FORMAT


If I put the WDK and VS2017 on my C drive, where I have windows 10, it builds OK. So it looks like some hard coed pathing to the C drive somewhere that is causing this.

Continue reading...
 
Back
Top