microsoft / DTrace-on-Windows

Code for the cross platform, single source, OpenDTrace implementation
Other
473 stars 42 forks source link

Cannot compile dtrace.sys, spectre-mitigated libraries installed but getting MSB8040 error. #18

Closed MlsDmitry closed 2 years ago

MlsDmitry commented 2 years ago

Host configuration

VM Configuration:

VS Individual Components:

Project Configuration:

For dtrace.dll and dtrace.exe project build is successful, but for dtrace.sys MSB8040 error is displaying. No other warnings / errors displayed.

MlsDmitry commented 2 years ago

Well, I disabled spectre mitigation and dealt with few more errors, but that's it. I understand the risks behind excluding this protection, but I'm gonna use it for personal tests as developer. So I think you mustn't do this when using dtrace on production. Sorry for disturbing, developers. You did a great job, thank you !