使用opengl经常会遇到关于stdafx.h的错误 如果在vs的include目录中添加stdafx.h仍然报错 可以考虑将#include <stdafx.h>语句直接注释掉,因为stdafx.h貌似没什么用,不影响程序正常运行