howto build cups driver for Windows Server 2003 R2 X64 ?

Andre de Souza Pinto andre at aspinformatica.com.br
Mon Jan 19 10:33:48 PST 2009


Where can I found a cups driver for Windows Server 2003 R2 X64 ?

Or how can I build it for "Windows Server 2003 R2 X64" ?

I have a "visual studio 2008" and "wdk 6001.18002" but when
I type build /c on source directory, show many errors, see following:

--------------------------------------------------------------------------

D:\WinDDK\6001.18002>cd \asp\gnu\cups-windows-6.0

D:\asp\gnu\cups-windows-6.0>build /c
path contains nonexistant c:\oracle\ora92\bin, removing
path contains nonexistant c:\perl\site\bin, removing
path contains nonexistant c:\perl\bin, removing
BUILD: Compile and Link for AMD64
BUILD: Loading d:\winddk\6001.18002\build.dat...
BUILD: Computing Include file dependencies:
BUILD: Start time: Mon Jan 19 16:31:37 2009
BUILD: Examining d:\asp\gnu\cups-windows-6.0 directory tree for files to compile
. 
    d:\asp\gnu\cups-windows-6.0\cupsps6 - 2 source files (673 lines)
    d:\asp\gnu\cups-windows-6.0\cupsui6 - 2 source files (844 lines)
BUILD: Saving d:\winddk\6001.18002\build.dat...
Total of 4 source files (1,517 lines) to compile in 2 directories

1>BUILD: Compiling (NoSync) d:\asp\gnu\cups-windows-6.0\cupsps6 directory
2>BUILD: Compiling (NoSync) d:\asp\gnu\cups-windows-6.0\cupsui6 directory
2>_NT_TARGET_VERSION SET TO WS03
1>_NT_TARGET_VERSION SET TO WS03
2>Compiling - cupsui6\cupsui.cpp
1>Compiling - cupsps6\cupsps.cpp
1>errors in directory d:\asp\gnu\cups-windows-6.0\cupsps6
1>d:\asp\gnu\cups-windows-6.0\cupsps6\cupsps.cpp(508) : error C2220: warning tre
ated as error - no 'object' file generated
1>Building Library - amd64\cupsps6.lib
2>Building Library - amd64\cupsui6.lib
1>link : error LNK1181: cannot open input file 'd:\asp\gnu\cups-windows-6.0\cups
ps6\objfre_wnet_amd64\amd64\cupsps.obj'
1>BUILD: Linking for d:\asp\gnu\cups-windows-6.0 directory
BUILD: Compile errors: not linking d:\asp\gnu\cups-windows-6.0\cupsps6 directory

2>BUILD: Linking for d:\asp\gnu\cups-windows-6.0\cupsui6 directory
1>errors in directory d:\asp\gnu\cups-windows-6.0
1>NMAKE : fatal error U1073: don't know how to make 'clean'
errors in directory d:\asp\gnu\cups-windows-6.0
nmake.exe /nologo BUILDMSG=Stop. -i BUILD_PASS=PASS2 LINKONLY=1 NOPASS0=1 clean
MAKEDIR_RELATIVE_TO_BASEDIR= failed - rc = 2

2>_NT_TARGET_VERSION SET TO WS03
2>Compiling resources - cupsui6\cupsui.rc
2>errors in directory d:\asp\gnu\cups-windows-6.0\cupsui6
2>d:\asp\gnu\cups-windows-6.0\cupsui6\cupsui.rc(10) : error RC1015: cannot open
include file 'afxres.h'.
2>Linking Executable - amd64\cupsui6.dll
2>link : error LNK1181: cannot open input file 'd:\asp\gnu\cups-windows-6.0\cups
ui6\objfre_wnet_amd64\amd64\cupsui.res'
BUILD: Finish time: Mon Jan 19 16:31:42 2009
BUILD: Done

    7 files compiled - 5 Warnings - 4 Errors - 469 LPS
    2 libraries built - 1 Error
    1 executable built - 1 Error

D:\asp\gnu\cups-windows-6.0>

--------------------------------------------------------------------------

Thanks for any information





More information about the cups mailing list