Missing header file coff.h in Visual Studio SDK

winapiadmin 0 Reputation points
2023-12-10T08:40:58.3366667+00:00

I have tried installing the Visual Studio extension development, the latest version of MSVC build tools, repaired, and Desktop development with C++, but the coff.h header file is still missing. I have included the installer configuration in the original question. Can someone help me figure out how to get this header file?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,176 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,755 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. RLWA32 45,691 Reputation points
    2023-12-10T09:42:28.0366667+00:00

    As others advised you in their answers to your question at https://stackoverflow.com/questions/77598360/header-file-coff-h-not-exist-even-installed-with-correct-configurations coff.h is a Linux header. Perhaps it is available if you install the Linux development with C++ workload. See https://learn.microsoft.com/en-us/cpp/linux/download-install-and-setup-the-linux-development-workload?view=msvc-170


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.