Re: Help is needed to compile C program using Visual Studie 2005
- From: wtxwtx@xxxxxxxxx
- Date: 7 Jun 2006 15:37:12 -0700
Hi,
I am still in big trouble failing to generate *.c project for window
32-bit console application.
If I put #include "stdafx.h" in the head, error information is:
Yes, I just use *.c file and there is no *.cpp files in my project.
If I deleted #include "stdafx.h" in the head part, error information
is:
Error 1
fatal error C1853: 'Debug\Filter.pch' precompiled header file is from a
previous version of the compiler, or the precompiled header is C++ and
you are using it from C (or vice
versa) c:\0-filter\newfilter\filter\filter.c 60
The following #include statements are all I attached in my *.c file:
#include <sys/stat.h>
#include <stdio.h>
#include <io.h>
#include <string.h>
#include <iostream.h>
#include <direct.h>
If I commet out all #include statements while keeping #include
"stdafx.h", the same error as without commenting out all include
statements.
What should I do next?
Thank you.
Weng
.
- Follow-Ups:
- Re: Help is needed to compile C program using Visual Studie 2005
- From: David Wilkinson
- Re: Help is needed to compile C program using Visual Studie 2005
- From: mzdude
- Re: Help is needed to compile C program using Visual Studie 2005
- References:
- Help is needed to compile C program using Visual Studie 2005
- From: wtxwtx
- Re: Help is needed to compile C program using Visual Studie 2005
- From: Arnaud Debaene
- Re: Help is needed to compile C program using Visual Studie 2005
- From: wtxwtx
- Help is needed to compile C program using Visual Studie 2005
- Prev by Date: Re: IOCTL_DISK_CREATE_DISK
- Next by Date: Re: Including only once - What is best practice?
- Previous by thread: Re: Help is needed to compile C program using Visual Studie 2005
- Next by thread: Re: Help is needed to compile C program using Visual Studie 2005
- Index(es):
Loading