what does this error message mean please!

Started by
5 comments, last by csxpcm 22 years, 1 month ago
Dear all, I''m using MS Visual C v6. When I comile my program, I get the following message: c:\tga_loader2\glapp.cpp(194) : fatal error C1010: unexpected end of file while looking for precompiled header directive When i locate the line the error is on, i find its at the bottom of the (.cpp) implementation file. but there is no code on the last line! Ive included the correct header! Any suggestions? Any help is much appreciated!! Thanks in advance!! - Pete
Advertisement
try adding another } at the end
tried that but with no luck :-(
Put

#include "stdafx.h"

at the top of your file.
Your project uses precompiled headers. This error often happens if your .cpp file doesn''t include the according .h file (usually stdafx.h). Just put an #include "stdafx.h" before any other include statement.
Project -> Settings -> C++ ->

and choose "not using precompiled headers".



------
GameDev''er 4 ever.
------GameDev'er 4 ever.
Thankyou!!! everyone!
problem now solved! thanks again!! :-)

This topic is closed to new replies.

Advertisement