trying to compile a file with nmake so i open a dos prompt and write c:\gdidemo\nmake then press enter cgidemo is the file that i want to build that dir contains the source code too and the makefile file and here is what error i get
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cl -c -W3 -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -D_X86_=1 -D_WINNT -
D_WIN32_WINNT=0x0400 -D_WIN32_IE=0x0300 -DWINVER=0x0400 -DWIN32 -D_WIN32 -Z7 -O
d -DNT -DWIN -DNOT_IMPLEMENTED gdidemo.c
'cl' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: 'cl' : return code '0x1'
Stop.
i m a nwebie to this stuff and maybe that quest do not belong here but though that this forum was the more appropriate one
thnks
thats the file i m trying to complile i copy in the same dir nmake,ntwin32.mak,win32.mak and the files in the zip than i run nmake what i m doing worng how to compile that file?
what a bug i think it was a bug
i was compiling the project that parksie post at D:\Documents and Settings\Administrator\Desktop\1 and i always got back errors i compiled then on c:\temp and it worjked
1. Delete the gdidemo.def file -- you don't need it since the linker does it automatically now
2. Delete the previous project files
3. Create a new "Win32 Application"
4. Add all .c, .h, and .rc files to this project
5. Build it
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You". -- Linus Torvalds
please keep up with me for a little more don't seem to get it this is what i m doing copy all the files to a dir del the def,dsp,dsw files trying to create a new win32app in the some folder and i me getting the error that the workspace exists what else do i have to delete?
You shouldn't get that error Delete the Release and Build folders as well. You need to make sure that you actually create it IN that folder, rather than another folder inside it which VC has a tendency to do.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You". -- Linus Torvalds
It's the Release and Debug folders, if they're there.
Okay. Step-by-step:
1. Open VC++
2. Make a new Win32 Application in a new folder
3. Find the folder you made that in and copy the .c, .h, and .rc files into it.
4. Add those files to the project
5. Press the Build button (or hit Ctrl-F5)
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You". -- Linus Torvalds