Quantcast
Channel: Intel® Software - Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 1175

MSB6006 "icl.exe" exited with code 4.

$
0
0

Hi All,

I'm attempting to build a .lib from a C code .cpp file.  Code has run OK before under VS6

The .lib is to be linked to a FORTRAN project

I'm totally unfamiliar with C projects and get a compile failure message as below.

Can anyone explain this to me please

Thanks, Gordon

 

1>------ Build started: Project: RayOpt, Configuration: Release x64 ------
1>rayopt.cpp
1>Catastrophic error: cannot open precompiled header file "x64\Release\RayOpt.pchi"
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Platforms\x64\PlatformToolsets\Intel C++ Compiler 19.0\Toolset.targets(350,5): error MSB6006: "icl.exe" exited with code 4.
1>Done building project "RayOpt.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


Viewing all articles
Browse latest Browse all 1175

Trending Articles