microsoft / Microsoft-MPI

Microsoft MPI
MIT License
244 stars 74 forks source link

How to generate MpiTraceEvents.h header? #51

Open MiZhangWhuer opened 3 years ago

MiZhangWhuer commented 3 years ago

Hi, thanks for the open source project. When I trying to compile from source code using VisualStudio 2017, the solution always prompts: could not find the header

include "MpiTraceEvents.h" (mpitrace.h)

Would you please provide the way to generate this header file?

albertziegenhagel commented 3 years ago

This file should be generated during the build process automatically but you need to have the Windows Driver Kit (WDK) installed. In #48 you can find the link to a patch file that you can apply to remove the WDK dependency and allow to generate the MpiTraceEvents.h directly with mc.exe.