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
Mona - 17 Aug 2005 21:05 GMT
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]
> 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
[quoted text clipped - 20 lines]
>
> Jay