[pso] checker problema setenv.cmd

Octavian Voicu octavian.voicu at gmail.com
Sun May 31 01:27:00 EEST 2009


Ai o problema cu makefile-ul, nu ai calea corecta catre Windows DDK.
Din VM functioneaza pentru ca se definesc corect variabilele de mediu cand
intri in consola pt build.
Uite cum ar trebui sa arate:


!ifdef NTMAKEENV
!include $(NTMAKEENV)\makefile.def
!else
*DDK=C:\WINDDK\6001.18002
*kbuild:
    -del $(DDK)\build.dat
    pushd . & $(DDK)\bin\setenv.bat $(DDK) chk wnet & @echo on & popd &
build -cZ
!endif



On Sat, May 30, 2009 at 11:19 PM, Aurelian Bogdan <aurelian.bogdan at gmail.com
> wrote:

> Salut!
>
> Checker-ul are o problema cand incerc sa uploadez tema2 de Windows:
>
> C:\cygwin\home\Administrator>"C:\Program Files\Microsoft SDKs\Windows\v6.1\Bin\SetEnv.Cmd"   && nmake /nologo -f NMakefile.checker build-pre
>
>
> ERROR: The system was unable to find the specified registry key or value.
>  Setting SDK environment relative to C:\Program Files\Microsoft SDKs\Windows\v6.1.
> Targeting Windows Server 2003 x86 DEBUG
>
> 	cl /W3 /nologo /EHsc /c /Fo_test\test.obj _test\test.c > errors
>
>
> 	cl /Fetest.exe _test\test.obj /link advapi32.lib > errors
> Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.21022.08 for 80x86
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
>
> checker: building
>
>
> fixing file dates ...
>
> C:\cygwin\home\Administrator>"C:\Program Files\Microsoft SDKs\Windows\v6.1\Bin\SetEnv.Cmd"   && nmake /nologo kbuild
> ERROR: The system was unable to find the specified registry key or value.
>
>
>  Setting SDK environment relative to C:\Program Files\Microsoft SDKs\Windows\v6.1.
> Targeting Windows Server 2003 x86 DEBUG
>
> 	del C:\WINDDK\3790.1830\build.dat
> The system cannot find the file specified.
> 	pushd . & C:\WINDDK\3790.1830\bin\setenv.bat C:\WINDDK\3790.1830 chk wnet & @echo on & popd & build -cZ
>
>
> The system cannot find the path specified.
> 'build' is not recognized as an internal or external command,
> operable program or batch file.
> NMAKE : fatal error U1077: 'pushd' : return code '0x1'
>
>
> Stop.
> checker: building failed
>
>
> Se pare ca totul pleaca de la setenv.cmd probabil nu se mai seteaza calea
> spre build... :)
>
> Multumesc!
>
>
>
> _______________________________________________
> pso mailing list
> pso at cursuri.cs.pub.ro
> http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/pso
>
>


-- 
Octavian Voicu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/pso/attachments/20090531/4a014cad/attachment.htm>


More information about the pso mailing list