xmake icon indicating copy to clipboard operation
xmake copied to clipboard

WDM driver builds should include 'shared' WDK header directory

Open acyr opened this issue 3 months ago • 1 comments

https://github.com/xmake-io/xmake/blob/6046c050650e63b430777dda1c6ce497ac43917e/xmake/rules/wdk/env/load.lua#L112

Some headers under km/ depend on those in shared/ as well from the WDK, so the shared/ include path must also be included in system path. I believe this should work:

 target:add("sysincludedirs", path.join(wdk.includedir, wdk.sdkver, "shared")) 

acyr avatar Nov 20 '25 20:11 acyr

I don't have a WDK environment. You can submit a PR directly.

waruqi avatar Nov 21 '25 04:11 waruqi