Advertisement

error compiling Nehe's lessons

Started by January 15, 2003 10:56 AM
0 comments, last by Riki 22 years, 1 month ago
Can someone help me ? I have just discover nehe''s website and begin to learn OpenGl with his tutorial and i allready encounteren problems during testing the codes of the tutorials. VC++ refused report this compiling error : lesson1.cpp c:\program files\microsoft visual studio\myprojects\essayons\lesson1.cpp(393) : fatal error C1010: unexpected end of file while looking for precompiled header directive Error executing cl.exe. lesson1.obj - 1 error(s), 0 warning(s) Can someone help me to resolve this problem ? Thank you.
You have choosed that u will use precompiled headers in your project.
In this case, u must include the "stdafx.h" file at the beginning of every cpp file.
Or you just disable precompiled headers
PM Times change... Excuse my poor english!

This topic is closed to new replies.

Advertisement