Fatal Error C1010

Fatal Error C1010

Post by cristian » Wed, 12 Jun 2002 02:34:43

Has anyone already seen the basic adoce example with adoce at the
codeguru.com ()? I was tryng to compile it and found the folowing error:

Fatal Error C1010
unexpected end of file while looking for precompiled header directive
A precompiled header did not contain a precompiled header directive.

Possible causes
Incorrect file specified as a header file.
An include file specified with /Yu (Use Precompiled Header) is not listed in
the source file.

Any ideas? Thanks!!!


Fatal Error C1010

Post by Mel » Wed, 12 Jun 2002 08:10:45

That usually means that precompiled headers are enabled
and that #include <stdafx.h> is missing from the *.cpp
file or is not the first include in the *.cpp file.