我正在尝试学习OpenGL ES与"OpenGL ES培训课程“( OpenGL ES教程)。我使用OPENGL-ES1.1 WINDOWS PC仿真与visual 2010。我试图使“hello三角”程序变得轻松,并得到9条警告和一个错误:
警告:
#include <stdio.h> skipped when looking for precompiled header use
#include <TCHAR.h> skipped when looking for precompiled header use
#include <GLES/gel.h> skipped when looking for precompiled header use
#include <GLES/gl.h> skipped when looking for precompiled header use
VERTTYPE: macro redefinition
VERTTYPENUM: macro redefinition
myglLoadMatrix: macro redefinition
myglClearColor: macro redefinitionThe error: unexpected end of file while looking for precompiled header. Did you forget to add #include "stdAfx.h" to your source?
)我没有忘记给我的消息来源添加任何内容。这不是我的来源,这是一个你好世界的例子)。
发布于 2010-08-16 19:51:51
好吧,不要犹豫,让它成为你的来源,这是大多数程序开始的方式。
如果您喜欢较慢的构建时间,那么请使用Project + Properties、C/C++、预编译头、Create/Use = Not。环顾四周,找出地势。如果有什么东西看起来很神秘,请按F1键。
https://stackoverflow.com/questions/3496728
复制相似问题