Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / General / September 2007

Tip: Looking for answers? Try searching our database.

VS7, nmake, standard includes

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Default User - 21 Sep 2007 20:02 GMT
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
Default User - 24 Sep 2007 22:23 GMT
> 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
[quoted text clipped - 3 lines]
>
> Anyway, the make fails right away, unable to find stdio.h.

Answering my own question. There's a batch file called vcvars32.bat to
run after the install of VS7. That took care of the problem.

Brian

Signature

If televison's a babysitter, the Internet is a drunk librarian who
won't shut up.
-- Dorothy Gambrell (http://catandgirl.com)


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.