From: resistance2 on
Thanks for the help, i downloaded the WDK installer and installed it, later i
went on to the windows xp checked build environment, navigated to src and
executed a build -cZ ,
I got 878 error, and the build is complaining about this,

2>errors in directory c:\winddk\6001.18001\src\video\displays\mirror\app
2>NMAKE : fatal error U1065: invalid option '-'
errors in directory c:\winddk\6001.18001\src\video\displays\mirror\app
nmake.exe /nologo BUILDMSG=Stop. -i BUILD_PASS=PASS2 LINKONLY=1 NOPASS0=1
MAKEDI
R_RELATIVE_TO_BASEDIR=src\video\displays\mirror\app failed - rc = 2

I am not sure if i have to manually edit NMAKE in order to include the
options ??.

thanks
From: resistance2 on
I need to reprahse my previous post, i noticed the build executed with 878
error's (typo) all of which were becuase of invalid option '-' in NMAKE

"resistance2" wrote:

> Thanks for the help, i downloaded the WDK installer and installed it, later i
> went on to the windows xp checked build environment, navigated to src and
> executed a build -cZ ,
> I got 878 error, and the build is complaining about this,
>
> 2>errors in directory c:\winddk\6001.18001\src\video\displays\mirror\app
> 2>NMAKE : fatal error U1065: invalid option '-'
> errors in directory c:\winddk\6001.18001\src\video\displays\mirror\app
> nmake.exe /nologo BUILDMSG=Stop. -i BUILD_PASS=PASS2 LINKONLY=1 NOPASS0=1
> MAKEDI
> R_RELATIVE_TO_BASEDIR=src\video\displays\mirror\app failed - rc = 2
>
> I am not sure if i have to manually edit NMAKE in order to include the
> options ??.
>
> thanks
From: David Craig on
Do you have anything containing build or nmake or cl in a part of the path?
Go to the appropriate build environment and type set <return>. Look at each
directory in the path and see if it contains one. You could also execute
'build /?', 'cl', & 'nmake /?'. This is with 6001.18002 and a Vista x86
checked environment. I always use 'build -ceZ', but I don't know if that is
the problem. I also noticed that when first starting the build env, it did
a build of the 'dirs' files. They are no longer created during install.

I get:
BUILD: Version 6.0.6001.16630
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.278 for
80x86
Microsoft (R) Program Maintenance Utility Version 8.00.50727.278

"resistance2" <resistance2(a)discussions.microsoft.com> wrote in message
news:4E5D605F-2672-4B9E-9B8E-E2B33345F55A(a)microsoft.com...
>I need to reprahse my previous post, i noticed the build executed with 878
> error's (typo) all of which were becuase of invalid option '-' in NMAKE
>
> "resistance2" wrote:
>
>> Thanks for the help, i downloaded the WDK installer and installed it,
>> later i
>> went on to the windows xp checked build environment, navigated to src and
>> executed a build -cZ ,
>> I got 878 error, and the build is complaining about this,
>>
>> 2>errors in directory c:\winddk\6001.18001\src\video\displays\mirror\app
>> 2>NMAKE : fatal error U1065: invalid option '-'
>> errors in directory c:\winddk\6001.18001\src\video\displays\mirror\app
>> nmake.exe /nologo BUILDMSG=Stop. -i BUILD_PASS=PASS2 LINKONLY=1 NOPASS0=1
>> MAKEDI
>> R_RELATIVE_TO_BASEDIR=src\video\displays\mirror\app failed - rc = 2
>>
>> I am not sure if i have to manually edit NMAKE in order to include the
>> options ??.
>>
>> thanks


From: resistance2 on
I checked out set <return> and all the path's seem ok to me , however my
MAKEFLAGS evn variable is set to,
MAKEFLAGS=-IC:/QNX630/target/qnx6/usr/include , i develop software for qnx
also, i am not sure if this is messing it up.

thanks for all your help



From: Tim Roberts on
resistance2 <resistance2(a)discussions.microsoft.com> wrote:
>
>I checked out set <return> and all the path's seem ok to me , however my
>MAKEFLAGS evn variable is set to,
>MAKEFLAGS=-IC:/QNX630/target/qnx6/usr/include , i develop software for qnx
>also, i am not sure if this is messing it up.

Wouldn't it have been a lot quicker just to TRY getting rid of this, rather
than waiting for us?

Yes, this is exactly the cause of your trouble. "Build" is just a thin
wrapper that checks for dependencies and then calls "nmake". "nmake" looks
for additional flags in the MAKEFLAGS variable, but not in the form you
have them.
--
Tim Roberts, timr(a)probo.com
Providenza & Boekelheide, Inc.