windowskernelprogrammingbook2e icon indicating copy to clipboard operation
windowskernelprogrammingbook2e copied to clipboard

Following your book, I get this error MSB8040.

Open nonlin opened this issue 3 years ago • 3 comments

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

I think I know what to do but haven't resolved it yet. Sharing in case I don't resolve and if I do I'll update with steps on what I did to fix it.

nonlin avatar Sep 17 '22 14:09 nonlin

You need to go to VS setup, search "Spectre" in individual components, and install the libraries with Spectre mitigations.

zodiacon avatar Sep 17 '22 14:09 zodiacon

I tried that by doing the latest ones but that wasn't enough. I even tried making sure to get ARM and ARM 64 as well as x86 and x64. Aside from installing all of them I wasn't sure which I need so I found out I can disable the feature for now via the properties and that seemed to do the trick.

nonlin avatar Sep 17 '22 21:09 nonlin

That's another option :)

zodiacon avatar Sep 18 '22 22:09 zodiacon