all groups > dotnet sdk > august 2005 >
You're in the

dotnet sdk

group:

Microsoft cl compiler won't find standard header files


Microsoft cl compiler won't find standard header files jayharris NO[at]SPAM gmail.com
8/9/2005 11:07:42 AM
dotnet sdk:
Can anybody help me figure out why my cl compiler (or pre-processor)
can't find the standard header files. For instance, I have a simple C
program:

#include <stdio.h>

void main() {
printf("Hello world\n");
return;
}

I compile it from the directory that it's in with the command: cl
test.c

And I get the following error message:

test.c(1) : fatal error C1083: Cannot open include file: 'stdio.h': No
such file or directory

Anybody know what I can do about this?

Thanks,

Jay
Re: Microsoft cl compiler won't find standard header files Mona
8/17/2005 12:00:00 AM
Hi Jay,

Regarding this issue of getting a Fatal Error : C1083, I would request you
to please go through the following article which gives a woraround of this
error by editing the AUTOEXEC.BAT file to replace the backslash character in
a directory specification with a forward slash character :

[FIX: C1024 or C1083 Error When INCLUDE Set to Root Directory]
http://support.microsoft.com/default.aspx?scid=kb;en-us;97809

Hope this helps.

Best Regards,
Mona [Grapecity]


[quoted text, click to view]

AddThis Social Bookmark Button