VS7, nmake, standard includes

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




I'm trying to build an open-source project, following the instructions
and included makefile for VS7 nmake under Windows. This is a very new
installation of VS7, but I used the company's install system (seems to
work for others) and a test IDE project went ok. I didn't try any test
nmake programs though.

Anyway, the make fails right away, unable to find stdio.h. I changed
the path to add the include directory:

C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include

That didn't help.

Here's the full output:

D:\mico>nmake /f Makefile.win32

Microsoft (R) Program Maintenance Utility Version 7.10.3077
Copyright (C) Microsoft Corporation. All rights reserved.

A subdirectory or file .\win32-bin already exists.
A subdirectory or file .\win32-bin\lib already exists.
cl.exe /DNDEBUG /Ox admin\cntfiles.cpp /Foadmin\cntfiles.obj/link /OUT
:admin\cntfiles.exe
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for
80x86
Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.

cntfiles.cpp
admin\cntfiles.cpp(1) : fatal error C1083: Cannot open include file:
'stdio.h':
No such file or directory
NMAKE : fatal error U1077: 'cl.exe' : return code '0x2'
Stop.


Any thoughts on the matter would be appreciated. If someone has a small
test program with associated makefile for nmake, I'd give it a whirl.




Brian
.



Relevant Pages

  • Re: vcbuild usage questions
    ... and .vcproj files will be created and put somewhere, ... command lines in my nmake makefiles to use vcbuild. ... which means I "can't get nmake to invoke vcbuild only when the ... nmake makefile to build the ProjectName project? ...
    (microsoft.public.vc.language)
  • Build for Windows Mobile Failed
    ... I successfully ran configure.bat (without an architecture type as ... I ran nmake and he complaint following: ... Copyright Microsoft Corp 1988-1998. ... Opened the makefile in my editor and look up the line. ...
    (comp.lang.ruby)
  • Re: Perl Module installation instructions
    ... I looked for nmake to download at microsoft.com, ... >> gives a few instructions, but alas, those are most minimal (at least ... >> Perl module installation somewhere? ... >> without spending days on arcane installation procedures? ...
    (comp.lang.perl.modules)
  • Window not visible
    ... But compiling with VC6 my application window is invisible. ... Nmake -f makefile ... Attached are the source code and ... the makefile I am using to compile code. ...
    (microsoft.public.vc.ide_general)
  • Re: Unable to install perl module win32:driveinfo
    ... > I was able to use nmake and these are the commands I ran. ... > Microsoft Program Maintenance Utility Version 6.00.9782.0 ... > Could you please let me know if the installation was successful. ... installed successfully by writing a program that uses it and inspecting ...
    (comp.lang.perl.misc)