To use WDK in VS2019, which Spectre-mitigated library should be installed

后端 未结 1 400
小鲜肉
小鲜肉 2021-01-27 18:20

When using WDK in VS2019, I get this build error:

Error MSB8040: Spectre-mitigated libraries are required for this project

There are

1条回答
  •  说谎
    说谎 (楼主)
    2021-01-27 18:52

    VS2019 toolset "WindowsKernelModeDriver10.0" (which you need to select to build driver projects) seems to use the highest version of C++ toolset that VS2019 supports.

    For now the highest version is 14.23 so only need to install

    MSVC v142 - VS 2019 C++ x64/x86 Spectre-mitigated libs (v14.23)
    

    0 讨论(0)
提交回复
热议问题