I've tried to compile the SVN version today and got the same error. I have WinDDK 7.1, and <div><div>> PRECOMPILED_CXX has an invalid value, change it to 1.</div><div><br></div><div>I'm recompiling it because I have this problem with current Windows drivers: </div>

<div>The Color or Black&White printing selection radio-button does nothing, printer always prints in the way it is selected in the Advanced settings instead. (See the screenshots). </div><div><br></div><div>I wonder if this issue is fixed in the current svn version of Windows drivers? </div>

<div>Color/B&W mode is controlled by ColorModel keyword in my printers' PPD files, maybe I should fix something in the source files to make it work with my PPDs? </div><div><br></div><div><br></div><div>Compilation log for the reference:</div>

<div><font face="courier new, monospace">BUILD: Examining c:\users\korobkin\desktop\windows-trunk directory tree for files to compile.</font></div><div><font face="courier new, monospace">    c:\users\korobkin\desktop\windows-trunk\cupsps6 Invalidating OACR warning log for 'root:amd64fre'</font></div>

<div><font face="courier new, monospace">- 2 source files (664 lines)</font></div><div><font face="courier new, monospace">    c:\users\korobkin\desktop\windows-trunk\cupsui6 - 2 source files (835 lines)</font></div><div>

<font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">BUILD: Saving c:\winddk\7600.16385.1\build.dat...</font></div><div><font face="courier new, monospace">Total of 4 source files (1,499 lines) to compile in 2 directories</font></div>

<div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">1>BUILD: Compiling (NoSync) c:\users\korobkin\desktop\windows-trunk\cupsps6 directory</font></div><div><font face="courier new, monospace">2>BUILD: Compiling (NoSync) c:\users\korobkin\desktop\windows-trunk\cupsui6 directory</font></div>

<div><font face="courier new, monospace">Configuring OACR for 'root:amd64fre' - <OACR on></font></div><div><font face="courier new, monospace">2>errors in directory c:\users\korobkin\desktop\windows-trunk\cupsui6</font></div>

<div><font face="courier new, monospace">2>c:\winddk\7600.16385.1\bin\makefile.new(358) : error U1050: c:\users\korobkin\</font></div><div><font face="courier new, monospace">desktop\windows-trunk\cupsui6: PRECOMPILED_CXX has an invalid value, change it to 1.</font></div>

<div><font face="courier new, monospace">2>nmake.exe /nologo BUILDMSG=Stop. -i BUILD_PASS=PASS1 NOLINK=1 NOPASS0=1 WDK_ALTERNATE_MAKEDIR=users\korobkin\desktop\windows-trunk\cupsui6 MAKEDIR_RELATIVE_TO_BASEDIR= failed - rc = 2</font></div>

<div> <br><br><div class="gmail_quote">2012/3/23 Michael Sweet <span dir="ltr"><<a href="mailto:msweet@apple.com" target="_blank">msweet@apple.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

cups-windows-6.0-source.tar.bz2 was released a long time ago. We fixed some issues WRT building with newer DDKs but haven't released those changes because the DDK license changed in ways that don't allow us to release an update freely.<br>


<div class="HOEnZb"><div class="h5"><br>
<br>
On Mar 23, 2012, at 7:32 AM, Tournie <<a href="mailto:tourney.email@yahoo.com">tourney.email@yahoo.com</a>> wrote:<br>
<br>
> Are you sure that would solve it?  Why would cups-windows-6.0-source.tar.bz2 exist if it didn't build "out of the box"?<br>
><br>
><br>
>> Get the latest source from SVN.<br>
>><br>
>> On Mar 22, 2012, at 3:43 PM, Tournie <<a href="mailto:tourney..email@yahoo.com">tourney.email@yahoo.com</a>> wrote:<br>
>><br>
>>> I have the Windows DDK installed on XP.  When I open the XP x86 Free Build Environment prompt and type 'build /c' I get 6 errors - the first of which is "error U1050: cupsui6: PRECOMPILED_CXX has an invalid value, change it to 1."  I downloaded cups-windows-6..0-source.tar.bz2.  What should I do?<br>


>>> _______________________________________________<br>
>>> cups mailing list<br>
>>> <a href="mailto:cups@easysw.com">cups@easysw.com</a><br>
>>> <a href="http://lists.easysw.com/mailman/listinfo/cups" target="_blank">http://lists.easysw.com/mailman/listinfo/cups</a><br>
>><br>
>> __________________________________________________<br>
>> Michael Sweet, Senior Printing System Engineer, PWG Chair<br>
>><br>
><br>
> _______________________________________________<br>
> cups mailing list<br>
> <a href="mailto:cups@easysw.com">cups@easysw.com</a><br>
> <a href="http://lists.easysw.com/mailman/listinfo/cups" target="_blank">http://lists.easysw.com/mailman/listinfo/cups</a><br>
<br>
__________________________________________________<br>
Michael Sweet, Senior Printing System Engineer, PWG Chair<br>
<br>
_______________________________________________<br>
cups mailing list<br>
<a href="mailto:cups@easysw.com">cups@easysw.com</a><br>
<a href="http://lists.easysw.com/mailman/listinfo/cups" target="_blank">http://lists.easysw.com/mailman/listinfo/cups</a><br>
</div></div></blockquote></div><br></div></div>