View Full Version : do me a favour on "glm",please...

03-10-2003, 07:12 PM
I add glm.cpp and glm.h into my programme,then I compile the glm.cpp but a bug comes out:"fatal error C1010: unexpected end of file while looking for precompiled header directive".This bug points to glm.cpp.I donnot know why it is.Help me,I am a beginner.Thank you.

03-10-2003, 10:49 PM
Hi !

Not sure what your glm file has to do with OpenGL, but try to add:

#include "stdafx.h" at the top of the file

If that doesn't work, uncheck the "Use precompiled header" option for that file.


03-10-2003, 10:52 PM
Right click on the .cpp, select Settings..., change the category to Precompiled Headers, select "Not using precompiled headers".

03-11-2003, 02:02 AM
thank you both!!!As you told me,I have solved the problem.thank you.