Build problem

Hello,

I am new to the whole DDK environment and I am currently trying to build a
simple application but when I do I get the following output

D:\winddkTest1>build -cZ
BUILD: Adding /Y to COPYCMD so xcopy ops won’t hang.
BUILD: Object root set to: ==> objchk_wxp_x86
BUILD: Compile and Link for i386
BUILD: Examining d:\winddktest1 directory for files to compile.
BUILD: Compiling d:\winddktest1 directory
BUILD: nmake.exe failed - rc = 2
BUILD: Linking d:\winddktest1 directory
BUILD: nmake.exe failed - rc = 2
BUILD: Done

I have a file called “makefile” with the following contents

!INCLUDE $NTMAKEENV)\makefile.def

And a file called “sources” with the following contents

TARGETNAME=test1
TARGETTYPE=PROGRAM
TARGETPATH=obj
TARGETLIBS = $(SDK_LIB_PATH)\kernel32.ib\
$(SDK_LIB_PATH)\user32.lib

PRECOMPILED_CXX = 1

SOURCES = test1.cpp

If anyone can tell me what I am doing wrong I would be very helpful.

Greetings

Olle

Problem resolved typo in the makefile

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of O.S. de Zwart,
endforward
Sent: Wednesday, November 12, 2003 8:39 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Build problem

Hello,

I am new to the whole DDK environment and I am currently trying to build a
simple application but when I do I get the following output

D:\winddkTest1>build -cZ
BUILD: Adding /Y to COPYCMD so xcopy ops won’t hang.
BUILD: Object root set to: ==> objchk_wxp_x86
BUILD: Compile and Link for i386
BUILD: Examining d:\winddktest1 directory for files to compile.
BUILD: Compiling d:\winddktest1 directory
BUILD: nmake.exe failed - rc = 2
BUILD: Linking d:\winddktest1 directory
BUILD: nmake.exe failed - rc = 2
BUILD: Done

I have a file called “makefile” with the following contents

!INCLUDE $NTMAKEENV)\makefile.def

And a file called “sources” with the following contents

TARGETNAME=test1
TARGETTYPE=PROGRAM
TARGETPATH=obj
TARGETLIBS = $(SDK_LIB_PATH)\kernel32.ib\
$(SDK_LIB_PATH)\user32.lib

PRECOMPILED_CXX = 1

SOURCES = test1.cpp

If anyone can tell me what I am doing wrong I would be very helpful.

Greetings

Olle


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@endforward.com
To unsubscribe send a blank email to xxxxx@lists.osr.com