[WinPrnDev] Strange XPS driver build issue with WDK 7

  • From: "Long, Scott" <Scott.Long@xxxxxxxxxxxx>
  • To: "winprndev@xxxxxxxxxxxxx" <winprndev@xxxxxxxxxxxxx>
  • Date: Wed, 3 Mar 2010 16:47:08 -0800

Hi gurus,

We've got an XPS driver in house here which was based on the XPS sample driver 
from an older version of the WDK (unfortunately, I do not know the specific WDK 
version, but it was WDK 6 or earlier). When we try to build this driver using 
the latest WDK 7, we are getting some very strange errors.

We are building from a x86 free build Vista/2008 build window, using the usual 
build system.

In the build log, in the first few lines, we see:


And a bit later, during compilation of one of the filter modules, we see:

1>NMAKE : fatal error U1073: don't know how to make 

The problem is clearly the lack of msxml6.lib under the wxp libraries. However, 
it should not be selecting wxp at this point. It should be using wlh 
(Longhorn). We have checked and double-checked all of our 
MINIMUM_NT_TARGET_VERSION settings, and they are all set to 0x600, which I 
believe is what it should be. The SDK_LIB_PATH variable is set to:


Which again, seems correct. Yet for some reason, the build system is deciding 
that the target version is WinXP. We can't seem to figure out where in the 
process things go wrong, but they go wrong very early on.

I've sanity checked that the XPSDrvSmpl that comes with the WDK compiles 
correctly. We have lined up all the sources, sources.inc, and makefiles against 
each other, and we cannot see any relevant differences.

Does anybody have a clue why the build system seems to get confused and think 
it's targeting WinXP? This driver needs to be targeted to Longhorn.


Scott Long
Senior Software Engineer
Digimarc Corporation
p. 503.469.4687
Questions? First check the UndocPrint pages at 

To unsubscribe, visit the List Server page at 

Other related posts: