Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: [OT] Weird MSVC++ 6.0 /sp5 error when compiling Crafty

Author: David Mitchell

Date: 04:46:23 07/01/04

Go up one level in this thread


On July 01, 2004 at 06:37:52, Peter Skinner wrote:

>I have had some problems compiling the latest version of Crafty, so I thought I
>would re-install MSVC 6.0.
>
>Now when I goto compile Crafty I get this error:
>
>x1.c
>x1.c(1): catastrophic error: could not open source file "stdio.h"
>  #include <stdio.h>
>                    ^
>compilation aborted for x1.c (code 4)
>NMAKE : fatal error U1077: 'xicl6.exe' : return code '0x4'
>Stop.
>Error executing NMAKE.
>
>zzzzzz.exe - 2 error(s), 0 warning(s)
>
>Now I have looked on my system and those two files are not there.. I have tried
>re-installing MSVC 6.0 now 6 times, and it still does not come back.
>
>Does anyone know how to fix this? Or where those two files should be?
>
>Peter

On my MSVC 6.0, stdio.h is in:

C:\Program Files\Microsoft Visual Studio\VC98\Include

Very standard place for it, I believe. I don't have the file, "x1.c", nor do I
believe you'll have that error after you get stdio.h into it's correct drive and
directory.

Check your \Include directory, and if you still can't find the stdio.h file,
just copy it from the CD to your include directory. That should do it.

No idea why it wouldn't copy it there in the first place.

Dave



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.